Skip to content

Building Vagrant Boxes

Ryan Parman edited this page May 28, 2018 · 1 revision

Updating your Plug-Ins

This is simply a good thing to do from time to time.

vagrant plugin update

Building Vagrant Boxes

I'm going to assume that you have already:

  1. Installed Packer and its dependencies.
  2. Installed Vagrant and its dependencies.
  3. Installed (and paid for) the virtualization software of your choice.

Build everything

This template has built-in support for VMware. You can build everything at the same time (assuming you have the relevant prerequisites installed) with:

packer build template.json

Build only one

If you only want to build one particular Vagrant box, you can use the --only flag.

# VMware
packer build --only=vmware-vmx template.json
Clone this wiki locally