After releasing vagrant-vcenter the other day (see the blog post here), I decided to put the finishing touches on a Packer plugin I’ve been working on for quite some time.

First of all, what is Packer? As its website says, Packer is a tool for creating identical machine images for multiple platforms from a single source configuration. I use Packer extensively to build Vagrant boxes and templates for my homelab and I decided to build a post-processor plugin to create boxes in the format used by our Vagrant providers, please note that Packer and its post-processors are written in Go (also known as golang) that is completely new to me so the code may look “fugly” :-).

I created two new repositories over at the GoSDDC GitHub page, one contains the Packer post processor: https://github.com/gosddc/packer-post-processor-vagrant-vmware-ovf and another contains the Packer templates I use to build Vagrant boxes (currently Ubuntu and CentOS) https://github.com/gosddc/packer-templates .

Go is a compiled language, hence I’m distributing binaries as well, if you’re not comfortable building Go from source, please head over to the release page for packer-post-processor-vagrant-vmware-ovf and grab the latest release compiled for your platform (currently building for darwin (Mac OS X), Linux, FreeBSD, OpenBSD, NetBSD and Windows).

Fabio Rapposelli Picture

About the author...

  virtualizationvagrant

Comments