Use the makefile to build the drupalbox (virtualbox only):
make drupalbox
Use the makefile to build only one of either virtualbox or vmware:
make virtualbox
make vmware
Note: the vmware build is not actively maintained at this time.
You can also use Packer directly to build the drupalbox:
packer build -var-file=drupalbox/ubuntu.json drupalbox/drupalbox.json
packer build -only=virtualbox-iso -var-file=drupalbox/ubuntu.json drupalbox/drupalbox.json
Both of these approaches run similar commands, but running packer directly gives you the opportunity to use flags to manipulate the build process in a one-off fashion. Try packer --help build
for details, and see the Makefile
for this project's standard usage.
make vagrant-cloud
When Ubuntu releases a new point release of 16.04, the packer build will throw this error:
==> virtualbox-iso: error downloading ISO: [source path error: stat /path/to/devkit/iso/ubuntu-16.04.4-server-amd64.iso: no such file or directory bad response code: 404]
When this happens, you need to update to the new version:
- Open
drupalbox/ubuntu.json
- Visit releases.ubuntu.com/16.04 to find the updated values:
iso_name
: ubuntu-16.04.*-server-amd64.isoiso_url
: http://releases.ubuntu.com/16.04/ubuntu-16.04.*-server-amd64.isoiso_checksum
: find this in the SHA256SUMS file for the current releases