Skip to content
A builder plugin for Packer.io to support building oVirt images
Go Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
builder/ovirt
examples
plugin/builder-ovirt
scripts
.gitignore
.travis.yml
LICENSE
Makefile
README.md

README.md

Build Status

oVirt packer.io builder

This builder plugin extends packer.io to support building images for oVirt.

Development

Prerequisites

To compile this plugin you must have a working Go compiler setup. Follow the official instructions or use your local package manager to install Go on your system.

Compile the plugin

cd $GOPATH
mkdir -p src/github.com/ganto
cd src/github.com/ganto
git clone https://github.com/ganto/packer-builder-ovirt.git
cd packer-builder-ovirt
PACKER_DEV=1 make bin

If the build was successful, you should now have the packer-builder-ovirt binary in your $GOPATH/bin directory.

In order to do a cross-compile, run the following build command:

XC_OS="linux" XC_ARCH="386 amd64" make bin

This builds 32 and 64 bit binaries for Linux. Native binaries will be installed in $GOPATH/bin as above, and cross-compiled ones in the pkg/ directory.

You can’t perform that action at this time.