Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.
  • vagrant-registry - The Vagrant Registry post-processor enables the upload of Vagrant boxes to HCP Vagrant Box Registry.