Veewee is a tool to help create VirtualMachines (VMs) in a automated way, based on Templates. It's developed in Ruby and allows to create vagrant boxes, virtualbox, KVM and VMWare images.
On this example, I'm going to create a VM to work with Vagrant and it will be based on Debian 6 AMD64 ( Debian-6.0.5-amd64-netboot ).
- Ruby 1.9.2 - I recommend you install it using RVM
First step, cloning the repository:
git clone https://github.com/jedi4ever/veewee.git cd veewee gem install bundler bundle install
In the veewee/templates folder, you can find a list of all available templates for your virtual machines.
$ veewee vbox define 'debian605' 'Debian-6.0.5-amd64-netboot' The basebox 'debian605' has been succesfully created from the template 'Debian-6.0.5-amd64-netboot' You can now edit the definition files stored in definitions/debian605 or build the box with: veewee vbox build 'debian605'
With the template for your VM ready, you can edit the installation files in the definitions/debian605 folder. When you ready, just the "build" command and wait:
veewee vbox build 'debian605'
This should take around 10-15minutes depending on your machine and connection.
Veewee also as Tests, to verify you VM.
veewee vbox validate 'debian605'
After this, your VM is ready to be exported
vagrant basebox export 'debian605'
And now you have a box ready to use with Vagrant.