{ "variables": { "iso_url": "https://mirrors.kernel.org/archlinux/iso/2014.02.01/archlinux-2014.02.01-dual.iso", "iso_checksum": "eb4c971c71b505b5c1be25f1710e6579987fda3b", "iso_checksum_type": "sha1" }, "builders": [ { "type": "virtualbox-iso", "iso_url": "{{user `iso_url`}}", "iso_checksum": "{{user `iso_checksum`}}", "iso_checksum_type": "{{user `iso_checksum_type`}}", "guest_os_type": "ArchLinux_64", "guest_additions_mode": "disable", "http_directory": ".", "boot_wait": "5s", "boot_command": [ "", "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/install-virtualbox.sh", "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/poweroff.timer", "/usr/bin/bash ./install-virtualbox.sh" ], "disk_size": 20480, "ssh_username": "root", "ssh_password": "vagrant", "shutdown_command": "systemctl start poweroff.timer" }, { "type": "vmware-iso", "iso_url": "{{user `iso_url`}}", "iso_checksum": "{{user `iso_checksum`}}", "iso_checksum_type": "{{user `iso_checksum_type`}}", "http_directory": ".", "boot_wait": "5s", "boot_command": [ "", "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/install-vmware.sh", "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/poweroff.timer", "/usr/bin/bash ./install-vmware.sh" ], "disk_size": 20480, "ssh_username": "root", "ssh_password": "vagrant", "shutdown_command": "systemctl start poweroff.timer" } ], "post-processors": [ { "type": "vagrant", "output": "packer_arch_{{.Provider}}.box" } ] }