Skip to content

artn/packer-post-processor-ovaexport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

'ovaexport' a Packer Post Processor

This Packer post processor uses the VMware ovftool binaries to export generated VMware vmx files to ova/ovf formats.

Requirements

  1. Packer 0.7.5
  2. Refer to Developing Packer to install the software required to compile this code.
  • If you downloaded and installed the Packer binaries you can stop after installing Gox.
  1. VMware OVFTool insalled and in your search path.

Installation

  1. Run the following:
$ go get github.com/daxgames/packer-post-procesror-ovaexport
$ go install github.com/daxgames/packer-post-processor-ovaexport

Usage

Export type is determined by the target filename extension specified in the Packer template file. As shown below with default values:

  {
    "type": "ovaexport",
    "target": "ova/vmware/rhel-6.6-chef12.0.3.ova",
    "disk_mode": "thick",
    "remove_floppy": "false",
    "remove_optical_drive": "false",
    "remove_ethernet": "false",
    "compress": 9,
    "only": ["vmware-iso"]
  }

Thanks and Credit

Thanks to Mitchell Hashimoto, and others, for Packer and the vsphere post processor on which this code is based.

Thanks to Ian McCracken who wrote packer-post-processor-ovftool. I could not get it to work with the latest Packer 0.7.5 but it inspired me to cobble this together instead.

About

Packer post processor that exports vmware virtual machines to ova files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%