OpenStack image building automation with veewee.
We will be using the kvm plugin for veewee, so you'll need libvirt installed on the build box.
You'll then need to install rvm and veewee
Then run the following commands:
cd veewee
sed -i 's/kvm/none/' .bundle/config
bundle install
git clone https://github.com/rsoprivatecloud/veewee-definitions definitionsThen you can build images with:
bundle exec veewee kvm build <definition name>Where <definition name> corresponds to a directory in definitions/, e.g., centos-6.3-cloud-init
NB: If you are running veewee in a VM without support for nested kvm, you'll have to use the slower qemu emulation with the following:
bundle exec veewee kvm build --use-emulation <definition name>By default on an Ubuntu system, the images will be output to /var/lib/libvirt/images/<definition name>.qcow2
Magical rainbow unicorns of mystery.