# README
packer-post-processor-vagrant-vmware-ovf 
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 tovcloud
orvcenter
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.
# Functions
Copies a file by copying the contents of the file to another place.
DirToBox takes the directory and compresses it into a Vagrant-compatible box.
No description provided by the author
No description provided by the author
WriteMetadata writes the "metadata.json" file for a Vagrant box.
# Constants
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Provider is the interface that each provider must implement in order to package the artifacts into a Vagrant-compatible box.