This project builds /dev/fort Vagrant base boxes using Packer. These boxes should be used when developing on a fort, or when working on any /dev/fort projects. They’re somewhat based on Opscode’s Bento boxes, with a few fort-centric tweaks (and a reduction in scope).
The following Vagrant baseboxes are publicly available and were built using this project. These boxes are provisionerless; Vagrant can be instructed to install Chef at runtime using the vagrant-omnibus plugin (not sure how well this will work on a fort yet).
- devfort-ubuntu-13.04 and devfort-ubuntu-13.04-120gb for VirtualBox
- devfort-ubuntu-13.04 and devfort-ubuntu-13.04-120gb for VMWare
- Install Packer, VirtualBox, and VMWare Fusion
- Run
packer build devfort-boxes.json
to build the baseboxes. This will (eventually) result in a number of.box
files in this directory. - Run
bin/push_to_s3
to upload the boxes tohttp://devfort.s3.amazonaws.com/boxes/
. If you want to upload them elsewhere, you’re on your own (but look ats3_policy.json
,bin/generate_upload_policy
, andbin/push_to_s3
).
Either manually add the boxes to your Vagrant install (vagrant box add <name> <url>
), or specify their URL in your Vagrantfile using config.vm.box_url
.
- Work out how to install Chef on a fort (in lieu of vagrant-omnibus)
- Auto-upload builds using Travis?