lxcloop is a set of scripts to easily deploy and maintain up to a few hundreds of LXC unprivileged containers from the command line.
It has been developed for the practical sessions of a sysadmin course to provide each student their own server with root access and public IPv6 address.
In such situation, the containers play a symmetric role, so that we want to easily run the same actions on each container, and get feedback, including grading.
There is no inventory, the containers are created on the fly (when the student sends her SSH public key) and identified with the student's academic email adresses. The public IPv6 address of the container is obtained from this identity thanks to the birthday paradox and the huge IPv6 address space.
To get a copy of the project, run:
git clone --branch main https://lxcloop.metelu.net/lxcloop.git