{ "variables": { "ssh_name": "kappataumu", "ssh_pass": "kappataumu", "hostname": "packer-test" }, "builders": [{ "type": "virtualbox-iso", "guest_os_type": "Ubuntu_64", "vboxmanage": [ ["modifyvm", "{{.Name}}", "--vram", "32"] ], "disk_size" : 10000, "iso_url": "http://ftp.free.fr/mirrors/cdimage.debian.org/debian-cd/8.2.0/amd64/iso-cd/debian-8.2.0-amd64-netinst.iso", "iso_checksum_type": "sha1", "iso_checksum": "a41801dcc0e37bce2406e18b334f99ae366d6fde", "http_directory" : "ubuntu_64", "http_port_min" : 9001, "http_port_max" : 9001, "ssh_username": "{{user `ssh_name`}}", "ssh_password": "{{user `ssh_pass`}}", "ssh_wait_timeout": "20m", "shutdown_command": "echo {{user `ssh_pass`}} | sudo -S shutdown -P now", "boot_command" : [ "", "auto ", "preseed/url=http://192.168.52.152:8000/preseed.cfg ", "" ] }] }