The Vagrant plugin integrates Packer with HashiCorp Vagrant, allowing you to use Packer to create development boxes.
To install this plugin add this code into your Packer configuration and run packer init
packer {
required_plugins {
vagrant = {
version = "~> 1"
source = "github.com/hashicorp/vagrant"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
packer plugins install github.com/hashicorp/vagrant
- vagrant - The Vagrant builder is intended for building new boxes from already-existing boxes.
- vagrant - The Packer Vagrant post-processor takes a build and converts the artifact into a valid Vagrant box.
- vagrant-cloud - The Vagrant Cloud post-processor enables the upload of Vagrant boxes to Vagrant Cloud.
- vagrant-registry - The Vagrant Registry post-processor enables the upload of Vagrant boxes to HCP Vagrant Box Registry.