packer-builder-ovirt

module
v0.0.0-...-b5d9bff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2019 License: MPL-2.0

README

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.

Directories

Path Synopsis
builder
plugin

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL