Skip to content
/ boxes Public

🍱 Vagrant boxes built using Packer

Notifications You must be signed in to change notification settings

twingly/boxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 

Repository files navigation

boxes

Build Vagrant boxes with Packer. Hosted on Vagrant Cloud.

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 Vagrant Cloud.

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://app.vagrantup.com/twingly/boxes/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