Packer
Vagrant
@hashicorp
The Vagrant multi-component plugin can be used with HashiCorp Packer to create custom images.
- Official
Updated 2 years ago
- GitHub(opens in new tab)
Vagrant
The Vagrant plugin integrates Packer with HashiCorp Vagrant, allowing you to use Packer to create development boxes.
Installation
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
Components
Builders
- vagrant - The Vagrant builder is intended for building new boxes from already-existing boxes.
Post-Processor
- 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.