Packer Post Processor to create vagrant-vcloud and vagrant-vcenter compatible boxes.
Go Makefile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
Makefile
README.md
artifact.go
artifact_test.go
main.go
post-processor.go
post-processor_test.go
provider.go
util.go
vmware-ovf.go
vmware-ovf_test.go
vmware-vcenter.go
vmware-vcenter_test.go
vmware-vcloud.go
vmware-vcloud_test.go

README.md

packer-post-processor-vagrant-vmware-ovf Build Status

This packer plugin leverages VMware OVF Tool to create a vmware_ovf Vagrant box that is compatible with vagrant-vcloud, vagrant-vcenter and vagrant-vcloudair, you can find a detailed explanation of the format here on the wiki.

This plugin is used to build the boxes available at https://vagrantcloud.com/gosddc you can find the packer templates here

Prerequisites

Software:

  • VMware OVF Tool

Notes:

  • This post processor only works with the VMware builder.

Installation

Starting from Packer v0.7.0 there are new ways of installing plugins, see the official Packer documentation for further instructions.

Usage

In your JSON template add the following post processor:

  "post-processors": [
    {
        "type": "vagrant-vmware-ovf"
    }
  ]

Other parameters available are:

  • provider: You can override the provider metadata to vcloud or vcenter to build legacy boxes for old vagrant-vcloud and vagrant-vcenter installs.
  • compression: You can set compression of the box with an integer from 0 to 9 (default is 6).

If you don't want to compile the code, you can grab a release here.