Skip to content

Instantly share code, notes, and snippets.

@hytdsh
Last active December 20, 2017 22:38
Show Gist options
  • Save hytdsh/93c5c18d734d01cf9d246ac4b319b25e to your computer and use it in GitHub Desktop.
Save hytdsh/93c5c18d734d01cf9d246ac4b319b25e to your computer and use it in GitHub Desktop.
packertest.json
> type .\packertest.json
{
"builders": [
{
"type": "virtualbox-iso",
"guest_os_type": "Ubuntu_64",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "512"],
["modifyvm", "{{.Name}}", "--boot4", "net"]
],
"vboxmanage_post": [
["modifyvm", "{{.Name}}", "--boot4", "none"]
],
"iso_url": "ubuntu1710mini.iso",
"iso_checksum_type": "sha256",
"iso_checksum": "05db73efd450156d81a519d35bc7b8109101e12d7ee8d49da695778df568cb36",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown now"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment