Build Vagrant boxes with Packer. Hosted on HashiCorp Cloud Platform.
You need to change the working directory
cd freebsd/
Validate
packer validate template.json
Build
packer build template.json
Import the box so you can test it with some existing Vagrantfile
vagrant box add --name "test/freebsd-10.1-amd64" packer_freebsd-10.1-amd64_virtualbox.box
Upload the box to HashiCorp Cloud Platform.
Tag the commit that was used to build the box that was uploaded:
git tag freebsd-10.1-v1.0.0 007ecdb -a
This will open your $EDITOR
, follow this example in the message:
FreeBSD 10.1 v1.0.0
Used to build:
https://portal.cloud.hashicorp.com/vagrant/discover/twingly/freebsd-10.1-amd64/versions/1.0.0
Push the tag:
git push --tags
Install Packer using Homebrew:
brew install packer
Different parts of this repository uses different licenses, see the individual licenses in each subdirectory:
- The FreeBSD box is based on nickchappell/packer-templates.
- The OpenBSD box is based on tmatilai/packer-openbsd.