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
Alternate networking. If you are using the new build scripts for building OpenXT 6.0 and later, you can add this new container to the private network that those scripts setup. If this is done, skip the network setup instructions on this page. The instructions are here:
Setup NAT networking for container:
...