This repository contains a set of scripts for creating base boxes for usage with vagrant-lxc 1.0+.
I've stepped down as a maintainer of the plugin and I'm no longer maintaining this repo. Feel free to use it as a starting point for your own boxes and if you need any help with that just LMK! 🍻
This fork is still maintained: https://github.com/obnoxxx/vagrant-lxc-base-boxes
- Ubuntu
- Precise 12.04 x86_64
- Quantal 12.10 x86_64
- Raring 13.04 x86_64
- Saucy 13.10 x86_64
- Trusty 14.04 x86_64
- Debian
- Squeeze x86_64
- Wheezy x86_64
- Jessie x86_64
- Sid x86_64
- CentOS
- 6 x86_64
In order to build the boxes you need to have the lxc-download
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 /usr/share/lxc/templates
).
git clone https://github.com/fgrehm/vagrant-lxc-base-boxes.git
cd vagrant-lxc-base-boxes
make precise
By default no provisioning tools will be included but you can pick the ones you want by providing some environmental variables. For example:
PUPPET=1 CHEF=1 SALT=1 BABUSHKA=1 \
make precise
Will build a Ubuntu Precise x86_64 box with latest Puppet, Chef, Salt and Babushka pre-installed.
NOTE: None of the base boxes below have a provisioner pre-installed
Distribution | VagrantCloud box |
---|---|
Ubuntu Precise 12.04 x86_64 | fgrehm/precise64-lxc |
Ubuntu Trusty 14.04 x86_64 | fgrehm/trusty64-lxc |
Debian Wheezy 7 x86_64 | fgrehm/wheezy64-lxc |
Debian Jessie 8 x86_64 | glenux/jessie64-lxc |
CentOS 6 x86_64 | fgrehm/centos-6-64-lxc |
- We can't get the NFS client to be installed on the containers used for building Ubuntu 13.04 / 13.10 / 14.04 base boxes.
- Puppet can't be installed on Debian Sid
- Salt can't be installed on Ubuntu 13.04