Skip to content

Instantly share code, notes, and snippets.

@Jazzo
Last active February 3, 2018 10:16
Show Gist options
  • Save Jazzo/f55b7addb858b49ac947ad0c8e4cbd16 to your computer and use it in GitHub Desktop.
Save Jazzo/f55b7addb858b49ac947ad0c8e4cbd16 to your computer and use it in GitHub Desktop.
# Create base box Debian 8.10 amd64
git clone https://github.com/Jazzo/packer-templates.git
cd packer-templates
packer build -only=virtualbox-iso -var compression_level=6 -var disk_size=8000 -var memory=2048 debian-8.10-amd64.json
# Add box to Vagrant base boxes
vagrant box add debian-8.10-amd64-virtualbox.box --name debian-8.10-amd64
# remove the box created from Packer
rm debian-8.10-amd64-virtualbox.box
# check the vagrant box list
virtual box list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment