In Debian Squeeze, the default lxc-debian
script installs a Lenny container. The bug was reported and fixed in version 0.7.4 of LXC.
To install Squeeze container first download Syd’s version of LXC (currently 0.7.5-1), unpack it and find the lxc-debian file (lxc_0.7.5-1_amd64.deb —> data.tar.gz -> /usr/lib/lxc/templates/lxc-debian). Copy the file to your machine/server, make it executable and in the same folder run:
./lxc-debian -p /var/lib/lxc/name_of_container
Useful resource:
blog.foaa.de/2010/05/lxc-on-debian-squeeze