doc/definition.md in veewee-0.3.0.alpha9 vs doc/definition.md in veewee-0.3.0.beta1
- old
+ new
@@ -1,14 +1,18 @@
# Veewee definition
## Creating a definition
-A definition is create be 'cloning' a *template*.
+A definition is created by 'cloning' a *template*.
To create a definition you use the 'define' subcommand:
veewee vbox define 'myubuntu' 'ubuntu-10.10-server-amd64'
+If you want to use an external repo for the definition you can specify a git-url
+
+ veewee vbox define 'myubuntu' 'git://github.com/jedi4ever/myubuntu'
+
## Modifying a definition
Definitions are stored under a directory 'definitions' relative to the current directory.
<currentdir>
|- <definitions>
@@ -46,9 +50,12 @@
'Postinstall_files' prefixed with an _underscore_ are not executed but can be toggled with the --include, --exclude with the <build> command. This allows you to insert different ruby.sh scripts, disable the installation of puppet, etc...
The default user of definitions is now 'veewee' and not 'vagrant'. This is because on other virtualizations like fusion and kvm, there is not relationship with the 'vagrant'. Users 'vagrant' are created by the 'vagrant.sh' script and not by the preseed or kickstart.
+_Using ERB in files_
+
+Add '.erb' to your files in a definition and they will get rendered (useful for generting kickstart,postinstall) (thx @mconigilaro)
## Listing existing definitions
veewee vbox list