Skip to content

Instantly share code, notes, and snippets.

@dlovell
Last active December 23, 2015 01:59
Show Gist options
  • Save dlovell/6564381 to your computer and use it in GitHub Desktop.
Save dlovell/6564381 to your computer and use it in GitHub Desktop.
vmware packer config json file that works for ubuntu-13.04
{
"builders": [{
"type": "vmware",
"iso_url": "http://releases.ubuntu.com/13.04/ubuntu-13.04-server-amd64.iso",
"iso_checksum": "7d335ca541fc4945b674459cde7bffb9",
"iso_checksum_type": "md5",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"shutdown_command": "echo vagrant | sudo -S shutdown -P now",
"disk_size": 8000,
"boot_command": [ "<esc><esc><enter><wait>", "/install/vmlinuz noapic ", "preseed/url=http://gist.github.com/Josiah/6005339/raw/2a13d3839818848b5d7e802c08aa29986bd5a150/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 -- <enter>" ]
}]
}
@dlovell
Copy link
Author

dlovell commented Sep 15, 2013

Alternative for 12.04.2:

"iso_url": "http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04.2-server-amd64.iso",
"iso_checksum": "af5f788aee1b32c4b2634734309cc9e9",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment