|40c7fda267||5 years ago|
|centos||7 years ago|
|common||5 years ago|
|conf||5 years ago|
|debian||5 years ago|
|fedora||5 years ago|
|gentoo||5 years ago|
|.gitignore||7 years ago|
|CHANGELOG.md||9 years ago|
|LICENSE.txt||9 years ago|
|Makefile||5 years ago|
|README.md||5 years ago|
|build-openmandriva-box.sh||9 years ago|
|clean.sh||9 years ago|
|mk-centos.sh||9 years ago|
|mk-debian.sh||7 years ago|
|mk-fedora.sh||7 years ago|
|mk-gentoo.sh||5 years ago|
vagrant-lxc base boxes
This repository contains a set of scripts for creating base boxes for usage with vagrant-lxc 1.4+.
What distros / versions can I build with this?
- Xenial 16.04 x86_64
- Stretch x86_64
- Sid x86_64
- 23 x86_64
- rawhide x86_64
- 7 x86_64
This is a fork of
obnoxxx/vagrant-lxc-base-boxes which itself was a fork for
fgrehm/vagrant-lxc-base-boxes. The goal is to make LXC box generation work for LXC 3.0+. The
repo is not in top shape, but it works
make stretch (which is what I use myself).
It should be easy enough for you to add support for distros you use (PR welcome).
Building the boxes
In order to build the boxes you need to have the
template available on your machine. If you don't have one around please
create one based on this
and drop it on your lxc templates path (usually
git clone https://github.com/hsoft/vagrant-lxc-base-boxes.git cd vagrant-lxc-base-boxes make stretch
By default no provisioning tools will be included but you can pick the ones you want by providing some environmental variables. For example:
ANSIBLE=1 PUPPET=1 CHEF=1 \ make stretch
Will build a Debian Stretch x86_64 box with latest Ansible, Puppet and Chef pre-installed.
When using ANSIBLE=1, an optional ANSIBLE_VERSION parameter may be passed that will specify which version of ansible to install. By default it will install the latest Ansible.
Additional packages to be installed can be specified with the ADDPACKAGES variable:
ADDPACKAGES="aptitude htop" \ make xenial
Will build a Ubuntu Xenial x86_64 box with aptitude and htop as additional packages pre-installed. You can also specify the packages in a file xenial_packages.
Note: ADDPACKAGES is currently only implemented for flavors of debian.
Pre built base boxes
There are no pre-built base boxes for this repo. You have to build them yourself.