This repository includes a Packer build script for creating Ubuntu boxes for Vagrant.
Boxes built with this build script are published at atlas.hashicorp.com.
- Virtualbox
- VMWare Desktop/Workstation/Fusion
$ packer build ubuntu1404.json
...
...
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: packer_virtualbox-iso_virtualbox.box
--> vmware-iso: 'vmware' provider box: packer_vmware-iso_vmware.box
Build a single provider:
$ packer build --only=virtualbox-iso ubuntu1404.json
...
...
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: packer_virtualbox-iso_virtualbox.box
$ packer build --only=vmware-iso ubuntu1404.json
...
...
==> Builds finished. The artifacts of successful builds are:
--> vmware-iso: 'vmware' provider box: packer_vmware-iso_vmware.box
To import a built box into Vagrant:
$ vagrant box add --name=cloudhotspot/ubuntu <box-file>