In his blog, Nigel McNie provides a nice hands-on introduction to LXC. Along with this, he provides us with a set of scripts that do the work quite nicely. I cloned that repository and added a script for Ubuntu Lucid. It’s quite handy to me, supposedly also for somebody else out there?
A git repository is available at GitHub: http://github.com/phbaer/lxc-tools