Skip to content

Instantly share code, notes, and snippets.

@lorentzca
Created January 7, 2016 02:03
Show Gist options
  • Save lorentzca/6110a7467a09b34ef9d4 to your computer and use it in GitHub Desktop.
Save lorentzca/6110a7467a09b34ef9d4 to your computer and use it in GitHub Desktop.
Create a Vagrant Box from an existing Virtualbox image
{
"builders": [
{
"type": "virtualbox-ovf",
"source_path": "my_box.ova",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -h now"
}
],
"post-processors": [
{
"type": "vagrant",
"output": "my_box.box"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment