Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 2.04 KB

README.md

File metadata and controls

27 lines (18 loc) · 2.04 KB

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).

Current boxes

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).

Getting Started

  1. Install Packer, VirtualBox, and VMWare Fusion
  2. Run packer build devfort-boxes.json to build the baseboxes. This will (eventually) result in a number of .box files in this directory.
  3. Run bin/push_to_s3 to upload the boxes to http://devfort.s3.amazonaws.com/boxes/. If you want to upload them elsewhere, you’re on your own (but look at s3_policy.json, bin/generate_upload_policy, and bin/push_to_s3).

Using the boxes

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.

Todo

  • Work out how to install Chef on a fort (in lieu of vagrant-omnibus)
  • Auto-upload builds using Travis?