Skip to content

Instantly share code, notes, and snippets.

@muratayusuke
Last active January 3, 2016 20:19
Show Gist options
  • Save muratayusuke/8514163 to your computer and use it in GitHub Desktop.
Save muratayusuke/8514163 to your computer and use it in GitHub Desktop.
{
"builders":[{
"type": "virtualbox-iso",
"guest_os_type": "Ubuntu_64",
"iso_url": "http://ubuntutym2.u-toyama.ac.jp/ubuntu//saucy/ubuntu-13.10-server-amd64.iso",
"iso_checksum": "4d1a8b720cdd14b76ed9410c63a00d0e",
"iso_checksum_type": "md5",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "3000s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -h now",
"vm_name": "box",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"4"
]
],
"http_directory": "./",
"boot_wait": "10s",
"boot_command":[
"<esc></esc><esc><enter><wait>",
"/install/vmlinuz noapic ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us ",
"hostname={{ .Name }} ",
"netcfg/choose_interface=eth1 <wait>",
"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 -- ",
"<enter><wait>"
]
}],
"post-processors": [
{
"type": "vagrant",
"output": "./ubuntu-13.10-server-amd64.box"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment