THIS PROJECT IS NOW UNMAINTAINED.
This project is currently not used for Taskotron purposes and is considered dormant. Instead, base_images project is used to generate Taskotron minion images.
This is a proof of concept code, don't rely on this.
Taskotron VM Builder should provide an easy way to create customized virtual machines to be used in Taskotron as disposable clients. The machine will be built according to specified parameters, mainly:
This image can then be snapshotted and used to spawn virtual machines, throwing away any disk changes before each new boot.
If historical images are archived, they can provide a way to have reproducible environment for re-executing tasks.
And then everything from
$ virtualenv --system-site-packages env_vmbuilder $ source env_vmbuilder/bin/activate $ pip install -r requirements.txt
You can generate a simple VM image like this:
$ ./vmbuilder.py templates/f21-minimal.yaml
./vmbuilder.py --help to see full help.
Each VM image is described by its template. You can find some templates
templates/ directory. See
instructions how to define your own template.