Giter Site home page Giter Site logo

ligurio / openvz-packer-templates Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 4.0 40 KB

Vagrant boxes for Virtuozzo and OpenVZ

Home Page: https://app.vagrantup.com/OpenVZ

License: ISC License

Shell 100.00%
packer-template openvz virtuozzo vagrant-boxes

openvz-packer-templates's Introduction

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.

openvz-packer-templates's People

Contributors

legal90 avatar ligurio avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

openvz-packer-templates's Issues

Virtuozzo 6.0 authorized_keys file is empty in instance created by parallels provider

I just created a Virtuozzo 6.0 instance using the parallels provider and I am seeing the following errors:

    server01: SSH address: 10.211.55.8:22
    server01: SSH username: vagrant
    server01: SSH auth method: private key
    server01: Warning: Connection refused. Retrying...
    server01: Warning: Authentication failure. Retrying...
    server01: Warning: Authentication failure. Retrying...
    server01: Warning: Authentication failure. Retrying...

I think its because the authorized_keys for the vagrant user in .ssh is empty.

Is this something you could help with, please?

Can't use 192.168.33.10

config.vm.network "private_network", ip: "192.168.33.10"

15:40:20 test 52:552$ vagrant up
Bringing machine 'default' up with 'parallels' provider...
==> default: Registering VM image from the base box 'Virtuozzo/Virtuozzo-6.0'...
==> default: Cloning new virtual machine...
==> default: Unregistering the box VM image...
==> default: Setting the default configuration for VM...
==> default: Checking if box 'Virtuozzo/Virtuozzo-6.0' is up to date...
==> default: Setting the name of the VM: test_default_1461706846509_39884
==> default: Fixed port collision for 22 => 2222. Now on port 2201.
The specified host network collides with a non-hostonly network!
This will cause your specified IP to be inaccessible. Please change
the IP or name of your host only network so that it no longer matches that of
a bridged or non-hostonly network.

I also have virtualbox installed, so its possible this might be a conflict between parallels and virtualbox. But not sure. Also, my home wifi IP is in the 192.168.1.* range.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.