If you want to play with LXC on nova, here is how you do it. Before setting up LXC with nova you have to enable cgroups:

sudo mkdir /cgroup
sudo mount none -t cgroup -o cpuacct,memory,devices,cpu,freezer,blkio  /cgroup

And add to your /etc/fstab

none /cgroup cgroup cpuacct,memory,devices,cpu,freezer,blkio   0 0

Note: You will need to download a newer version of libvirt 0.8.8.

Bundle your image as you normally would:

euca-bundle-image -i natty-amd64.img
euca-upload-bundle -b mybucket -m /tmp/natty-amd76.img
euca-register mybucket/natty-amd64.img.manifest.xml

Wiki: LXC (last edited 2011-06-08 11:55:04 by Jb boin)