Skip to content

bcorner13/packer-post-processor-vagrant-vmware-ovf

 
 

Repository files navigation

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.

About

Packer Post Processor to create vagrant-vcloud and vagrant-vcenter compatible boxes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.7%
  • Makefile 13.3%