[Lxc-users] lxc configuration bug

Papp Tamas tompos at martos.bme.hu
Fri Feb 22 14:31:22 UTC 2013


On 02/22/2013 03:22 PM, Serge Hallyn wrote:
>
>
> About what?  What I described above should work.

Yes, that's correct.
It doesn't (at least for me) that's why it is a bug, I guess;)

> Note also that the staging branch now supports '-P|--lxcpath' for all
> commands, so you could simply
>
> 	sudo lxc-create -t ubuntu -n r1 -P /data/lxc
> 	sudo lxc-start -n r1 -P /data/lxc
>
> or for that matter
> 	cat >> /etc/lxc/lxc.conf << EOF
> 	lxcpath=/data/lxc
> 	EOF
> 	sudo lxc-create -t ubuntu -n r1
> 	sudo lxc-start -n r1

Sounds good. I'll check it.

> The only thing not yet merged is support in the cgroup code for being
> able to run containers named r1, at the same time, from multiple
> lxcpaths.

It's not a good idea anyway.


Thanks,
tamas




More information about the lxc-users mailing list