openruko/dynohost — pull request #8 by maxired (2012-12-05 16:40:33+00:00)
Title: Openruko - Using a full ubuntu OS

Hi,

if your are interested, I setuped a version using a full Ubuntu OS inside the container.
With this approach , the rootfs is not shared between the host and the container.

The different instances of the container use the same folder for /bin /usr and so on.

Because we setup a full linux, we need the /sbin/init to be launched : we cannot give the command in the lxc-start command.
For this, I created a new upstart file '/etc/init/openrukolaunch.conf' inside the lxc-container.

The only thing needed is to launch a dhcp server for providing an IP address to the container.

```bash
sudo dhcpd -f
```
Here is what is setted in my DHCP configuration file /etc/dhcp/dhcpd.conf

```bash
DHCPDARGS=lxcbr0;

subnet 10.0.3.0 netmask 255.255.255.0 {
range 10.0.3.10 10.0.3.80;
option routers 10.0.3.1;
}
```

The main goal of all this is to ahve a better isolation of the host and the container.
Please let me know if you like this approach, and if you like it, in which direction you want to go next.