Matt Fiddles

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

User Tools

Site Tools


Sidebar

"`We've got to find out what people want from fire, how they relate to it, what sort of image it has for them.'
The crowd were tense. They were expecting something wonderful from Ford.
`Stick it up your nose,' he said.
`Which is precisely the sort of thing we need to know,' insisted the girl, `Do people want fire that can be fitted nasally?'"

- Ford "debating" what to do with fire with a marketing girl.



Where will you go today?

"Beware of the dark side. Anger...fear...aggression. The dark side of the Force are they. Easily they flow, quick to join you in a fight."

- Yoda
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