Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

ligurio/openvz-packer-templates

Repository files navigation

OpenVZ packer templates

Packer templates for building base OpenVZ and Virtuozzo VM boxes.

Usage

Installing Packer

Download the latest packer and unzip the appropriate directory.

If you're using Homebrew:

$ brew tap homebrew/binary
$ brew install packer

Running Packer

$ git clone https://github.com/ligurio/openvz-packer-templates
$ packer build virtuozzo-7.0.json

If you want to build only VirtualBox:

$ packer build -only=virtualbox-iso virtuozzo-7.0.json

The result box will be available in builds/ directory.

Virtuozzo 7.0 Beta 2

By default the box virtuozzo-7.0 will be built using the ISO from the latest released milestone of Virtuozzo 7.0. At this moment it is 7.0-beta1 If you want to build the box virtuozzo-7.0 from the current factory ISO build, you should override iso_url and iso_checksum variables, for example:

$ export VZ_FACTORY_URL=https://download.openvz.org/virtuozzo/factory/x86_64/iso/factory-DVD && \
  export VZ_FACTORY_CHECKSUM=`curl --silent https://download.openvz.org/virtuozzo/factory/x86_64/iso/factory-CHECKSUM | grep DVD | awk '{print $1}'`

$ packer build -var "iso_url=${VZ_FACTORY_URL}" -var "iso_checksum=${VZ_FACTORY_CHECKSUM}" virtuozzo-7.0.json

Using Vagrant box

$ vagrant init OpenVZ/Virtuozzo-7
$ vagrant up --provider virtualbox
$ vagrant ssh

Supported versions

This templates was tested using a packer 0.8.1.

Releases

No releases published

Packages

No packages published

Languages