Skip to content

Latest commit

 

History

History
67 lines (39 loc) · 1.6 KB

README.md

File metadata and controls

67 lines (39 loc) · 1.6 KB

boxes

Build Vagrant boxes with Packer. Hosted on HashiCorp Cloud Platform.

Build a box

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

Release a 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

Getting started

Install Packer using Homebrew:

brew install packer

License

Different parts of this repository uses different licenses, see the individual licenses in each subdirectory:

Credits