Go to file
Michael Adam 58367598e6 TODO centos: support centos 7
Caveat: I needed add an ifup call to the install-extras script,
because without it, the container wouldn't start the dhcp client
on the network. This fix feels wrong but seems to give at least
some improvement.

special config for centos 7 - for systemd...
2015-12-07 15:02:21 +01:00
centos TODO centos: support centos 7 2015-12-07 15:02:21 +01:00
common TODO centos: support centos 7 2015-12-07 15:02:21 +01:00
conf TODO centos: support centos 7 2015-12-07 15:02:21 +01:00
debian debian: On my fedora host, I need more seconds for my network to have come up. 2015-12-07 10:44:06 +01:00
fedora fedora: add option MASK_TMP to prevent overmounting /tmp with tmpfs 2015-12-07 10:44:06 +01:00
.gitignore Import from vagrant-lxc 2014-03-25 00:27:48 -03:00
build-openmandriva-box.sh Import from vagrant-lxc 2014-03-25 00:27:48 -03:00
CHANGELOG.md Remove DHCP leases before packaging 2014-09-23 00:30:38 -03:00
clean.sh Import from vagrant-lxc 2014-03-25 00:27:48 -03:00
LICENSE.txt Import from vagrant-lxc 2014-03-25 00:27:48 -03:00
Makefile TODO centos: support centos 7 2015-12-07 15:02:21 +01:00
mk-centos.sh CentOS scripts 2014-09-24 12:16:20 -03:00
mk-debian.sh CentOS scripts 2014-09-24 12:16:20 -03:00
mk-fedora.sh Add support to set up fedora boxes. 2015-12-07 10:44:06 +01:00
README.md Update README with newly supported distros/versions. 2015-12-07 10:44:06 +01:00

vagrant-lxc base boxes

This repository contains a set of scripts for creating base boxes for usage with vagrant-lxc 1.0+.

⚠️ Deprecated ⚠️

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

What distros / versions can I build with this?

  • 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
    • Utopic 14.10 x86_64
    • Vivid 15.04 x86_64
  • Debian
    • Squeeze x86_64
    • Wheezy x86_64
    • Jessie x86_64
    • Sid x86_64
  • Fedora
    • 19 x86_64
    • 20 x86_64
    • 21 x86_64
    • 22 x86_64
    • 23 x86_64
    • rawhide x86_64
  • CentOS
    • 6 x86_64

Building the boxes

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.

Pre built base boxes

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

What makes up for a vagrant-lxc base box?

See vagrant-lxc/BOXES.md

Known issues

  • 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