This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for Ubuntu Xenial Beta 2.
This is the final beta of Xenial which is expected to be released on 21st April 2016. See: https://marc.ttias.be/ubuntu-announce/2016-03/msg00000.php
- Loading branch information
1 parent
35c0278
commit e53e723
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"provisioners": [ | ||
{ | ||
"type": "shell", | ||
"scripts": [ | ||
"scripts/postinstall.sh", | ||
"scripts/vmtools.sh", | ||
<%- @scripts.each do |script| -%> | ||
"scripts/<%= script %>", | ||
<%- end -%> | ||
"scripts/purge.sh" | ||
], | ||
"execute_command": "echo 'vagrant' | {{ .Vars }} sudo -E -S bash '{{ .Path }}'" | ||
} | ||
], | ||
|
||
"builders": [ | ||
{ | ||
"name": "<%= @name %>", | ||
"type": "<%= @provider %>-iso", | ||
<%- if @provider == "vmware" -%> | ||
"guest_os_type": "ubuntu-64", | ||
"tools_upload_flavor": "linux", | ||
<%- else -%> | ||
"guest_os_type": "Ubuntu_64", | ||
<%- end -%> | ||
"headless": true, | ||
|
||
"iso_url": "http://releases.ubuntu.com/16.04/ubuntu-16.04-beta2-server-amd64.iso", | ||
"iso_checksum": "0f948fea5a587a62a873d2c001948a6ffbda20b67b05a468006caf9dfd41bcd7", | ||
"iso_checksum_type": "sha256", | ||
|
||
"ssh_username": "vagrant", | ||
"ssh_password": "vagrant", | ||
"ssh_timeout": "15m", | ||
|
||
"http_directory": "templates/ubuntu", | ||
|
||
"boot_command": [ | ||
"<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", | ||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", | ||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", | ||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>", | ||
"/install/vmlinuz noapic ", | ||
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ", | ||
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us ", | ||
"hostname={{ .Name }} ", | ||
"fb=false debconf/frontend=noninteractive ", | ||
"keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA ", | ||
"keyboard-configuration/variant=USA console-setup/ask_detect=false ", | ||
"grub-installer/bootdev=/dev/sda ", | ||
"initrd=/install/initrd.gz -- <enter>" | ||
], | ||
|
||
"shutdown_command": "echo 'shutdown -P now' > shutdown.sh; echo 'vagrant'|sudo -S sh 'shutdown.sh'" | ||
} | ||
], | ||
|
||
"post-processors": [ | ||
{ | ||
"type": "vagrant" | ||
} | ||
] | ||
} |