veewee 0.3.7 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/.rvmrc +2 -1
- data/.travis.yml +8 -0
- data/CONTRIBUTE.md +51 -0
- data/Gemfile +11 -2
- data/README.md +88 -22
- data/Rakefile +11 -7
- data/bin/veewee +1 -0
- data/doc/TODO.md +76 -0
- data/doc/basics.md +200 -0
- data/doc/build_hooks.md +69 -0
- data/doc/changes.md +20 -0
- data/doc/commands.md +42 -0
- data/doc/customize.md +145 -0
- data/doc/fusion.md +5 -1
- data/doc/installation.md +90 -9
- data/doc/kvm.md +52 -42
- data/doc/parallels.md +3 -0
- data/doc/providers.md +6 -21
- data/doc/requirements.md +69 -5
- data/doc/vagrant.md +26 -93
- data/doc/vbox.md +78 -1
- data/doc/veeweefile.md +25 -0
- data/lib/fission.old/cli.rb +76 -0
- data/lib/fission.old/command.rb +15 -0
- data/lib/fission.old/command/clone.rb +68 -0
- data/lib/fission.old/command/delete.rb +71 -0
- data/lib/fission.old/command/snapshot_create.rb +52 -0
- data/lib/fission.old/command/snapshot_list.rb +45 -0
- data/lib/fission.old/command/snapshot_revert.rb +54 -0
- data/lib/fission.old/command/start.rb +69 -0
- data/lib/fission.old/command/status.rb +31 -0
- data/lib/fission.old/command/stop.rb +49 -0
- data/lib/fission.old/command/suspend.rb +67 -0
- data/lib/fission.old/config.rb +34 -0
- data/lib/fission.old/core_ext/class.rb +5 -0
- data/lib/fission.old/core_ext/file.rb +7 -0
- data/lib/fission.old/core_ext/object.rb +112 -0
- data/lib/fission.old/error.rb +10 -0
- data/lib/fission.old/fusion.rb +17 -0
- data/lib/fission.old/leasesfile.rb +74 -0
- data/lib/fission.old/metadata.rb +39 -0
- data/lib/fission.old/response.rb +16 -0
- data/lib/fission.old/ui.rb +22 -0
- data/lib/fission.old/version.rb +3 -0
- data/lib/fission.old/vm.rb +370 -0
- data/lib/veewee/command/fusion.rb +16 -142
- data/lib/veewee/command/group_base.rb +111 -7
- data/lib/veewee/command/kvm.rb +19 -104
- data/lib/veewee/command/parallels.rb +15 -105
- data/lib/veewee/command/vagrant/build.rb +2 -2
- data/lib/veewee/command/vagrant/export.rb +0 -2
- data/lib/veewee/command/vbox.rb +21 -134
- data/lib/veewee/config.rb +2 -3
- data/lib/veewee/config/ostypes.yml +21 -1
- data/lib/veewee/definition.rb +42 -11
- data/lib/veewee/definitions.rb +27 -6
- data/lib/veewee/environment.rb +34 -25
- data/lib/veewee/error.rb +1 -1
- data/lib/veewee/provider/core/box/build.rb +71 -7
- data/lib/veewee/provider/core/box/exec.rb +1 -1
- data/lib/veewee/provider/core/box/floppy.rb +1 -1
- data/lib/veewee/provider/core/box/ssh.rb +2 -2
- data/lib/veewee/provider/core/box/validate_tags.rb +137 -30
- data/lib/veewee/provider/core/box/vnc.rb +1 -1
- data/lib/veewee/provider/core/box/wincp.rb +8 -8
- data/lib/veewee/provider/core/helper/iso.rb +41 -15
- data/lib/veewee/provider/core/helper/scancode.rb +46 -43
- data/lib/veewee/provider/core/helper/shell.rb +3 -2
- data/lib/veewee/provider/core/helper/ssh.rb +21 -10
- data/lib/veewee/provider/core/helper/tcp.rb +19 -6
- data/lib/veewee/provider/core/helper/web.rb +1 -1
- data/lib/veewee/provider/core/helper/winrm.rb +3 -0
- data/lib/veewee/provider/core/provider.rb +1 -1
- data/lib/veewee/provider/kvm/box.rb +7 -0
- data/lib/veewee/provider/kvm/box/create.rb +122 -71
- data/lib/veewee/provider/kvm/box/destroy.rb +5 -6
- data/lib/veewee/provider/kvm/box/export_vagrant.rb +143 -0
- data/lib/veewee/provider/kvm/box/helper/status.rb +6 -2
- data/lib/veewee/provider/kvm/provider.rb +26 -21
- data/lib/veewee/provider/kvm/templates/Vagrantfile +45 -0
- data/lib/veewee/provider/parallels/box.rb +1 -0
- data/lib/veewee/provider/parallels/box/export.rb +184 -0
- data/lib/veewee/provider/parallels/box/helper/buildinfo.rb +7 -5
- data/lib/veewee/provider/parallels/box/helper/console_type.rb +12 -6
- data/lib/veewee/provider/virtualbox/box.rb +19 -5
- data/lib/veewee/provider/virtualbox/box/create.rb +1 -1
- data/lib/veewee/provider/virtualbox/box/export_vagrant.rb +90 -8
- data/lib/veewee/provider/virtualbox/box/helper/console_type.rb +3 -1
- data/lib/veewee/provider/virtualbox/box/helper/create.rb +48 -23
- data/lib/veewee/provider/virtualbox/box/helper/forwarding.rb +5 -1
- data/lib/veewee/provider/virtualbox/box/helper/version.rb +4 -1
- data/lib/veewee/provider/virtualbox/box/up.rb +6 -6
- data/lib/veewee/provider/virtualbox/provider.rb +3 -1
- data/lib/veewee/provider/vmfusion/box.rb +1 -1
- data/lib/veewee/provider/vmfusion/box/export.rb +125 -0
- data/lib/veewee/provider/vmfusion/box/helper/buildinfo.rb +6 -2
- data/lib/veewee/provider/vmfusion/box/helper/ip.rb +6 -1
- data/lib/veewee/provider/vmfusion/box/poweroff.rb +1 -1
- data/lib/veewee/provider/vmfusion/box/ssh.rb +1 -1
- data/lib/veewee/provider/vmfusion/box/template.rb +10 -3
- data/lib/veewee/provider/vmfusion/box/template.vmx.erb +19 -5
- data/lib/veewee/templates/Vagrantfile.erb +11 -0
- data/lib/veewee/version.rb +1 -1
- data/templates/.ubuntu/base.sh +20 -0
- data/templates/.ubuntu/chef.sh +49 -0
- data/templates/.ubuntu/cleanup.sh +25 -0
- data/templates/.ubuntu/puppet.sh +15 -0
- data/templates/.ubuntu/ruby.sh +7 -0
- data/templates/.ubuntu/vagrant.sh +27 -0
- data/templates/.ubuntu/virtualbox.sh +15 -0
- data/templates/.ubuntu/zerodisk.sh +11 -0
- data/templates/CentOS-4.8-i386/ks.cfg +3 -3
- data/templates/CentOS-4.8-i386/postinstall.sh +3 -0
- data/templates/CentOS-5.5-i386-netboot/definition.rb +1 -1
- data/templates/CentOS-5.5-i386-netboot/ks.cfg +3 -3
- data/templates/CentOS-5.5-i386-netboot/postinstall.sh +3 -0
- data/templates/CentOS-5.5-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-5.5-x86_64-netboot/ks.cfg +3 -3
- data/templates/CentOS-5.5-x86_64-netboot/postinstall.sh +4 -0
- data/templates/CentOS-5.6-i386-netboot/definition.rb +1 -1
- data/templates/CentOS-5.6-i386-netboot/ks.cfg +3 -3
- data/templates/CentOS-5.6-i386/ks.cfg +3 -3
- data/templates/CentOS-5.6-i386/postinstall.sh +3 -0
- data/templates/CentOS-5.6-x86_64-netboot-packages/definition.rb +1 -1
- data/templates/CentOS-5.6-x86_64-netboot-packages/ks.cfg +3 -3
- data/templates/CentOS-5.6-x86_64-netboot-packages/postinstall.sh +3 -0
- data/templates/CentOS-5.6-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-5.6-x86_64-netboot/ks.cfg +3 -3
- data/templates/CentOS-5.6-x86_64-netboot/postinstall.sh +4 -0
- data/templates/CentOS-5.7-i386-netboot/definition.rb +1 -1
- data/templates/CentOS-5.7-i386-netboot/ks.cfg +3 -3
- data/templates/CentOS-5.7-i386-netboot/postinstall.sh +3 -0
- data/templates/CentOS-5.7-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-5.7-x86_64-netboot/ks.cfg +3 -3
- data/templates/CentOS-5.7-x86_64-netboot/postinstall.sh +3 -0
- data/templates/CentOS-5.8-i386-netboot/definition.rb +1 -1
- data/templates/CentOS-5.8-i386-netboot/ks.cfg +3 -3
- data/templates/CentOS-5.8-i386-netboot/postinstall.sh +3 -0
- data/templates/CentOS-5.8-i386/definition.rb +1 -1
- data/templates/CentOS-5.8-i386/ks.cfg +3 -3
- data/templates/CentOS-5.8-i386/postinstall.sh +3 -0
- data/templates/CentOS-5.8-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-5.8-x86_64-netboot/ks.cfg +5 -5
- data/templates/CentOS-5.8-x86_64-netboot/postinstall.sh +3 -0
- data/templates/CentOS-5.8-x86_64-reallyminimal/README.md +3 -0
- data/templates/CentOS-5.8-x86_64-reallyminimal/definition.rb +33 -0
- data/templates/CentOS-5.8-x86_64-reallyminimal/ks.cfg +102 -0
- data/templates/CentOS-5.8-x86_64-reallyminimal/postinstall.sh +132 -0
- data/templates/CentOS-5.8-x86_64/definition.rb +1 -1
- data/templates/CentOS-5.8-x86_64/ks.cfg +3 -3
- data/templates/CentOS-5.8-x86_64/postinstall.sh +3 -0
- data/templates/CentOS-5.9-i386-netboot/base.sh +9 -0
- data/templates/CentOS-5.9-i386-netboot/cfengine.sh +69 -0
- data/templates/CentOS-5.9-i386-netboot/chef.sh +3 -0
- data/templates/CentOS-5.9-i386-netboot/cleanup.sh +7 -0
- data/templates/CentOS-5.9-i386-netboot/definition.rb +43 -0
- data/templates/CentOS-5.9-i386-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.9-i386-netboot/puppet.sh +18 -0
- data/templates/CentOS-5.9-i386-netboot/ruby.sh +12 -0
- data/templates/CentOS-5.9-i386-netboot/vagrant.sh +18 -0
- data/templates/CentOS-5.9-i386-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-5.9-i386-netboot/vmfusion.sh +7 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → CentOS-5.9-i386-netboot}/zerodisk.sh +0 -0
- data/templates/CentOS-5.9-i386/base.sh +9 -0
- data/templates/CentOS-5.9-i386/cfengine.sh +69 -0
- data/templates/CentOS-5.9-i386/chef.sh +3 -0
- data/templates/CentOS-5.9-i386/cleanup.sh +7 -0
- data/templates/CentOS-5.9-i386/definition.rb +43 -0
- data/templates/CentOS-5.9-i386/ks.cfg +47 -0
- data/templates/CentOS-5.9-i386/puppet.sh +18 -0
- data/templates/CentOS-5.9-i386/ruby.sh +12 -0
- data/templates/CentOS-5.9-i386/vagrant.sh +18 -0
- data/templates/CentOS-5.9-i386/virtualbox.sh +8 -0
- data/templates/CentOS-5.9-i386/vmfusion.sh +7 -0
- data/templates/{Debian-7.0-b4-i386-netboot → CentOS-5.9-i386}/zerodisk.sh +0 -0
- data/templates/CentOS-5.9-x86_64-netboot/base.sh +9 -0
- data/templates/CentOS-5.9-x86_64-netboot/cfengine.sh +69 -0
- data/templates/CentOS-5.9-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-5.9-x86_64-netboot/cleanup.sh +7 -0
- data/templates/CentOS-5.9-x86_64-netboot/definition.rb +43 -0
- data/templates/CentOS-5.9-x86_64-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.9-x86_64-netboot/puppet.sh +18 -0
- data/templates/CentOS-5.9-x86_64-netboot/ruby.sh +12 -0
- data/templates/CentOS-5.9-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-5.9-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-5.9-x86_64-netboot/vmfusion.sh +7 -0
- data/templates/CentOS-5.9-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-5.9-x86_64/base.sh +9 -0
- data/templates/CentOS-5.9-x86_64/cfengine.sh +69 -0
- data/templates/CentOS-5.9-x86_64/chef.sh +3 -0
- data/templates/CentOS-5.9-x86_64/cleanup.sh +7 -0
- data/templates/CentOS-5.9-x86_64/definition.rb +43 -0
- data/templates/CentOS-5.9-x86_64/ks.cfg +47 -0
- data/templates/CentOS-5.9-x86_64/puppet.sh +18 -0
- data/templates/CentOS-5.9-x86_64/ruby.sh +12 -0
- data/templates/CentOS-5.9-x86_64/vagrant.sh +18 -0
- data/templates/CentOS-5.9-x86_64/virtualbox.sh +8 -0
- data/templates/CentOS-5.9-x86_64/vmfusion.sh +7 -0
- data/templates/CentOS-5.9-x86_64/zerodisk.sh +3 -0
- data/templates/CentOS-6.0-i386-netboot/base.sh +3 -0
- data/templates/CentOS-6.0-i386-netboot/definition.rb +1 -1
- data/templates/CentOS-6.0-i386-netboot/puppet.sh +7 -1
- data/templates/CentOS-6.0-i386/base.sh +2 -0
- data/templates/CentOS-6.0-i386/definition.rb +1 -1
- data/templates/CentOS-6.0-i386/puppet.sh +7 -1
- data/templates/CentOS-6.0-x86_64-minimal/base.sh +2 -0
- data/templates/CentOS-6.0-x86_64-minimal/definition.rb +2 -2
- data/templates/CentOS-6.0-x86_64-minimal/puppet.sh +7 -1
- data/templates/CentOS-6.0-x86_64-netboot/base.sh +2 -0
- data/templates/CentOS-6.0-x86_64-netboot/definition.rb +2 -2
- data/templates/CentOS-6.0-x86_64-netboot/puppet.sh +7 -1
- data/templates/CentOS-6.0-x86_64/base.sh +2 -0
- data/templates/CentOS-6.0-x86_64/definition.rb +2 -2
- data/templates/CentOS-6.0-x86_64/puppet.sh +7 -1
- data/templates/CentOS-6.1-x86_64-minimal/base.sh +2 -0
- data/templates/CentOS-6.1-x86_64-minimal/definition.rb +2 -2
- data/templates/CentOS-6.1-x86_64-minimal/puppet.sh +7 -1
- data/templates/CentOS-6.1-x86_64-netboot/base.sh +2 -0
- data/templates/CentOS-6.1-x86_64-netboot/definition.rb +2 -2
- data/templates/CentOS-6.1-x86_64-netboot/puppet.sh +7 -1
- data/templates/CentOS-6.2-i386-minimal/base.sh +2 -0
- data/templates/CentOS-6.2-i386-minimal/definition.rb +1 -1
- data/templates/CentOS-6.2-i386-minimal/puppet.sh +7 -1
- data/templates/CentOS-6.2-x86_64-minimal/base.sh +2 -0
- data/templates/CentOS-6.2-x86_64-minimal/definition.rb +2 -2
- data/templates/CentOS-6.2-x86_64-minimal/puppet.sh +7 -1
- data/templates/CentOS-6.2-x86_64-netboot/definition.rb +2 -2
- data/templates/CentOS-6.2-x86_64-netboot/puppet.sh +7 -1
- data/templates/CentOS-6.3-i386-minimal/base.sh +2 -0
- data/templates/CentOS-6.3-i386-minimal/puppet.sh +7 -1
- data/templates/CentOS-6.3-x86_64-minimal/base.sh +2 -0
- data/templates/CentOS-6.3-x86_64-minimal/definition.rb +1 -1
- data/templates/CentOS-6.3-x86_64-minimal/puppet.sh +7 -1
- data/templates/CentOS-6.3-x86_64-netboot/base.sh +2 -0
- data/templates/CentOS-6.3-x86_64-netboot/cfengine.sh +69 -0
- data/templates/CentOS-6.3-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-6.3-x86_64-netboot/puppet.sh +7 -1
- data/templates/CentOS-6.3-x86_64-reallyminimal/README.md +12 -0
- data/templates/CentOS-6.3-x86_64-reallyminimal/definition.rb +33 -0
- data/templates/CentOS-6.3-x86_64-reallyminimal/ks.cfg +100 -0
- data/templates/CentOS-6.3-x86_64-reallyminimal/postinstall.sh +138 -0
- data/templates/CentOS-6.4-i386-minimal/base.sh +16 -0
- data/templates/CentOS-6.4-i386-minimal/chef.sh +2 -0
- data/templates/CentOS-6.4-i386-minimal/cleanup.sh +8 -0
- data/templates/CentOS-6.4-i386-minimal/definition.rb +38 -0
- data/templates/CentOS-6.4-i386-minimal/ks.cfg +36 -0
- data/templates/CentOS-6.4-i386-minimal/puppet.sh +18 -0
- data/templates/CentOS-6.4-i386-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.4-i386-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.4-i386-minimal/vmfusion.sh +7 -0
- data/templates/CentOS-6.4-i386-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.4-i386-netboot/base.sh +16 -0
- data/templates/CentOS-6.4-i386-netboot/cfengine.sh +69 -0
- data/templates/CentOS-6.4-i386-netboot/chef.sh +3 -0
- data/templates/CentOS-6.4-i386-netboot/cleanup.sh +8 -0
- data/templates/CentOS-6.4-i386-netboot/definition.rb +40 -0
- data/templates/CentOS-6.4-i386-netboot/ks.cfg +41 -0
- data/templates/CentOS-6.4-i386-netboot/puppet.sh +18 -0
- data/templates/CentOS-6.4-i386-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.4-i386-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.4-i386-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.4-i386-netboot/vmfusion.sh +7 -0
- data/templates/CentOS-6.4-i386-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-6.4-x86_64-minimal/base.sh +16 -0
- data/templates/CentOS-6.4-x86_64-minimal/chef.sh +2 -0
- data/templates/CentOS-6.4-x86_64-minimal/cleanup.sh +8 -0
- data/templates/CentOS-6.4-x86_64-minimal/definition.rb +38 -0
- data/templates/CentOS-6.4-x86_64-minimal/ks.cfg +36 -0
- data/templates/CentOS-6.4-x86_64-minimal/puppet.sh +18 -0
- data/templates/CentOS-6.4-x86_64-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.4-x86_64-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.4-x86_64-minimal/vmfusion.sh +7 -0
- data/templates/CentOS-6.4-x86_64-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.4-x86_64-netboot/base.sh +16 -0
- data/templates/CentOS-6.4-x86_64-netboot/cfengine.sh +69 -0
- data/templates/CentOS-6.4-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-6.4-x86_64-netboot/cleanup.sh +8 -0
- data/templates/CentOS-6.4-x86_64-netboot/definition.rb +40 -0
- data/templates/CentOS-6.4-x86_64-netboot/ks.cfg +41 -0
- data/templates/CentOS-6.4-x86_64-netboot/puppet.sh +18 -0
- data/templates/CentOS-6.4-x86_64-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.4-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.4-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.4-x86_64-netboot/vmfusion.sh +7 -0
- data/templates/CentOS-6.4-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-5.0.10-amd64-netboot/base.sh +4 -0
- data/templates/Debian-5.0.10-amd64-netboot/definition.rb +10 -1
- data/templates/Debian-5.0.10-amd64-netboot/preseed.cfg +5 -3
- data/templates/Debian-5.0.10-amd64-netboot/ruby.sh +7 -6
- data/templates/Debian-5.0.10-amd64-netboot/vagrant.sh +4 -0
- data/templates/Debian-5.0.10-amd64-netboot/virtualbox.sh +12 -7
- data/templates/Debian-5.0.10-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-5.0.10-i386-netboot/base.sh +4 -0
- data/templates/Debian-5.0.10-i386-netboot/definition.rb +10 -1
- data/templates/Debian-5.0.10-i386-netboot/preseed.cfg +5 -3
- data/templates/Debian-5.0.10-i386-netboot/ruby.sh +7 -6
- data/templates/Debian-5.0.10-i386-netboot/vagrant.sh +4 -0
- data/templates/Debian-5.0.10-i386-netboot/virtualbox.sh +12 -7
- data/templates/Debian-5.0.10-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-5.0.8-amd64-netboot/base.sh +4 -0
- data/templates/Debian-5.0.8-amd64-netboot/definition.rb +10 -1
- data/templates/Debian-5.0.8-amd64-netboot/preseed.cfg +5 -3
- data/templates/Debian-5.0.8-amd64-netboot/vagrant.sh +4 -0
- data/templates/Debian-5.0.8-amd64-netboot/virtualbox.sh +12 -7
- data/templates/Debian-5.0.8-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-5.0.8-i386-netboot/base.sh +4 -0
- data/templates/Debian-5.0.8-i386-netboot/definition.rb +10 -1
- data/templates/Debian-5.0.8-i386-netboot/preseed.cfg +5 -3
- data/templates/Debian-5.0.8-i386-netboot/vagrant.sh +4 -0
- data/templates/Debian-5.0.8-i386-netboot/virtualbox.sh +12 -7
- data/templates/Debian-5.0.8-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.3-amd64-netboot/definition.rb +3 -1
- data/templates/Debian-6.0.3-amd64-netboot/preseed.cfg +2 -2
- data/templates/Debian-6.0.3-i386-netboot/definition.rb +3 -1
- data/templates/Debian-6.0.3-i386-netboot/preseed.cfg +2 -2
- data/templates/Debian-6.0.4-amd64-netboot/definition.rb +3 -1
- data/templates/Debian-6.0.4-amd64-netboot/preseed.cfg +2 -2
- data/templates/Debian-6.0.4-i386-netboot/definition.rb +4 -2
- data/templates/Debian-6.0.4-i386-netboot/preseed.cfg +2 -2
- data/templates/Debian-6.0.5-amd64-netboot/definition.rb +3 -1
- data/templates/Debian-6.0.5-amd64-netboot/preseed.cfg +2 -2
- data/templates/Debian-6.0.5-i386-netboot/definition.rb +3 -1
- data/templates/Debian-6.0.5-i386-netboot/preseed.cfg +3 -3
- data/templates/Debian-6.0.6-amd64-netboot/base.sh +6 -2
- data/templates/Debian-6.0.6-amd64-netboot/chef.sh +1 -1
- data/templates/Debian-6.0.6-amd64-netboot/definition.rb +5 -3
- data/templates/Debian-6.0.6-amd64-netboot/preseed.cfg +2 -2
- data/templates/Debian-6.0.6-amd64-netboot/puppet.sh +1 -1
- data/templates/Debian-6.0.6-amd64-netboot/ruby.sh +25 -9
- data/templates/Debian-6.0.6-amd64-netboot/vagrant.sh +0 -2
- data/templates/Debian-6.0.6-amd64-netboot/virtualbox.sh +17 -12
- data/templates/Debian-6.0.6-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.6-i386-netboot/base.sh +0 -1
- data/templates/Debian-6.0.6-i386-netboot/cleanup.sh +1 -0
- data/templates/Debian-6.0.6-i386-netboot/definition.rb +11 -2
- data/templates/Debian-6.0.6-i386-netboot/preseed.cfg +3 -3
- data/templates/Debian-6.0.6-i386-netboot/virtualbox.sh +3 -0
- data/templates/Debian-6.0.7-amd64-netboot/base.sh +27 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-6.0.7-amd64-netboot}/chef.sh +0 -0
- data/templates/{Debian-6.0.6-amd64-netboot → Debian-6.0.7-amd64-netboot}/cleanup-virtualbox.sh +0 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-6.0.7-amd64-netboot}/cleanup.sh +0 -0
- data/templates/Debian-6.0.7-amd64-netboot/definition.rb +50 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-6.0.7-amd64-netboot}/preseed.cfg +2 -2
- data/templates/Debian-6.0.7-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.7-amd64-netboot/ruby.sh +10 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-6.0.7-amd64-netboot}/vagrant.sh +0 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-6.0.7-amd64-netboot}/virtualbox.sh +6 -1
- data/templates/Debian-6.0.7-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.7-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.7-i386-netboot/base.sh +26 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-6.0.7-i386-netboot}/chef.sh +0 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-6.0.7-i386-netboot}/cleanup-virtualbox.sh +0 -0
- data/templates/Debian-6.0.7-i386-netboot/cleanup.sh +18 -0
- data/templates/Debian-6.0.7-i386-netboot/definition.rb +59 -0
- data/templates/Debian-6.0.7-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.7-i386-netboot/puppet.sh +7 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-6.0.7-i386-netboot}/ruby.sh +0 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-6.0.7-i386-netboot}/vagrant.sh +0 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-6.0.7-i386-netboot}/virtualbox.sh +3 -0
- data/templates/Debian-6.0.7-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.7-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.0-amd64-netboot/base.sh +25 -0
- data/templates/Debian-7.0-amd64-netboot/chef.sh +49 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-7.0-amd64-netboot}/cleanup-virtualbox.sh +0 -0
- data/templates/Debian-7.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.0-amd64-netboot/definition.rb +55 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-7.0-amd64-netboot}/preseed.cfg +4 -4
- data/templates/Debian-7.0-amd64-netboot/puppet.sh +7 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-7.0-amd64-netboot}/ruby.sh +0 -0
- data/templates/Debian-7.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.0-amd64-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-7.0-i386-netboot}/base.sh +1 -1
- data/templates/Debian-7.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.0-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-7.0-i386-netboot}/cleanup.sh +0 -0
- data/templates/Debian-7.0-i386-netboot/definition.rb +56 -0
- data/templates/Debian-7.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.0-i386-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.1.0-amd64-netboot/base.sh +25 -0
- data/templates/Debian-7.1.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.1.0-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.1.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.1.0-amd64-netboot/definition.rb +53 -0
- data/templates/Debian-7.1.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.1.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.1.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.1.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.1.0-amd64-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.1.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.1.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-7.1.0-i386-netboot}/base.sh +1 -1
- data/templates/Debian-7.1.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.1.0-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.1.0-i386-netboot/cleanup.sh +17 -0
- data/templates/{Debian-7.0-b4-i386-netboot → Debian-7.1.0-i386-netboot}/definition.rb +5 -5
- data/templates/Debian-7.1.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.1.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.1.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.1.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.1.0-i386-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.1.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.1.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.2.0-amd64-netboot/base.sh +25 -0
- data/templates/Debian-7.2.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.2.0-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.2.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.2.0-amd64-netboot/definition.rb +53 -0
- data/templates/Debian-7.2.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.2.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.2.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.2.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.2.0-amd64-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.2.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.2.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.2.0-i386-netboot/base.sh +26 -0
- data/templates/Debian-7.2.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.2.0-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.2.0-i386-netboot/cleanup.sh +17 -0
- data/templates/{Debian-7.0-b4-amd64-netboot → Debian-7.2.0-i386-netboot}/definition.rb +5 -5
- data/templates/Debian-7.2.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.2.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.2.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.2.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.2.0-i386-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.2.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.2.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Fedora-14-amd64-netboot/ks.cfg +3 -3
- data/templates/Fedora-14-amd64/ks.cfg +3 -3
- data/templates/Fedora-14-i386-netboot/ks.cfg +3 -3
- data/templates/Fedora-14-i386/ks.cfg +3 -3
- data/templates/Fedora-15-i386-netboot/ks.cfg +2 -2
- data/templates/Fedora-15-i386/ks.cfg +2 -2
- data/templates/Fedora-15-x86_64-netboot/ks.cfg +2 -2
- data/templates/Fedora-15-x86_64/definition.rb +1 -1
- data/templates/Fedora-15-x86_64/ks.cfg +2 -2
- data/templates/Fedora-16-i386/ks.cfg +2 -2
- data/templates/Fedora-16-x86_64-netboot/ks.cfg +2 -2
- data/templates/Fedora-16-x86_64/ks.cfg +2 -2
- data/templates/Fedora-17-i386/ks.cfg +2 -2
- data/templates/Fedora-17-x86_64/ks.cfg +2 -2
- data/templates/Fedora-18-i386/base.sh +12 -0
- data/templates/Fedora-18-i386/chef.sh +17 -0
- data/templates/Fedora-18-i386/cleanup.sh +6 -0
- data/templates/Fedora-18-i386/definition.rb +32 -10
- data/templates/Fedora-18-i386/ks.cfg +2 -2
- data/templates/Fedora-18-i386/puppet.sh +2 -0
- data/templates/Fedora-18-i386/ruby.sh +3 -0
- data/templates/Fedora-18-i386/vagrant.sh +18 -0
- data/templates/Fedora-18-i386/virtualbox.sh +8 -0
- data/templates/Fedora-18-i386/vmfusion.sh +7 -0
- data/templates/Fedora-18-i386/zerodisk.sh +3 -0
- data/templates/Fedora-18-x86_64/base.sh +12 -0
- data/templates/Fedora-18-x86_64/chef.sh +17 -0
- data/templates/Fedora-18-x86_64/cleanup.sh +6 -0
- data/templates/Fedora-18-x86_64/definition.rb +32 -10
- data/templates/Fedora-18-x86_64/ks.cfg +2 -2
- data/templates/Fedora-18-x86_64/puppet.sh +2 -0
- data/templates/Fedora-18-x86_64/ruby.sh +3 -0
- data/templates/Fedora-18-x86_64/vagrant.sh +18 -0
- data/templates/Fedora-18-x86_64/virtualbox.sh +8 -0
- data/templates/Fedora-18-x86_64/vmfusion.sh +7 -0
- data/templates/Fedora-18-x86_64/zerodisk.sh +3 -0
- data/templates/Fedora-19-i386/base.sh +9 -0
- data/templates/Fedora-19-i386/chef.sh +17 -0
- data/templates/Fedora-19-i386/cleanup.sh +6 -0
- data/templates/Fedora-19-i386/definition.rb +39 -0
- data/templates/Fedora-19-i386/ks.cfg +83 -0
- data/templates/Fedora-19-i386/puppet.sh +2 -0
- data/templates/Fedora-19-i386/ruby.sh +3 -0
- data/templates/Fedora-19-i386/vagrant.sh +18 -0
- data/templates/Fedora-19-i386/virtualbox.sh +4 -0
- data/templates/Fedora-19-i386/vmfusion.sh +7 -0
- data/templates/Fedora-19-i386/zerodisk.sh +3 -0
- data/templates/Fedora-19-x86_64/base.sh +9 -0
- data/templates/Fedora-19-x86_64/chef.sh +17 -0
- data/templates/Fedora-19-x86_64/cleanup.sh +6 -0
- data/templates/Fedora-19-x86_64/definition.rb +39 -0
- data/templates/Fedora-19-x86_64/ks.cfg +83 -0
- data/templates/Fedora-19-x86_64/puppet.sh +2 -0
- data/templates/Fedora-19-x86_64/ruby.sh +3 -0
- data/templates/Fedora-19-x86_64/vagrant.sh +18 -0
- data/templates/Fedora-19-x86_64/virtualbox.sh +4 -0
- data/templates/Fedora-19-x86_64/vmfusion.sh +7 -0
- data/templates/Fedora-19-x86_64/zerodisk.sh +3 -0
- data/templates/OSX/NOTICE.erb +23 -0
- data/templates/OSX/chef-omnibus.sh +6 -0
- data/templates/OSX/definition.rb +31 -0
- data/templates/OSX/fix_user_perms.sh +3 -0
- data/templates/OSX/postinstall.sh +28 -0
- data/templates/OSX/prepare_veewee_iso/prepare_veewee_iso.sh +281 -0
- data/templates/OSX/prepare_veewee_iso/support/10_8_AP_bomlist +34 -0
- data/templates/OSX/prepare_veewee_iso/support/OSInstall.collection +9 -0
- data/templates/OSX/prepare_veewee_iso/support/PartitionInfo.plist +0 -0
- data/templates/OSX/prepare_veewee_iso/support/com.vagrantup.veewee.plist +14 -0
- data/templates/OSX/prepare_veewee_iso/support/minstallconfig.xml +16 -0
- data/templates/OSX/prepare_veewee_iso/support/pkg-postinstall +25 -0
- data/templates/OSX/prepare_veewee_iso/support/shadowhash +1 -0
- data/templates/OSX/prepare_veewee_iso/support/vagrant.plist +804 -0
- data/templates/OSX/puppet.sh +18 -0
- data/templates/OSX/rvm.bash +17 -0
- data/templates/OSX/xcode-cli-tools.sh +19 -0
- data/templates/OracleLinux-5.9-i386-DVD/base.sh +26 -0
- data/templates/OracleLinux-5.9-i386-DVD/chef.sh +3 -0
- data/templates/OracleLinux-5.9-i386-DVD/cleanup.sh +8 -0
- data/templates/OracleLinux-5.9-i386-DVD/definition.rb +37 -0
- data/templates/OracleLinux-5.9-i386-DVD/ks.cfg +35 -0
- data/templates/OracleLinux-5.9-i386-DVD/proxy.sh +4 -0
- data/templates/OracleLinux-5.9-i386-DVD/puppet.sh +3 -0
- data/templates/OracleLinux-5.9-i386-DVD/ruby.sh +36 -0
- data/templates/OracleLinux-5.9-i386-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-5.9-i386-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-5.9-i386-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/base.sh +26 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/cleanup.sh +8 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/definition.rb +37 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/ks.cfg +35 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/proxy.sh +4 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/puppet.sh +3 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/ruby.sh +36 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-5.9-x86_64-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/definition.rb +1 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/nfs.sh +2 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/puppet.sh +6 -0
- data/templates/OracleLinux-6.4-i386-DVD/base.sh +25 -0
- data/templates/OracleLinux-6.4-i386-DVD/chef.sh +3 -0
- data/templates/OracleLinux-6.4-i386-DVD/cleanup.sh +9 -0
- data/templates/OracleLinux-6.4-i386-DVD/definition.rb +39 -0
- data/templates/OracleLinux-6.4-i386-DVD/ks.cfg +36 -0
- data/templates/OracleLinux-6.4-i386-DVD/proxy.sh +4 -0
- data/templates/OracleLinux-6.4-i386-DVD/puppet.sh +10 -0
- data/templates/OracleLinux-6.4-i386-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-6.4-i386-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-6.4-i386-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-6.4-i386-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/base.sh +25 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/cleanup.sh +9 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/definition.rb +39 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/ks.cfg +36 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/proxy.sh +4 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/puppet.sh +10 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-6.4-x86_64-DVD/zerodisk.sh +3 -0
- data/templates/SLES-11-SP2-DVD-x86_64-GM/autoinst.xml +2578 -0
- data/templates/SLES-11-SP2-DVD-x86_64-GM/definition.rb +33 -0
- data/templates/SLES-11-SP2-DVD-x86_64-GM/postinstall.sh +51 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/definition.rb +26 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/ks.cfg +63 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/vagrant_key.py +6 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/vnc_enable.sh +40 -0
- data/templates/VMware-ESXi-5.1-x86_64/definition.rb +27 -0
- data/templates/VMware-ESXi-5.1-x86_64/ks.cfg +63 -0
- data/templates/VMware-ESXi-5.1-x86_64/vagrant_key.py +6 -0
- data/templates/VMware-ESXi-5.1-x86_64/vnc_enable.sh +41 -0
- data/templates/archlinux-x86_64/README.md +51 -0
- data/templates/archlinux-x86_64/aur.sh +22 -0
- data/templates/archlinux-x86_64/base.sh +46 -0
- data/templates/archlinux-x86_64/basedevel.sh +6 -0
- data/templates/archlinux-x86_64/bootloader.sh +11 -0
- data/templates/archlinux-x86_64/chef.sh +31 -0
- data/templates/archlinux-x86_64/cleanup.sh +18 -0
- data/templates/archlinux-x86_64/definition.rb +57 -23
- data/templates/archlinux-x86_64/pacman.sh +28 -0
- data/templates/archlinux-x86_64/puppet.sh +22 -0
- data/templates/archlinux-x86_64/reboot.sh +22 -0
- data/templates/archlinux-x86_64/ruby.sh +27 -0
- data/templates/archlinux-x86_64/ssh.sh +18 -0
- data/templates/archlinux-x86_64/sudo.sh +12 -0
- data/templates/archlinux-x86_64/user.sh +11 -0
- data/templates/archlinux-x86_64/vagrant.sh +27 -0
- data/templates/archlinux-x86_64/virtualbox.sh +23 -0
- data/templates/archlinux-x86_64/zerodisk.sh +11 -0
- data/templates/freebsd-8.2-pcbsd-amd64/definition.rb +26 -0
- data/templates/freebsd-8.2-pcbsd-amd64/pcinstall.fbg.cfg +57 -0
- data/templates/freebsd-8.2-pcbsd-amd64/postinstall.sh +95 -0
- data/templates/freebsd-8.2-pcbsd-i386-netboot/pcinstall.fbg.cfg +2 -2
- data/templates/freebsd-8.2-pcbsd-i386-netboot/postinstall.sh +32 -30
- data/templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg +1 -1
- data/templates/freebsd-8.2-pcbsd-i386/postinstall.sh +31 -29
- data/templates/freebsd-9.0-RELEASE-amd64/definition.rb +22 -9
- data/templates/freebsd-9.0-RELEASE-amd64/install.sh +103 -0
- data/templates/freebsd-9.0-RELEASE-amd64/postinstall.sh +72 -48
- data/templates/freebsd-9.1-RELEASE-amd64/definition.rb +32 -0
- data/templates/freebsd-9.1-RELEASE-amd64/install.sh +95 -0
- data/templates/freebsd-9.1-RELEASE-amd64/postinstall.csh +136 -0
- data/templates/funtoo-latest-x86_64/definition.rb +8 -6
- data/templates/funtoo-latest-x86_64/postinstall.sh +16 -0
- data/templates/gentoo-latest-amd64/base.sh +89 -0
- data/templates/gentoo-latest-amd64/chef.sh +7 -0
- data/templates/gentoo-latest-amd64/cleanup.sh +23 -0
- data/templates/gentoo-latest-amd64/cron.sh +8 -0
- data/templates/gentoo-latest-amd64/definition.rb +59 -0
- data/templates/gentoo-latest-amd64/grub.sh +23 -0
- data/templates/gentoo-latest-amd64/kernel.sh +109 -0
- data/templates/gentoo-latest-amd64/nfs.sh +11 -0
- data/templates/gentoo-latest-amd64/puppet.sh +7 -0
- data/templates/gentoo-latest-amd64/reboot.sh +4 -0
- data/templates/gentoo-latest-amd64/ruby.sh +17 -0
- data/templates/gentoo-latest-amd64/settings.sh +37 -0
- data/templates/gentoo-latest-amd64/syslog.sh +8 -0
- data/templates/gentoo-latest-amd64/vagrant.sh +57 -0
- data/templates/gentoo-latest-amd64/virtualbox.sh +23 -0
- data/templates/gentoo-latest-amd64/zerodisk.sh +15 -0
- data/templates/gentoo-latest-i686/base.sh +84 -0
- data/templates/gentoo-latest-i686/chef.sh +7 -0
- data/templates/gentoo-latest-i686/cleanup.sh +23 -0
- data/templates/gentoo-latest-i686/cron.sh +8 -0
- data/templates/gentoo-latest-i686/definition.rb +61 -0
- data/templates/gentoo-latest-i686/grub.sh +24 -0
- data/templates/gentoo-latest-i686/kernel.sh +109 -0
- data/templates/gentoo-latest-i686/nfs.sh +11 -0
- data/templates/gentoo-latest-i686/puppet.sh +7 -0
- data/templates/gentoo-latest-i686/reboot.sh +4 -0
- data/templates/gentoo-latest-i686/ruby_portage.sh +17 -0
- data/templates/gentoo-latest-i686/ruby_source.sh +15 -0
- data/templates/gentoo-latest-i686/settings.sh +40 -0
- data/templates/gentoo-latest-i686/syslog.sh +8 -0
- data/templates/gentoo-latest-i686/vagrant.sh +57 -0
- data/templates/gentoo-latest-i686/virtualbox.sh +18 -0
- data/templates/gentoo-latest-i686/zerodisk.sh +15 -0
- data/templates/nixos-minimal-0.2-i686/configuration.nix +39 -0
- data/templates/nixos-minimal-0.2-i686/definition.rb +50 -0
- data/templates/nixos-minimal-0.2-i686/postinstall.sh +28 -0
- data/templates/openSUSE-12.3-x86_64-NET_EN/README.md +5 -0
- data/templates/openSUSE-12.3-x86_64-NET_EN/autoinst.xml +211 -0
- data/templates/openSUSE-12.3-x86_64-NET_EN/definition.rb +37 -0
- data/templates/openSUSE-12.3-x86_64-NET_EN/postinstall.sh +37 -0
- data/templates/openSUSE-12.3-x86_64-NET_EN/virtualbox.sh +16 -0
- data/templates/openbsd50_amd64/definition.rb +1 -1
- data/templates/openbsd50_i386/definition.rb +1 -1
- data/templates/openbsd52_amd64/definition.rb +1 -1
- data/templates/openbsd52_i386/definition.rb +3 -7
- data/templates/openbsd52_i386_snap/README +28 -0
- data/templates/openbsd52_i386_snap/definition.rb +81 -0
- data/templates/openbsd52_i386_snap/postinstall.sh +81 -0
- data/templates/openbsd53_amd64/README +28 -0
- data/templates/openbsd53_amd64/base.sh +40 -0
- data/templates/openbsd53_amd64/chef.sh +2 -0
- data/templates/openbsd53_amd64/definition.rb +91 -0
- data/templates/openbsd53_amd64/puppet.sh +3 -0
- data/templates/openbsd53_amd64/ruby.sh +14 -0
- data/templates/openbsd53_amd64/vagrant.sh +27 -0
- data/templates/openbsd53_i386/README +28 -0
- data/templates/openbsd53_i386/base.sh +40 -0
- data/templates/openbsd53_i386/chef.sh +2 -0
- data/templates/openbsd53_i386/definition.rb +91 -0
- data/templates/openbsd53_i386/puppet.sh +3 -0
- data/templates/openbsd53_i386/ruby.sh +14 -0
- data/templates/openbsd53_i386/vagrant.sh +27 -0
- data/templates/openindiana-151a7-text-x86/auto_install/ai.dtd +58 -0
- data/templates/openindiana-151a7-text-x86/auto_install/ai_manifest.xml +241 -0
- data/templates/openindiana-151a7-text-x86/auto_install/configuration.dtd +44 -0
- data/templates/openindiana-151a7-text-x86/auto_install/default.xml +121 -0
- data/templates/openindiana-151a7-text-x86/auto_install/default.xml.orig +124 -0
- data/templates/openindiana-151a7-text-x86/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/openindiana-151a7-text-x86/auto_install/software.dtd +105 -0
- data/templates/openindiana-151a7-text-x86/auto_install/target.dtd +196 -0
- data/templates/openindiana-151a7-text-x86/default.xml +121 -0
- data/templates/openindiana-151a7-text-x86/definition.rb +56 -0
- data/templates/openindiana-151a7-text-x86/postinstall.sh +103 -0
- data/templates/scientificlinux-5.7-i386/definition.rb +16 -0
- data/templates/scientificlinux-5.7-i386/ks.cfg +75 -0
- data/templates/scientificlinux-5.7-i386/postinstall.sh +39 -0
- data/templates/scientificlinux-5.7-x86_64/definition.rb +16 -0
- data/templates/scientificlinux-5.7-x86_64/ks.cfg +75 -0
- data/templates/scientificlinux-5.7-x86_64/postinstall.sh +39 -0
- data/templates/scientificlinux-5.9-i386/definition.rb +16 -0
- data/templates/scientificlinux-5.9-i386/ks.cfg +75 -0
- data/templates/scientificlinux-5.9-i386/postinstall.sh +39 -0
- data/templates/scientificlinux-5.9-x86_64/definition.rb +16 -0
- data/templates/scientificlinux-5.9-x86_64/ks.cfg +75 -0
- data/templates/scientificlinux-5.9-x86_64/postinstall.sh +39 -0
- data/templates/scientificlinux-6.4-i386-netboot/base.sh +14 -0
- data/templates/scientificlinux-6.4-i386-netboot/cfengine.sh +69 -0
- data/templates/scientificlinux-6.4-i386-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.4-i386-netboot/cleanup.sh +5 -0
- data/templates/scientificlinux-6.4-i386-netboot/definition.rb +40 -0
- data/templates/scientificlinux-6.4-i386-netboot/ks.cfg +41 -0
- data/templates/scientificlinux-6.4-i386-netboot/puppet.sh +18 -0
- data/templates/scientificlinux-6.4-i386-netboot/ruby.sh +3 -0
- data/templates/scientificlinux-6.4-i386-netboot/vagrant.sh +18 -0
- data/templates/scientificlinux-6.4-i386-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.4-i386-netboot/zerodisk.sh +3 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/base.sh +14 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/cfengine.sh +69 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/cleanup.sh +5 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/definition.rb +40 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/ks.cfg +41 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/puppet.sh +18 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/ruby.sh +3 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/vagrant.sh +18 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/solaris-10-ga-x86/README.md +39 -0
- data/templates/solaris-10-ga-x86/chef.sh +10 -0
- data/templates/solaris-10-ga-x86/cleanup.sh +18 -0
- data/templates/solaris-10-ga-x86/definition.rb +39 -0
- data/templates/solaris-10-ga-x86/jumpstart/begin +28 -0
- data/templates/solaris-10-ga-x86/jumpstart/finish +35 -0
- data/templates/solaris-10-ga-x86/jumpstart/profile +41 -0
- data/templates/solaris-10-ga-x86/jumpstart/rules +96 -0
- data/templates/solaris-10-ga-x86/jumpstart/rules.ok +2 -0
- data/templates/solaris-10-ga-x86/jumpstart/sysidcfg +16 -0
- data/templates/solaris-10-ga-x86/postinstall.sh +90 -0
- data/templates/solaris-10-ga-x86/puppet.sh +4 -0
- data/templates/solaris-10-ga-x86/update-terminfo.sh +84 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/base.sh +24 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/chef.sh +2 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/cleanup.sh +22 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/definition.rb +44 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/ruby.sh +24 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/vagrant.sh +14 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/virtualbox.sh +10 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/zerodisk.sh +3 -0
- data/templates/ubuntu-10.04.4-server-amd64/base.sh +24 -0
- data/templates/ubuntu-10.04.4-server-amd64/chef.sh +2 -0
- data/templates/ubuntu-10.04.4-server-amd64/cleanup.sh +22 -0
- data/templates/ubuntu-10.04.4-server-amd64/definition.rb +29 -8
- data/templates/ubuntu-10.04.4-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/ruby.sh +24 -0
- data/templates/ubuntu-10.04.4-server-amd64/vagrant.sh +14 -0
- data/templates/ubuntu-10.04.4-server-amd64/virtualbox.sh +10 -0
- data/templates/ubuntu-10.04.4-server-amd64/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/zerodisk.sh +3 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/base.sh +24 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/chef.sh +2 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/cleanup.sh +22 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/definition.rb +44 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/ruby.sh +24 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/vagrant.sh +14 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/virtualbox.sh +10 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/zerodisk.sh +3 -0
- data/templates/ubuntu-10.04.4-server-i386/base.sh +24 -0
- data/templates/ubuntu-10.04.4-server-i386/chef.sh +2 -0
- data/templates/ubuntu-10.04.4-server-i386/cleanup.sh +22 -0
- data/templates/ubuntu-10.04.4-server-i386/definition.rb +28 -7
- data/templates/ubuntu-10.04.4-server-i386/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/ruby.sh +24 -0
- data/templates/ubuntu-10.04.4-server-i386/vagrant.sh +14 -0
- data/templates/ubuntu-10.04.4-server-i386/virtualbox.sh +10 -0
- data/templates/ubuntu-10.04.4-server-i386/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/zerodisk.sh +3 -0
- data/templates/ubuntu-10.10-server-amd64/base.sh +5 -2
- data/templates/ubuntu-10.10-server-amd64/cleanup.sh +1 -1
- data/templates/ubuntu-10.10-server-amd64/definition.rb +61 -35
- data/templates/ubuntu-10.10-server-amd64/preseed.cfg +1 -1
- data/templates/ubuntu-10.10-server-amd64/ruby.sh +6 -6
- data/templates/ubuntu-10.10-server-amd64/vagrant.sh +1 -1
- data/templates/ubuntu-11.04-server-amd64/definition.rb +1 -1
- data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +2 -2
- data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +2 -2
- data/templates/ubuntu-12.04.1-server-i386-packages/postinstall.sh +1 -1
- data/templates/ubuntu-12.04.1-server-i386/postinstall.sh +1 -1
- data/templates/ubuntu-12.04.2-desktop-amd64/definition.rb +36 -0
- data/templates/ubuntu-12.04.2-desktop-amd64/postinstall.sh +106 -0
- data/templates/ubuntu-12.04.2-desktop-amd64/preseed.cfg +86 -0
- data/templates/ubuntu-12.04.2-server-amd64-netboot/definition.rb +36 -0
- data/templates/{ubuntu-10.04.4-server-i386 → ubuntu-12.04.2-server-amd64-netboot}/postinstall.sh +25 -21
- data/templates/ubuntu-12.04.2-server-amd64-netboot/preseed.cfg +99 -0
- data/templates/ubuntu-12.04.2-server-amd64-packages/definition.rb +35 -0
- data/templates/{ubuntu-12.10-server-i386-packages → ubuntu-12.04.2-server-amd64-packages}/postinstall.sh +14 -11
- data/templates/ubuntu-12.04.2-server-amd64-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.2-server-amd64/base.sh +20 -0
- data/templates/ubuntu-12.04.2-server-amd64/chef.sh +2 -0
- data/templates/ubuntu-12.04.2-server-amd64/cleanup.sh +23 -0
- data/templates/ubuntu-12.04.2-server-amd64/definition.rb +45 -0
- data/templates/ubuntu-12.04.2-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.2-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/ruby.sh +26 -0
- data/templates/ubuntu-12.04.2-server-amd64/vagrant.sh +12 -0
- data/templates/ubuntu-12.04.2-server-amd64/virtualbox.sh +18 -0
- data/templates/ubuntu-12.04.2-server-amd64/vmfusion.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/vmtools.sh +33 -0
- data/templates/ubuntu-12.04.2-server-amd64/zerodisk.sh +3 -0
- data/templates/ubuntu-12.04.2-server-i386-netboot/definition.rb +36 -0
- data/templates/{ubuntu-10.04.4-server-amd64 → ubuntu-12.04.2-server-i386-netboot}/postinstall.sh +25 -30
- data/templates/ubuntu-12.04.2-server-i386-netboot/preseed.cfg +99 -0
- data/templates/ubuntu-12.04.2-server-i386-packages/definition.rb +35 -0
- data/templates/{ubuntu-12.10-server-amd64-packages → ubuntu-12.04.2-server-i386-packages}/postinstall.sh +5 -5
- data/templates/ubuntu-12.04.2-server-i386-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.2-server-i386/definition.rb +35 -0
- data/templates/ubuntu-12.04.2-server-i386/postinstall.sh +96 -0
- data/templates/ubuntu-12.04.2-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.3-desktop-i386/README.md +51 -0
- data/templates/ubuntu-12.04.3-desktop-i386/apt.sh +8 -0
- data/templates/ubuntu-12.04.3-desktop-i386/build_time.sh +1 -0
- data/templates/ubuntu-12.04.3-desktop-i386/chef.sh +3 -0
- data/templates/ubuntu-12.04.3-desktop-i386/cleanup.sh +16 -0
- data/templates/ubuntu-12.04.3-desktop-i386/definition.rb +57 -0
- data/templates/ubuntu-12.04.3-desktop-i386/preseed.cfg +106 -0
- data/templates/ubuntu-12.04.3-desktop-i386/puppet.sh +4 -0
- data/templates/ubuntu-12.04.3-desktop-i386/ruby.sh +25 -0
- data/templates/ubuntu-12.04.3-desktop-i386/sudo.sh +5 -0
- data/templates/ubuntu-12.04.3-desktop-i386/vagrant.sh +6 -0
- data/templates/ubuntu-12.04.3-desktop-i386/vbox.sh +18 -0
- data/templates/ubuntu-12.04.3-server-amd64/base.sh +20 -0
- data/templates/ubuntu-12.04.3-server-amd64/chef.sh +2 -0
- data/templates/ubuntu-12.04.3-server-amd64/cleanup.sh +23 -0
- data/templates/ubuntu-12.04.3-server-amd64/definition.rb +45 -0
- data/templates/ubuntu-12.04.3-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.3-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-12.04.3-server-amd64/ruby.sh +26 -0
- data/templates/ubuntu-12.04.3-server-amd64/vagrant.sh +12 -0
- data/templates/ubuntu-12.04.3-server-amd64/virtualbox.sh +18 -0
- data/templates/ubuntu-12.04.3-server-amd64/vmfusion.sh +7 -0
- data/templates/ubuntu-12.04.3-server-amd64/vmtools.sh +33 -0
- data/templates/ubuntu-12.04.3-server-amd64/zerodisk.sh +3 -0
- data/templates/ubuntu-12.04.3-server-i386/apt.sh +7 -0
- data/templates/ubuntu-12.04.3-server-i386/build_time.sh +1 -0
- data/templates/ubuntu-12.04.3-server-i386/chef.sh +3 -0
- data/templates/ubuntu-12.04.3-server-i386/cleanup.sh +16 -0
- data/templates/ubuntu-12.04.3-server-i386/definition.rb +45 -0
- data/templates/ubuntu-12.04.3-server-i386/preseed.cfg +61 -0
- data/templates/ubuntu-12.04.3-server-i386/puppet.sh +4 -0
- data/templates/ubuntu-12.04.3-server-i386/ruby.sh +25 -0
- data/templates/ubuntu-12.04.3-server-i386/sudo.sh +5 -0
- data/templates/ubuntu-12.04.3-server-i386/vagrant.sh +6 -0
- data/templates/ubuntu-12.04.3-server-i386/vbox.sh +18 -0
- data/templates/ubuntu-12.10-desktop-amd64/definition.rb +40 -0
- data/templates/ubuntu-12.10-desktop-amd64/postinstall.sh +106 -0
- data/templates/ubuntu-12.10-desktop-amd64/preseed.cfg +86 -0
- data/templates/ubuntu-12.10-server-amd64-packages/base.sh +20 -0
- data/templates/ubuntu-12.10-server-amd64-packages/chef.sh +49 -0
- data/templates/ubuntu-12.10-server-amd64-packages/cleanup.sh +25 -0
- data/templates/ubuntu-12.10-server-amd64-packages/definition.rb +11 -2
- data/templates/ubuntu-12.10-server-amd64-packages/puppet.sh +15 -0
- data/templates/ubuntu-12.10-server-amd64-packages/ruby.sh +7 -0
- data/templates/ubuntu-12.10-server-amd64-packages/vagrant.sh +27 -0
- data/templates/ubuntu-12.10-server-amd64-packages/virtualbox.sh +15 -0
- data/templates/ubuntu-12.10-server-amd64-packages/zerodisk.sh +11 -0
- data/templates/ubuntu-12.10-server-amd64/postinstall.sh +1 -1
- data/templates/ubuntu-12.10-server-i386-packages/base.sh +20 -0
- data/templates/ubuntu-12.10-server-i386-packages/chef.sh +49 -0
- data/templates/ubuntu-12.10-server-i386-packages/cleanup.sh +25 -0
- data/templates/ubuntu-12.10-server-i386-packages/definition.rb +11 -2
- data/templates/ubuntu-12.10-server-i386-packages/puppet.sh +15 -0
- data/templates/ubuntu-12.10-server-i386-packages/ruby.sh +7 -0
- data/templates/ubuntu-12.10-server-i386-packages/vagrant.sh +27 -0
- data/templates/ubuntu-12.10-server-i386-packages/virtualbox.sh +15 -0
- data/templates/ubuntu-12.10-server-i386-packages/zerodisk.sh +11 -0
- data/templates/ubuntu-12.10-server-i386/postinstall.sh +1 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/apt.sh +8 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/build_time.sh +1 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/chef.sh +1 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh +16 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/definition.rb +45 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/preseed.cfg +61 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/puppet.sh +1 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/rvm.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/sudo.sh +5 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/vagrant.sh +6 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/vbox.sh +18 -0
- data/templates/ubuntu-13.04-server-amd64/apt.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/build_time.sh +1 -0
- data/templates/ubuntu-13.04-server-amd64/chef.sh +3 -0
- data/templates/ubuntu-13.04-server-amd64/cleanup.sh +16 -0
- data/templates/ubuntu-13.04-server-amd64/definition.rb +45 -0
- data/templates/ubuntu-13.04-server-amd64/preseed.cfg +61 -0
- data/templates/ubuntu-13.04-server-amd64/puppet.sh +4 -0
- data/templates/ubuntu-13.04-server-amd64/ruby.sh +25 -0
- data/templates/ubuntu-13.04-server-amd64/sudo.sh +5 -0
- data/templates/ubuntu-13.04-server-amd64/vagrant.sh +6 -0
- data/templates/ubuntu-13.04-server-amd64/vbox.sh +18 -0
- data/templates/ubuntu-8.04.4-server-amd64/preseed.cfg +7 -7
- data/templates/ubuntu-8.04.4-server-i386/preseed.cfg +7 -7
- data/templates/windows-2008R1-serverstandard-amd64/Autounattend.xml +1 -0
- data/templates/windows-2008R1-serverweb-amd64/Autounattend.xml +1 -0
- data/templates/windows-2008R1-serverweb-amd64/install-cygwin-sshd.bat +1 -1
- data/templates/windows-2008R1-serverweb-i386/Autounattend.xml +6 -2
- data/templates/windows-2008R1-serverweb-i386/install-cygwin-sshd.bat +1 -1
- data/templates/windows-2008R1-serverwebcore-amd64/Autounattend.xml +1 -0
- data/templates/windows-2008R2-amd64/Autounattend.xml +4 -3
- data/templates/windows-2008R2-amd64/win7/Autounattend.xml +5 -3
- data/templates/windows-2008R2-serverstandard-amd64-winrm/Autounattend.xml +17 -12
- data/templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat +0 -2
- data/templates/windows-2008R2-serverstandard-amd64/Autounattend.xml +4 -5
- data/templates/windows-2008R2-serverstandard-amd64/definition.rb +3 -3
- data/templates/windows-2008R2-serverstandard-amd64/install-cygwin-sshd.bat +3 -2
- data/templates/windows-2008R2-serverweb-amd64/Autounattend.xml +4 -1
- data/templates/windows-2008R2-serverweb-amd64/install-cygwin-sshd.bat +1 -1
- data/templates/windows-2012-serverstandard-amd64/Autounattend.xml +235 -0
- data/templates/windows-2012-serverstandard-amd64/README.md +68 -0
- data/templates/windows-2012-serverstandard-amd64/definition.rb +29 -0
- data/templates/windows-2012-serverstandard-amd64/install-chef.bat +37 -0
- data/templates/windows-2012-serverstandard-amd64/install-puppet.bat +37 -0
- data/templates/windows-2012-serverstandard-amd64/install-vbox.bat +4 -0
- data/templates/windows-2012-serverstandard-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2012R2-serverdatacenter-amd64/Autounattend.xml +235 -0
- data/templates/windows-2012R2-serverdatacenter-amd64/README.md +68 -0
- data/templates/windows-2012R2-serverdatacenter-amd64/definition.rb +33 -0
- data/templates/windows-2012R2-serverdatacenter-amd64/install-chef.bat +37 -0
- data/templates/windows-2012R2-serverdatacenter-amd64/install-puppet.bat +37 -0
- data/templates/windows-2012R2-serverdatacenter-amd64/install-vbox.bat +4 -0
- data/templates/windows-2012R2-serverdatacenter-amd64/oracle-cert.cer +0 -0
- data/templates/windows-7-enterprise-amd64-winrm/Autounattend.xml +17 -10
- data/templates/windows-7-enterprise-amd64/Autounattend.xml +4 -3
- data/templates/windows-7-enterprise-amd64/install-cygwin-sshd.bat +1 -1
- data/templates/windows-7-enterprise-i386/Autounattend.xml +4 -3
- data/templates/windows-7-enterprise-i386/install-cygwin-sshd.bat +1 -1
- data/templates/windows-7-premium-amd64/Autounattend.xml +4 -4
- data/templates/windows-7-professional-amd64/Autounattend.xml +4 -4
- data/templates/windows-7-professional-amd64/install-cygwin-sshd.bat +1 -1
- data/templates/windows-7-professional-amd64/postinstall.sh +2 -2
- data/templates/windows-7-ultimate-amd64/Autounattend.xml +4 -4
- data/templates/windows-7-ultimate-amd64/install-cygwin-sshd.bat +1 -1
- data/templates/windows-7sp1-ultimate-amd64/Autounattend.xml +4 -3
- data/templates/windows-7sp1-ultimate-amd64/install-cygwin-sshd.bat +2 -2
- data/test/build_realtest.rb +15 -5
- data/test/environment_test.rb +2 -1
- data/veewee.gemspec +6 -4
- metadata +689 -87
- data/doc/README-changes.txt +0 -20
- data/doc/TODO +0 -60
- data/doc/definition.md +0 -83
- data/doc/install.md +0 -16
- data/doc/running.md +0 -83
- data/doc/template.md +0 -153
- data/lib/veewee/provider/vmfusion/box/export_ova.rb +0 -49
- data/templates/Debian-5.0.10-amd64-netboot/postinstall.sh +0 -60
- data/templates/Debian-5.0.10-i386-netboot/postinstall.sh +0 -60
- data/templates/Debian-5.0.8-amd64-netboot/postinstall.sh +0 -60
- data/templates/Debian-5.0.8-i386-netboot/postinstall.sh +0 -60
- data/templates/Debian-7.0-b4-amd64-netboot/puppet.sh +0 -2
- data/templates/Debian-7.0-b4-i386-netboot/puppet.sh +0 -2
- data/templates/Fedora-18-i386/postinstall.sh +0 -40
- data/templates/Fedora-18-x86_64/postinstall.sh +0 -43
- data/templates/archlinux-i386-netboot/aif.cfg +0 -28
- data/templates/archlinux-i386-netboot/definition.rb +0 -26
- data/templates/archlinux-i386-netboot/postinstall.sh +0 -75
- data/templates/archlinux-i386-netboot/postinstall2.sh +0 -30
- data/templates/archlinux-x86_64-netboot/aif.cfg +0 -28
- data/templates/archlinux-x86_64-netboot/definition.rb +0 -26
- data/templates/archlinux-x86_64-netboot/postinstall.sh +0 -75
- data/templates/archlinux-x86_64-netboot/postinstall2.sh +0 -30
- data/templates/archlinux-x86_64/aif.cfg +0 -33
- data/templates/archlinux-x86_64/postinstall.sh +0 -90
- data/templates/archlinux-x86_64/postinstall2.sh +0 -38
- data/templates/gentoo-latest-i386-experimental/definition.rb +0 -45
- data/templates/gentoo-latest-i386-experimental/postinstall.sh +0 -184
- data/templates/gentoo-latest-x86_64-experimental/definition.rb +0 -45
- data/templates/gentoo-latest-x86_64-experimental/postinstall.sh +0 -214
- data/validation/features/steps/ssh_steps.old +0 -170
- data/validation/features/steps/veewee_steps.rb +0 -27
- data/validation/support/env.rb +0 -1
- data/validation/veewee-windows.feature +0 -34
- data/validation/veewee.feature +0 -45
data/.gitignore
CHANGED
@@ -9,6 +9,8 @@ tmp/*
|
|
9
9
|
definitions/*
|
10
10
|
Vagrantfile
|
11
11
|
Vagrantfile.*
|
12
|
+
!lib/veewee/templates/Vagrantfile.erb
|
13
|
+
!lib/veewee/provider/kvm/templates/Vagrantfile
|
12
14
|
cookbooks/*
|
13
15
|
manifests/*
|
14
16
|
boxes/*
|
@@ -17,3 +19,6 @@ pkg/*
|
|
17
19
|
.vagrant
|
18
20
|
virtualfloppy.vfd
|
19
21
|
*.swp
|
22
|
+
AutoPartition.app
|
23
|
+
.rbenv-gemsets
|
24
|
+
.project
|
data/.rvmrc
CHANGED
data/.travis.yml
ADDED
data/CONTRIBUTE.md
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# Contribute to Veewee
|
2
|
+
|
3
|
+
If you are looking to improve Veewee in some manner, you've come to the right place.
|
4
|
+
|
5
|
+
|
6
|
+
## TODOs
|
7
|
+
|
8
|
+
A running [TODO](doc/TODO.md) list is available for ideas on future improvements.
|
9
|
+
|
10
|
+
|
11
|
+
## Steps to Contribute
|
12
|
+
|
13
|
+
### Getting started
|
14
|
+
|
15
|
+
In order to contribute anything, you'll want to follow these steps first:
|
16
|
+
|
17
|
+
* Get an account on [Github](https://github.com)
|
18
|
+
* Then fork the [veewee repository](https://github.com/jedi4ever/veewee) to your own Github account
|
19
|
+
* If you haven't already, familiarize yourself with the [Requirements](doc/requirements.md) and [Installation](doc/installation.md) docs
|
20
|
+
* Clone the veewee **fork** to your machine:
|
21
|
+
|
22
|
+
~~~ sh
|
23
|
+
$ cd <path_to_workspace>
|
24
|
+
$ git clone https://github.com/<your github account>/veewee.git
|
25
|
+
$ cd veewee
|
26
|
+
~~~
|
27
|
+
|
28
|
+
* Check out a new branch to make your changes on: `git checkout -b <your_new_patch>`
|
29
|
+
|
30
|
+
|
31
|
+
### For adding a new Template
|
32
|
+
|
33
|
+
If you have a new and amazing Veewee definition, share your 'template'. That would be fun!
|
34
|
+
|
35
|
+
* Before saving changes to a 'template', first try your changes in `definitions/mynewos/`
|
36
|
+
* Build the box and run the **validation** tests
|
37
|
+
* When the box builds OK and all tests are green, move `definition/mynewos/` to a sensible directory under the `templates/` directory. **Hint:** Follow the same naming schema of existing boxes (explained in the [Veewee Basics](doc/basics.md) doc)
|
38
|
+
|
39
|
+
|
40
|
+
### For adding new Features
|
41
|
+
|
42
|
+
* Run any existing tests that are related to your patch
|
43
|
+
* For bonus points add tests to validate your changes
|
44
|
+
|
45
|
+
|
46
|
+
### To submit your Contribution
|
47
|
+
|
48
|
+
* Please commit with descriptive messages
|
49
|
+
* Submit a pull request on Github from the __your_new_patch__ branch on __your fork__ to the __master__ branch on __jedi4ever/veewee__
|
50
|
+
* One of the editors will review the change, and either merge it or provide some feedback. Community review is also encouraged.
|
51
|
+
|
data/Gemfile
CHANGED
@@ -8,11 +8,20 @@ source "http://rubygems.org"
|
|
8
8
|
#gem "veewee", :path => "."
|
9
9
|
#gem "fission", :path => '/Users/patrick/dev/fission'
|
10
10
|
|
11
|
+
group :kvm do
|
12
|
+
gem "ruby-libvirt"
|
13
|
+
end
|
14
|
+
|
15
|
+
group :windows do
|
16
|
+
gem "em-winrm", :git => 'http://github.com/hh/em-winrm.git', :ref => '31745601d3'
|
17
|
+
gem "log4r"
|
18
|
+
end
|
19
|
+
|
11
20
|
group :test do
|
12
21
|
gem "rake"
|
13
|
-
#gem "
|
14
|
-
gem "em-winrm", :git => 'git://github.com/hh/em-winrm.git', :ref => '31745601d3'
|
22
|
+
#gem "vagrant" , "1.0.7"
|
15
23
|
#gem "chef"
|
16
24
|
#gem "knife-windows"
|
17
25
|
end
|
26
|
+
|
18
27
|
gemspec
|
data/README.md
CHANGED
@@ -1,37 +1,103 @@
|
|
1
|
-
|
1
|
+
# Veewee
|
2
2
|
|
3
|
-
|
4
|
-
The first step is to download an existing 'base box'. I believe this scares a lot of people as they don't know who or how this box was built. Therefore lots of people end up first building their own base box to use with vagrant.
|
3
|
+
[![Build Status](https://travis-ci.org/jedi4ever/veewee.png)](https://travis-ci.org/jedi4ever/veewee)
|
5
4
|
|
6
|
-
|
5
|
+
Veewee is a tool for easily (and repeatedly) building custom [Vagrant](https://github.com/mitchellh/vagrant) base boxes, KVMs, and virtual machine images.
|
7
6
|
|
8
|
-
- create vmware (fusion), kvm virtual machines
|
9
|
-
- interact with with those vms (up, destroy, halt, ssh)
|
10
|
-
- export them : OVA for fusion, IMG for KVM and ovf for virtualbox
|
11
7
|
|
12
|
-
|
8
|
+
## About Vagrant
|
13
9
|
|
14
|
-
- the [
|
15
|
-
- the [installation](https://github.com/jedi4ever/veewee/tree/master/doc/installation.md) procedure
|
10
|
+
Vagrant is a great tool for creating and configuring lightweight, reproducible, portable virtual machine environments - often used with the addition of automation tools such as [Chef](https://github.com/opscode/chef) or [Puppet](https://github.com/puppetlabs/puppet).
|
16
11
|
|
17
|
-
|
12
|
+
The first step to build a new virtual machine is to download an existing 'base box'. I believe this scares a lot of people as they don't know how these unverified boxes were built. Therefore a lot of people end up building their own base box which is often time consuming and cumbersome. Veewee aims to automate all the steps for building base boxes and to collect best practices in a transparent way.
|
18
13
|
|
19
|
-
- [guide for vagrant](https://github.com/jedi4ever/veewee/tree/master/doc/vagrant.md)
|
20
14
|
|
21
|
-
|
22
|
-
- [guide for Vmware fusion](https://github.com/jedi4ever/veewee/tree/master/doc/fusion.md)
|
23
|
-
- [guide for KVM](https://github.com/jedi4ever/veewee/tree/master/doc/kvm.md)
|
15
|
+
## Veewee's Supported VM Providers
|
24
16
|
|
25
|
-
|
17
|
+
Veewee isn't only for Vagrant. It currently supports exporting VM images for the following providers:
|
18
|
+
|
19
|
+
* [VirtualBox](http://www.virtualbox.org/) - exports to `OVF` filetype
|
20
|
+
* [VMware (Fusion)](http://www.vmware.com/products/fusion/) - exports to `OVA` filetype
|
21
|
+
* [KVM](http://www.linux-kvm.org/) - exports to `IMG` filetype
|
22
|
+
* [Parallels](http://www.parallels.com/) - none yet, but can export to `parallels` format (provided by [vagrant-parallels](https://github.com/yshahin/vagrant-parallels))
|
23
|
+
|
24
|
+
|
25
|
+
## Getting Started
|
26
|
+
|
27
|
+
Before you start, we recommend reading through these pages:
|
28
|
+
|
29
|
+
* [Requirements](doc/requirements.md) that must be met before installing Veewee
|
30
|
+
* [Veewee Installation](doc/installation.md) instructions
|
31
|
+
* [Command Options](doc/commands.md) highlights various approaches for executing Veewee on the command line
|
32
|
+
|
33
|
+
Next, learn about Veewee fundamentals:
|
34
|
+
|
35
|
+
* [Veewee Basics](doc/basics.md) covers creating standard-issue boxes
|
36
|
+
* [Customizing Definitions](doc/customize.md) helps you fine tune each box definition to meet your exact needs
|
37
|
+
* [Veeweefile](doc/veeweefile.md) can be used to define your own paths
|
38
|
+
|
39
|
+
Then depending on how you want to use Veewee, we suggest to read through one of the following guides:
|
40
|
+
|
41
|
+
* [Guide for Vagrant](doc/vagrant.md)
|
42
|
+
* [Guide for VirtualBox](doc/vbox.md)
|
43
|
+
* [Guide for VMware Fusion](doc/fusion.md)
|
44
|
+
* [Guide for KVM](doc/kvm.md)
|
45
|
+
* [Guide for Parallels Desktop](doc/parallels.md)
|
46
|
+
|
47
|
+
Major noteworthy changes between versions can be found here:
|
48
|
+
|
49
|
+
* [Changes](doc/changes.md) between versions
|
50
|
+
|
51
|
+
A complete list of all docs can be found by viewing the [doc directory](doc).
|
26
52
|
|
27
|
-
People have reported good experiences, why don't you give it a try?
|
28
53
|
|
29
|
-
##
|
54
|
+
## Veewee Commands
|
30
55
|
|
31
|
-
|
56
|
+
Below is an overview of the `veewee` command options:
|
57
|
+
|
58
|
+
$ bundle exec veewee
|
59
|
+
|
60
|
+
# Commands:
|
61
|
+
# veewee add_share # Adds a Share to the Guest
|
62
|
+
# veewee fusion # Subcommand for Vmware fusion
|
63
|
+
# veewee help [COMMAND] # Describe available commands or one specific command
|
64
|
+
# veewee kvm # Subcommand for KVM
|
65
|
+
# veewee parallels # Subcommand for Parallels
|
66
|
+
# veewee vbox # Subcommand for VirtualBox
|
67
|
+
# veewee version # Prints the Veewee version information
|
68
|
+
|
69
|
+
Learn how to avoid typing `bundle exec` by visiting the [Commands](doc/commands.md) doc.
|
70
|
+
|
71
|
+
|
72
|
+
## Veewee Provider Subcommands
|
73
|
+
|
74
|
+
Below is an overview of the `veewee` provider subcommand options:
|
75
|
+
|
76
|
+
$ bundle exec veewee <provider>
|
77
|
+
|
78
|
+
# Commands:
|
79
|
+
# veewee <provider> build [BOX_NAME] # Build box
|
80
|
+
# veewee <provider> copy [BOXNAME] [SRC] [DST] # Copy a file to the VM
|
81
|
+
# veewee <provider> define [BOXNAME] [TEMPLATE] # Define a new basebox starting from a template
|
82
|
+
# veewee <provider> destroy [BOXNAME] # Destroys the basebox that was built
|
83
|
+
# veewee <provider> halt [BOXNAME] # Activates a shutdown on the basebox
|
84
|
+
# veewee <provider> help [COMMAND] # Describe subcommands or one specific subcommand
|
85
|
+
# veewee <provider> list # Lists all defined boxes
|
86
|
+
# veewee <provider> ostypes # List the available Operating System types
|
87
|
+
# veewee <provider> screenshot [NAME] [PNGFILENAME] # Takes a screenshot of the box
|
88
|
+
# veewee <provider> ssh [BOXNAME] [COMMAND] # Interactive ssh login
|
89
|
+
# veewee <provider> templates # List the currently available templates
|
90
|
+
# veewee <provider> undefine [BOXNAME] # Removes the definition of a basebox
|
91
|
+
# veewee <provider> up [BOXNAME] # Starts a Box
|
92
|
+
# veewee <provider> validate [NAME] # Validates a box against vagrant compliancy rules
|
93
|
+
# veewee <provider> winrm [BOXNAME] [COMMAND] # Execute command via winrm
|
94
|
+
|
95
|
+
|
96
|
+
## Contribute
|
97
|
+
|
98
|
+
People have reported good experiences, why don't you give it a try?
|
32
99
|
|
33
|
-
|
100
|
+
If you have a setup working, share your 'definition' with me. That would be fun!
|
34
101
|
|
35
|
-
[
|
102
|
+
See [CONTRIBUTE.md](CONTRIBUTE.md).
|
36
103
|
|
37
|
-
See [use of pre_postinstall_file in definition.rb](https://github.com/whren/veewee/wiki/Use-of-pre_postinstall_file-in-definition.rb)
|
data/Rakefile
CHANGED
@@ -8,7 +8,6 @@ desc 'Default: run tests'
|
|
8
8
|
task :default => :test
|
9
9
|
|
10
10
|
require 'rake/testtask'
|
11
|
-
Bundler::GemHelper.install_tasks
|
12
11
|
|
13
12
|
desc 'Tests not requiring an real box'
|
14
13
|
Rake::TestTask.new do |t|
|
@@ -67,7 +66,7 @@ task :iso, [:template_name] do |t, args|
|
|
67
66
|
# other problem, raise
|
68
67
|
raise "Got ftp site but doesn't support size subcommand"
|
69
68
|
end
|
70
|
-
# fallback solution
|
69
|
+
# fallback solution
|
71
70
|
end
|
72
71
|
|
73
72
|
end
|
@@ -83,18 +82,22 @@ task :iso, [:template_name] do |t, args|
|
|
83
82
|
end
|
84
83
|
end
|
85
84
|
|
86
|
-
desc '
|
87
|
-
task :autotest, [:
|
85
|
+
desc 'Builds a template and runs validation.'
|
86
|
+
task :autotest, [:name] do |t, args|
|
87
|
+
|
88
|
+
# Disable color if the proper argument was passed
|
89
|
+
shell = ARGV.include?("--no-color") ? Thor::Shell::Basic.new : Thor::Base.shell.new
|
88
90
|
|
89
91
|
# We overrule all timeouts for tcp and ssh
|
90
92
|
#ENV['VEEWEE_TIMEOUT']='600'
|
91
93
|
|
92
94
|
ve = Veewee::Environment.new
|
95
|
+
ve.ui = ::Veewee::UI::Shell.new(ve, shell)
|
93
96
|
ve.templates.each do |name, template|
|
94
97
|
|
95
98
|
# If pattern was given, only take the ones that match the pattern
|
96
|
-
unless args[:
|
97
|
-
next unless name
|
99
|
+
unless args[:name].nil?
|
100
|
+
next unless name == args[:name]
|
98
101
|
end
|
99
102
|
|
100
103
|
begin
|
@@ -104,7 +107,7 @@ task :autotest, [:pattern] do |t, args|
|
|
104
107
|
puts "AUTO: Building #{name}"
|
105
108
|
box.build({ "auto" => true, "force" => true, 'nogui' => true })
|
106
109
|
puts "AUTO: Validating #{name}"
|
107
|
-
box.validate_vagrant
|
110
|
+
box.validate_vagrant({'tags' => ['virtualbox']})
|
108
111
|
puts "AUTO: Success #{name}"
|
109
112
|
box.destroy
|
110
113
|
rescue Exception => ex
|
@@ -118,6 +121,7 @@ task :autotest, [:pattern] do |t, args|
|
|
118
121
|
puts "AUTO: Error taking screenshot"
|
119
122
|
end
|
120
123
|
end
|
124
|
+
exit -1
|
121
125
|
end
|
122
126
|
|
123
127
|
end
|
data/bin/veewee
CHANGED
data/doc/TODO.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# TODO
|
2
|
+
|
3
|
+
## Ideas
|
4
|
+
|
5
|
+
* Integrate Veewee with your CI build to create baseboxes on a daily basis
|
6
|
+
* Use of pre_postinstall_file in `definition.rb` _by whren - 2012-04-12_. See [use of pre_postinstall_file in definition.rb](https://github.com/whren/veewee/wiki/use-of-pre_postinstall_file-in-definition.rb)]
|
7
|
+
|
8
|
+
|
9
|
+
## Requirements
|
10
|
+
|
11
|
+
virtualbox ->
|
12
|
+
|
13
|
+
kvm -> ruby-libvirt gem
|
14
|
+
v0.8.3 or higher
|
15
|
+
require libvirt 0.8+ version
|
16
|
+
have a default dir pool installed
|
17
|
+
permissions to write create new volumes
|
18
|
+
|
19
|
+
vmfusion -> VMWare fusion installed
|
20
|
+
Tested on VMWare fusion 0.3.x
|
21
|
+
|
22
|
+
|
23
|
+
## Changes to Definitions
|
24
|
+
|
25
|
+
Virtualbox options ioapic, pae are now moved to :virtualbox => { vm_options => [ :ioapic => 'on' ]} ;
|
26
|
+
Now you can pass all options you have to virtualbox
|
27
|
+
|
28
|
+
|
29
|
+
## Use as a library
|
30
|
+
|
31
|
+
ostype_id (not used for all providers)
|
32
|
+
|
33
|
+
Rakefile contains check iso
|
34
|
+
Rakefile contains test
|
35
|
+
Rakefile contains real_test
|
36
|
+
|
37
|
+
|
38
|
+
## Templates
|
39
|
+
|
40
|
+
check for .veewee_version or .vmfusion_version to see for which provider we are building this
|
41
|
+
include/exclude can do this
|
42
|
+
default user becomes veewee, vagrant.sh will create the vagrant user if used under vagrant
|
43
|
+
uploading vmware.iso
|
44
|
+
uploading virtualbox.iso
|
45
|
+
|
46
|
+
|
47
|
+
## Validation
|
48
|
+
|
49
|
+
veewee.feature (depending on virtualbox, vagrant)
|
50
|
+
no more ssh_steps
|
51
|
+
uses @tags per provider
|
52
|
+
|
53
|
+
# veewee vmfusion export ova
|
54
|
+
# vagrant basebox export box
|
55
|
+
|
56
|
+
|
57
|
+
## New options
|
58
|
+
|
59
|
+
--postinstall-include/exclude
|
60
|
+
--auto (download yes)
|
61
|
+
--force also for export
|
62
|
+
--debug (debug output)
|
63
|
+
|
64
|
+
ostypes are now synchronized accross kvm
|
65
|
+
|
66
|
+
|
67
|
+
## More Todos
|
68
|
+
|
69
|
+
veewee steps (username,password, + VEEWEE env variables)
|
70
|
+
validate vms - + features selection
|
71
|
+
check libvirt version
|
72
|
+
windows test
|
73
|
+
validation of checks (also - include/exclude)
|
74
|
+
check execs with exit code
|
75
|
+
multinetwork card
|
76
|
+
dkms for kernel installs
|
data/doc/basics.md
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
# Veewee Basics
|
2
|
+
|
3
|
+
Veewee uses definitions to build new virtual machines. And every 'definition' is derived from a 'template'.
|
4
|
+
|
5
|
+
A template is represented by a sub-directory in the `templates/` folder. There you'll find many preconfigured templates. With a single template you can spawn any number of customizable defintions.
|
6
|
+
|
7
|
+
|
8
|
+
## Template naming scheme
|
9
|
+
|
10
|
+
Each template folder name follows a naming scheme to help you choosing the right template:
|
11
|
+
|
12
|
+
<OS name>-<version>-<architecture>[-<install flavor>]
|
13
|
+
|
14
|
+
For example, the template for a Ubuntu 12.10 server (i386) basebox looks like this:
|
15
|
+
|
16
|
+
ubuntu-12.10-server-i386[-netboot]
|
17
|
+
^ ^ ^ ^
|
18
|
+
| | | +----- install flavor
|
19
|
+
| | +----- architecture
|
20
|
+
| +----- version
|
21
|
+
+----- OS name
|
22
|
+
|
23
|
+
|
24
|
+
## Typical usage
|
25
|
+
|
26
|
+
A common workflow to build a new base box with Veewee is:
|
27
|
+
|
28
|
+
1. List all templates to find a single template to use
|
29
|
+
2. Define a new box definition from a selected template
|
30
|
+
3. [Customize](customize.md) the definition (optional)
|
31
|
+
4. Build a VM using standard ISOs, your own definition settings, and some postinstall scripts
|
32
|
+
5. Validate the new VM
|
33
|
+
6. Manually alter the VM by logging in with ssh (optional; but not recommended)
|
34
|
+
7. Export the VM for distribution or to be used in Vagrant
|
35
|
+
|
36
|
+
|
37
|
+
## Getting help
|
38
|
+
|
39
|
+
If you'd like some help with a particular command:
|
40
|
+
|
41
|
+
$ bundle exec veewee help <command>
|
42
|
+
|
43
|
+
And if you're not sure how to use a subcommand, get help with:
|
44
|
+
|
45
|
+
$ bundle exec veewee <provider> help <subcommand>
|
46
|
+
|
47
|
+
The subcommand help is often useful since it will list available optional flag arguments.
|
48
|
+
|
49
|
+
|
50
|
+
## List existing definitions
|
51
|
+
|
52
|
+
To list all available definitions that you've previously created or copied:
|
53
|
+
|
54
|
+
$ bundle exec veewee <provider> list
|
55
|
+
|
56
|
+
|
57
|
+
## Listing available templates
|
58
|
+
|
59
|
+
Veewee provides templates for a lot of different operation systems. To see all the templates provided:
|
60
|
+
|
61
|
+
$ bundle exec veewee <provider> templates
|
62
|
+
|
63
|
+
Templates have the same structure as definitions, but templates are used to generate definitions. Definitions are simply **your** customizable templates that you can modify as you see fit.
|
64
|
+
|
65
|
+
|
66
|
+
## Create a definition
|
67
|
+
|
68
|
+
A definition is created by cloning a template into the `definitions/` folder.
|
69
|
+
|
70
|
+
To create a definition, use the `define` subcommand:
|
71
|
+
|
72
|
+
$ bundle exec veewee <provider> define 'myubuntubox' 'ubuntu-12.10-server-amd64'
|
73
|
+
|
74
|
+
If you want to use an external repository for the definition, you can specify a git URL:
|
75
|
+
|
76
|
+
$ bundle exec veewee <provider> define 'myubuntubox' 'git://github.com/jedi4ever/myubuntubox'
|
77
|
+
|
78
|
+
|
79
|
+
## Modify a definition (optional)
|
80
|
+
|
81
|
+
You can tweak and customize every detail of the box by modifying and extending the (sane) default settings
|
82
|
+
that come with a template. If you want to modify these settings take a look at the [Customization](customize.md) instructions.
|
83
|
+
|
84
|
+
|
85
|
+
## Remove a definition
|
86
|
+
|
87
|
+
If you change your mind and want to get rid of a definition simply call this subcommand:
|
88
|
+
|
89
|
+
$ bundle exec veewee <provider> undefine 'myubuntubox'
|
90
|
+
|
91
|
+
Or you can remove the folder under `definitions`:
|
92
|
+
|
93
|
+
$ rm -r ./definitions/myubuntubox
|
94
|
+
|
95
|
+
|
96
|
+
## Manage ISO files
|
97
|
+
|
98
|
+
The distro ISOs (also called *disk images*) provide all files needed to install the OS. This file is essential for starting the installation process.
|
99
|
+
|
100
|
+
If you already have an `.iso` file for the desired distribution on your disk, put it inside the `iso/` directory and make sure `definition.rb` is referencing the correct file.
|
101
|
+
|
102
|
+
If an expected ISO is not found in the `iso/` directory, Veewee will ask you to download the ISO file from the web. Depending on your internet connection fetching an ISO file can take a while.
|
103
|
+
|
104
|
+
|
105
|
+
## Build a new VM image
|
106
|
+
|
107
|
+
In order to build the defined box, execute this subcommand:
|
108
|
+
|
109
|
+
$ bundle exec veewee <provider> build 'myubuntubox'
|
110
|
+
|
111
|
+
The `build` subcommand can take the following optional flags:
|
112
|
+
|
113
|
+
Flag Option | Description
|
114
|
+
-----------------------------|-------------
|
115
|
+
--force | overwrites if already exists
|
116
|
+
--auto | automatically downloads the ISO without asking
|
117
|
+
--nogui | builds in the background rather than opening a VM GUI and building in the GUI window
|
118
|
+
--debug | enabled debug mode output
|
119
|
+
--redirectconsole | redirects console output
|
120
|
+
--postinstall-include=[...] | forces specified file(s) to get included in postinstall even if filename has a leading underscore
|
121
|
+
--postinstall-exclude=[...] | forces specified file(s) to get excluded from postinstall even if filename has no leading underscore
|
122
|
+
|
123
|
+
The `build` subcommand will run the following routines behind the scenes:
|
124
|
+
|
125
|
+
* Create a machine and disk according to the `definition.rb`
|
126
|
+
Note: `:os_type_id` is the internal name Virtualbox uses for a given distribution
|
127
|
+
* Mount the ISO file `:iso_file`
|
128
|
+
* Boot up the machine and wait for `:boot_time`
|
129
|
+
* Send the keystrokes in `:boot_cmd_sequence`
|
130
|
+
* Start up a webserver on `:kickstart_port` to wait for a request from the `:kickstart_file`
|
131
|
+
IMPORTANT: Do NOT navigate to the file in your browser or the server will stop and the installer will not be able to find your preseed
|
132
|
+
* Wait for ssh login to work with `:ssh_user` and `:ssh_password`
|
133
|
+
* `sudo` execute the `:postinstall_files`
|
134
|
+
|
135
|
+
|
136
|
+
## Validate a build
|
137
|
+
|
138
|
+
After an OS has been installed on your VM image, you can verify that the machine is configured as intended with the `validate` subcommand. Veewee provides several tests to help you with that. The tests are located under the `validation/` directory.
|
139
|
+
|
140
|
+
This subcommand executes all tests on a given machine:
|
141
|
+
|
142
|
+
$ bundle exec veewee <provider> validate 'myubuntubox'
|
143
|
+
|
144
|
+
Validate will run some [cucumber tests](http://cukes.info/) against the box to see if it has the necessary bits and pieces (e.g. for vagrant to work).
|
145
|
+
|
146
|
+
|
147
|
+
## Export a build for distribution
|
148
|
+
|
149
|
+
The following subcommand take care of exporting:
|
150
|
+
|
151
|
+
$ bundle exec veewee <provider> export 'mybuntubox'
|
152
|
+
|
153
|
+
The exported filetype depends on the provider. For more details on the providers, please have a look at the [Providers](providers.md) doc.
|
154
|
+
|
155
|
+
|
156
|
+
## Learn by example
|
157
|
+
|
158
|
+
Let's say you'd like to make a *Ubuntu 12.10 server (i386)* base box that's compatible with VirtualBox.
|
159
|
+
|
160
|
+
First go and find the `ubuntu-12.10-server-i386` template:
|
161
|
+
|
162
|
+
$ bundle exec veewee vbox templates | grep -i ubuntu
|
163
|
+
|
164
|
+
Then use the `define` command to create a new definition with a custom name. The following command copies the folder `templates/ubuntu-12.10-server-i386` to `definitions/myubuntubox`:
|
165
|
+
|
166
|
+
$ bundle exec veewee vbox define 'myubuntubox' 'ubuntu-12.10-server-i386'
|
167
|
+
#
|
168
|
+
# The basebox 'myubuntubox' has been successfully created from the template 'ubuntu-12.10-server-i386'
|
169
|
+
# You can now edit the definition files stored in definitions/myubuntubox or build the box with:
|
170
|
+
# veewee vbox build 'myubuntubox'
|
171
|
+
|
172
|
+
**IMPORTANT:** You should avoid dots in the name because the box name gets used as the hostname also. Dots in the box name currently lead to invalid hostnames which causes several negative side effects (e.g. preventing the network devices to start).
|
173
|
+
|
174
|
+
Confirm that all expected files are in place:
|
175
|
+
|
176
|
+
$ ls definitions/myubuntubox
|
177
|
+
# => definition.rb postinstall.sh preseed.cfg ...
|
178
|
+
|
179
|
+
You can now inspect and optionally [customize](customize.md) the defaults.
|
180
|
+
|
181
|
+
Next it's time to build the VM image with:
|
182
|
+
|
183
|
+
$ bundle exec veewee vbox build 'myubuntubox'
|
184
|
+
|
185
|
+
Veewee now asks to download the distro ISO (unless `--auto` is provided) and will start creating the VM image. This process can take some time.
|
186
|
+
|
187
|
+
After the build completes, you can run the provided test suite on your new VM:
|
188
|
+
|
189
|
+
$ bundle exec veewee vbox validate 'myubuntubox'
|
190
|
+
|
191
|
+
Validation is highly recommended before requesting a fork pull on any modified templates.
|
192
|
+
|
193
|
+
Finally let's export the box so it can be distributed or used by Vagrant:
|
194
|
+
|
195
|
+
$ bundle exec veewee vbox export 'myubuntubox'
|
196
|
+
|
197
|
+
|
198
|
+
## Up Next
|
199
|
+
|
200
|
+
[Customizing Definitions](customize.md) helps you fine tune each box definition to meet your exact needs.
|