Skip to content

A builder plugin for Packer.io to support building oVirt images

License

Notifications You must be signed in to change notification settings

ganto/packer-builder-ovirt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A builder plugin for Packer.io to support building oVirt images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages