2014-03-25 03:26:19 +00:00
|
|
|
# vagrant-lxc base boxes
|
|
|
|
|
|
|
|
This repository contains a set of scripts for creating base boxes for usage with
|
|
|
|
[vagrant-lxc](https://github.com/fgrehm/vagrant-lxc) 1.0+.
|
|
|
|
|
|
|
|
## What distros / versions can I build with this?
|
|
|
|
|
|
|
|
* Ubuntu
|
2014-03-27 22:31:06 +00:00
|
|
|
- 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
|
2014-03-25 03:26:19 +00:00
|
|
|
* Debian
|
2014-03-27 22:31:06 +00:00
|
|
|
- Squeeze x86_64
|
|
|
|
- Wheezy x86_64
|
|
|
|
- Jessie x86_64
|
|
|
|
- Sid x86_64
|
2014-03-25 03:26:19 +00:00
|
|
|
|
|
|
|
## Building the boxes
|
|
|
|
|
2014-03-27 13:14:13 +00:00
|
|
|
_In order to build the boxes you need to have the `lxc-download`
|
2014-03-27 22:33:02 +00:00
|
|
|
template available on your machine. If you don't have one around please
|
2014-03-27 13:13:48 +00:00
|
|
|
create one based on [this](https://github.com/lxc/lxc/blob/master/templates/lxc-download.in)
|
2014-03-27 13:14:13 +00:00
|
|
|
and drop it on your lxc templates path (usually `/usr/share/lxc/templates`)._
|
2014-03-27 13:13:48 +00:00
|
|
|
|
2014-03-25 03:26:19 +00:00
|
|
|
```sh
|
|
|
|
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:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
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
|
|
|
|
|
2014-03-27 22:33:02 +00:00
|
|
|
_**NOTE:** None of the base boxes below have a provisioner pre-installed_
|
|
|
|
|
2014-03-27 22:31:33 +00:00
|
|
|
| Distribution | VagrantCloud box |
|
|
|
|
| ------------ | ---------------- |
|
|
|
|
| Ubuntu Precise 12.04 x86_64 | [fgrehm/precise64-lxc](https://vagrantcloud.com/fgrehm/precise64-lxc) |
|
|
|
|
| Ubuntu Raring 13.04 x86_64 | [fgrehm/raring64-lxc](https://vagrantcloud.com/fgrehm/raring64-lxc) |
|
|
|
|
| Ubuntu Saucy 13.10 x86_64 | [fgrehm/saucy64-lxc](https://vagrantcloud.com/fgrehm/saucy64-lxc) |
|
|
|
|
| Debian Wheezy 7 x86_64 | [fgrehm/wheezy64-lxc](https://vagrantcloud.com/fgrehm/wheezy64-lxc) |
|
|
|
|
|
2014-03-25 03:26:19 +00:00
|
|
|
|
|
|
|
## What makes up for a vagrant-lxc base box?
|
|
|
|
|
|
|
|
See [vagrant-lxc/BOXES.md](https://github.com/fgrehm/vagrant-lxc/blob/master/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 Ubuntu 14.04 / Debian Sid
|
|
|
|
* Salt can't be installed on Ubuntu 13.04
|