...
Install Git
$ apt-get install git
If you are using Ubuntu 14.04 or above, you'll also need the package `lxc-templates`.
Clone openxt.git
The first build scripts exist in openxt.git (along with this README.md file), so clone that:
...
Note |
---|
setup.sh will install the Linux containers package (lxc) and use it to create containers that will become potentially quite big (a whole build can take almost 100GB of disk space (without the WIndows VM)). By default, lxc creates all the containers in /var/lib/lxc. If the partition for that directory is too small, the build will fail. To change the location of the containers to, for example, /home/lxc, do the following (as root): $ apt-get install lxc $ echo "lxc.lxcpath = /home/lxc" > /etc/lxc/lxc.conf Also, make sure that the lxc.lxcpath exists. |
Note |
---|
If using Debian Buster (10), make sure your kernel is booted with the option " For more information, see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875981 |
Run the following as root
or with sudo
:
...
Note |
---|
If you want your setup to include a Windows VM, use the -w options, as documented below. As |
...