Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Adds support for Ubuntu Xenial Beta 2.
Browse files Browse the repository at this point in the history
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
nickcharlton committed Mar 26, 2016
1 parent 35c0278 commit e53e723
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions templates/ubuntu/xenial64.erb
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"
}
]
}

0 comments on commit e53e723

Please # to comment.