From 221c2064b1e5d638991ffcd4af2630a140b7c191 Mon Sep 17 00:00:00 2001 From: Lei Xu Date: Thu, 7 Nov 2013 12:56:09 -0600 Subject: [PATCH] * virtualbox --- templates/ubuntu.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/templates/ubuntu.json b/templates/ubuntu.json index 9ca49b2..2e1e3ce 100644 --- a/templates/ubuntu.json +++ b/templates/ubuntu.json @@ -22,6 +22,29 @@ "ssh_wait_timeout": "20m", "ssh_username": "vagrant", "ssh_password": "vagrant" + }, + { + "type": "virtualbox", + "iso_url": "http://releases.ubuntu.com/saucy/ubuntu-13.10-server-amd64.iso", + "iso_checksum": "2bead0f1f451734461ff88f913f4b02ba9e873b15f097a5c231bdb3763ea42e3", + "iso_checksum_type": "sha256", + "boot_wait": "5s", + "boot_command": [ + "", + "/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 ", + "initrd=/install/initrd.gz -- " + ], + "http_directory": "http", + "shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now", + "ssh_wait_timeout": "20m", + "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", + "virtualbox_version_file": ".vbox_version", + "ssh_username": "vagrant", + "ssh_password": "vagrant" } ], @@ -34,6 +57,9 @@ "scripts": [ "scripts/vmware.sh" ] + }, + "virtualbox": { + "script": "/usr/bin/true" } } }