Last active
February 3, 2018 10:16
-
-
Save Jazzo/f55b7addb858b49ac947ad0c8e4cbd16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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