Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


Sidebar

"One's never alone with a rubber duck. "



Where will you go today?

“Without goals, and plans to reach them, you are like a ship that has set sail with no destination.”
- Fitzhugh Dodson
computers:virtualization:veewee

Veewee

Veewee is a tool used to automagically create virtual machines. Using templates, a virtual machine can easily be made.

These images can be used for vagrant setups.

Tips on creating an image:

Get info

Load commands into console

$ source "$HOME/.rvm/scripts/rvm"

List templates

$ veewee vbox templates

Select which template to use

$ veewee vbox define 'server' 'debian-7-i386-netinstall'

Adjust Config Options

For centos you may need

:vm_options => ["pae" => "on"],

Add this to end of zerodisk.sh as cleanup

rm /home/vagrant/*.sh

Build it

$ veewee vbox build 'webserver' --workdir=/home/user/veewee

Validate it

$ veewee vbox validate 'webserver'

Cleanup

Remove .sh files

$ veewee xbox ssh 'webserver'
<inside box> $ rm /home/vagrant/*.sh

Export (this needs to remove *.sh files)

$ veewee vbox export 'webserver'

Remove box files (not saved box file)

$ veewee vbox destroy 'webserver'
computers/virtualization/veewee.txt · Last modified: Nov 26, 2013 (5 years ago) by Matt Bagley