Sorry about the delay... 

If you want to try out the files with my
changes, you can download from here:


http://manny.freebits.com.ar/lxc-debian-wheezy-2.tar.gz 

I shipped in
there Rob's template file for wheezy with some minor changes by me,
lxc-create also with some changes, and the diff files of these files
against the original ones (the lxc debian package in the case of
lxc-create, and Rob's template in the other). 

Bear in mind that in
order for my change to work properly you have to add a line like this in
/etc/default/lxc: 

LXC_DIRECTORY="/srv/lxc" 

(change this path to lxc
where container's files are according to your setup) 

To create a
container you may use: 

lxc-create -n mycontainer1 -t debian-wheezy


or 

lxc-create -n mycontainer2 -t debian-wheezy -B lvm --lvname
mycontainer2-diskpart --vgname vg0 --fstype ext4 --fssize 512M 

To
start: lxc-start -n mycontainer1 -d 

It may take a bit to start due to
dhcp client. You can avoid this by setting a fixed ip address in
/etc/network/interfaces for the container itself. 

To enter the
console: lxc-console -n mycontainer1 

To exit the console: ctrl+a q


With these files I've been able to create both types of containers:
normal and lvm-backend based and they work properly. 

Hope it helps
until we get to the real fix. 

Cheers, 

Gustavo 

Reply via email to