NOTE: This is not an officially supported build environment. It is a rundown on how to get something like this to work. Maybe someday we can fully support it...
...
sudo MIRROR=http://mirror.steadfast.net/debian lxc-create -n openxt-buildvm-i386 -t debian -- --arch i386 --release squeeze
# You can override the default path for containers in 2 ways
# First by creating /etc/lxc/lxc.conf and setting a path of the form: lxc.lxcpath = <path>
# Or by overriding it during lxc-create (note that if you do this all other command must also use the -P <path> that is used here):
sudo MIRROR=http://mirror.steadfast.net/debian lxc-create -n openxt-buildvm-i386 -P <path> -t debian -- --arch i386 --release squeeze
Setup NAT networking for container:
...