Showcase of examples demonstrating building Ubuntu base boxes with Packer.
These examples have been tested on Mac OS X. The following packages should be installed:
- VMware Fusion
- Packer >= 0.8.6
- Vagrant >= 1.7.4
To install Packer 0.8.6, open Terminal and run:
Packer will be installed to
The installation script will not add Packer to the PATH.
/usr/local/packer/packer build <precise64|raring64|saucy64|trusty64>.json
Building for only VirtualBox:
/usr/local/packer/packer build -only=virtualbox <precise64|raring64|saucy64|trusty64>.json
Building for only VMware:
/usr/local/packer/packer build -only=vmware <precise64|raring64|saucy64|trusty64>.json
Starting the base box using Vagrant
vagrant up <precise64|raring64|saucy64|trusty64>
With VMware Fusion
vagrant up <precise64|raring64|saucy64|trusty64> --provider=vmware_fusion
To remove boxes that were created when Vagrant was launched. Open Terminal and run:
Note! This will remove existing boxes with the same names as in these examples.