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
@@ -1,30 +0,0 @@
|
|
1
|
-
# install virtualbox guest additions
|
2
|
-
VBOX_VERSION=$(cat /root/.vbox_version)
|
3
|
-
cd /tmp
|
4
|
-
wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
|
5
|
-
mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
|
6
|
-
sh /mnt/VBoxLinuxAdditions.run
|
7
|
-
umount /mnt
|
8
|
-
rm VBoxGuestAdditions_"$VBOX_VERSION".iso
|
9
|
-
|
10
|
-
# host-only networking
|
11
|
-
cat >> /etc/rc.local <<EOF
|
12
|
-
# enable DHCP at boot on eth0
|
13
|
-
# See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
|
14
|
-
dhcpcd -k eth0
|
15
|
-
dhcpcd -nd eth0
|
16
|
-
EOF
|
17
|
-
|
18
|
-
# clean out pacman cache
|
19
|
-
pacman -Scc<<EOF
|
20
|
-
y
|
21
|
-
y
|
22
|
-
EOF
|
23
|
-
|
24
|
-
# zero out the fs
|
25
|
-
dd if=/dev/zero of=/clean bs=4M|| rm /clean
|
26
|
-
dd if=/dev/zero of=/tmp/clean bs=4M|| rm /tmp/clean
|
27
|
-
dd if=/dev/zero of=/boot/clean bs=4M|| rm /boot/clean
|
28
|
-
|
29
|
-
# and the final reboot!
|
30
|
-
#reboot
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# Archlinux AIF config file
|
2
|
-
# created by Dave Simons
|
3
|
-
# 21/09/2011
|
4
|
-
|
5
|
-
# install source
|
6
|
-
SOURCE=net
|
7
|
-
if [ -d /repo/core ]; then
|
8
|
-
TARGET_REPOSITORIES=(core 'file:///repo/$repo/$arch')
|
9
|
-
else
|
10
|
-
MIRROR='http://archlinux.mirror.kangaroot.net/$repo/os/$arch'
|
11
|
-
TARGET_REPOSITORIES=(core $var_MIRRORLIST extra $var_MIRRORLIST)
|
12
|
-
fi
|
13
|
-
|
14
|
-
# time/date
|
15
|
-
HARDWARECLOCK=localtime
|
16
|
-
TIMEZONE=Europe/Brussels
|
17
|
-
|
18
|
-
# packages to install
|
19
|
-
TARGET_GROUPS=base
|
20
|
-
TARGET_PACKAGES='sudo openssh vim ruby linux-headers make gcc glibc git perl net-tools'
|
21
|
-
TARGET_PACKAGES_EXCLUDE='nano emacs wpa_supplicant xfsprogs reiserfsprogs pcmciautils mdadm jfsutils cryptsetup lvm2'
|
22
|
-
|
23
|
-
# hard drive setup
|
24
|
-
GRUB_DEVICE='/dev/sda'
|
25
|
-
PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4'
|
26
|
-
BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
|
27
|
-
/dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
|
28
|
-
/dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params'
|
@@ -1,26 +0,0 @@
|
|
1
|
-
Veewee::Session.declare({
|
2
|
-
:cpu_count => '1', :memory_size=> '256',
|
3
|
-
:disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
|
4
|
-
:os_type_id => 'ArchLinux_64',
|
5
|
-
:iso_file => "archlinux-2011.08.19-netinstall-x86_64.iso",
|
6
|
-
:iso_src => "http://archlinux.mirror.kangaroot.net/iso/2011.08.19/archlinux-2011.08.19-netinstall-x86_64.iso",
|
7
|
-
:iso_md5 => "03a328dfd7a2f901995d77bcf645130c",
|
8
|
-
:iso_download_timeout => "1000",
|
9
|
-
:boot_wait => "5", :boot_cmd_sequence => [
|
10
|
-
'<Enter>',
|
11
|
-
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
12
|
-
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
13
|
-
'dhcpcd eth0<Enter><Wait><Wait><Wait><Wait>',
|
14
|
-
'passwd<Enter>',
|
15
|
-
'vagrant<Enter>',
|
16
|
-
'vagrant<Enter>',
|
17
|
-
'/etc/rc.d/sshd start<Enter><Wait>',
|
18
|
-
'sleep 3 && wget 10.0.2.2:7122/aif.cfg<Enter>',
|
19
|
-
],
|
20
|
-
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "aif.cfg",
|
21
|
-
:ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
22
|
-
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
23
|
-
:sudo_cmd => "sh '%f'",
|
24
|
-
:shutdown_cmd => "shutdown -h now",
|
25
|
-
:postinstall_files => [ "postinstall.sh", "postinstall2.sh"], :postinstall_timeout => "10000"
|
26
|
-
})
|
@@ -1,75 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# var to determine package source
|
4
|
-
PKGSRC=net
|
5
|
-
|
6
|
-
date > /etc/vagrant_box_build_time
|
7
|
-
|
8
|
-
# launch automated install
|
9
|
-
su -c 'aif -p automatic -c aif.cfg'
|
10
|
-
|
11
|
-
# copy over the vbox version file
|
12
|
-
/bin/cp -f /root/.vbox_version /mnt/root/.vbox_version
|
13
|
-
|
14
|
-
# chroot into the new system
|
15
|
-
mount -o bind /dev /mnt/dev
|
16
|
-
mount -o bind /sys /mnt/sys
|
17
|
-
mount -t proc none /mnt/proc
|
18
|
-
chroot /mnt <<ENDCHROOT
|
19
|
-
|
20
|
-
# make sure network is up and a nameserver is available
|
21
|
-
dhcpcd eth0
|
22
|
-
|
23
|
-
# sudo setup
|
24
|
-
# note: do not use tabs here, it autocompletes and borks the sudoers file
|
25
|
-
cat <<EOF > /etc/sudoers
|
26
|
-
root ALL=(ALL) ALL
|
27
|
-
%wheel ALL=(ALL) NOPASSWD: ALL
|
28
|
-
EOF
|
29
|
-
|
30
|
-
# set up user accounts
|
31
|
-
passwd<<EOF
|
32
|
-
vagrant
|
33
|
-
vagrant
|
34
|
-
EOF
|
35
|
-
useradd -m -G wheel -r vagrant
|
36
|
-
passwd -d vagrant
|
37
|
-
passwd vagrant<<EOF
|
38
|
-
vagrant
|
39
|
-
vagrant
|
40
|
-
EOF
|
41
|
-
|
42
|
-
# create puppet group
|
43
|
-
groupadd puppet
|
44
|
-
|
45
|
-
# make sure sshd starts
|
46
|
-
sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
|
47
|
-
|
48
|
-
# install mitchellh's ssh key
|
49
|
-
mkdir /home/vagrant/.ssh
|
50
|
-
chmod 700 /home/vagrant/.ssh
|
51
|
-
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
52
|
-
chmod 600 /home/vagrant/.ssh/authorized_keys
|
53
|
-
chown -R vagrant /home/vagrant/.ssh
|
54
|
-
|
55
|
-
# choose a mirror
|
56
|
-
sed -i 's/^#\(.*leaseweb.*\)/\1/' /etc/pacman.d/mirrorlist
|
57
|
-
|
58
|
-
# install some packages
|
59
|
-
gem install --no-ri --no-rdoc chef facter
|
60
|
-
cd /tmp
|
61
|
-
git clone https://github.com/puppetlabs/puppet.git
|
62
|
-
cd puppet
|
63
|
-
ruby install.rb --bindir=/usr/bin --sbindir=/sbin 2>/dev/null
|
64
|
-
|
65
|
-
# set up networking
|
66
|
-
[[ $PKGSRC == 'net' ]] && sed -i 's/^\(interface=*\)/\1eth0/' /etc/rc.conf
|
67
|
-
|
68
|
-
# leave the chroot
|
69
|
-
ENDCHROOT
|
70
|
-
|
71
|
-
# take down network to prevent next postinstall.sh from starting too soon
|
72
|
-
/etc/rc.d/network stop
|
73
|
-
|
74
|
-
# and reboot!
|
75
|
-
reboot
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# install virtualbox guest additions
|
2
|
-
VBOX_VERSION=$(cat /root/.vbox_version)
|
3
|
-
cd /tmp
|
4
|
-
wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
|
5
|
-
mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
|
6
|
-
sh /mnt/VBoxLinuxAdditions.run
|
7
|
-
umount /mnt
|
8
|
-
rm VBoxGuestAdditions_"$VBOX_VERSION".iso
|
9
|
-
|
10
|
-
# host-only networking
|
11
|
-
cat >> /etc/rc.local <<EOF
|
12
|
-
# enable DHCP at boot on eth0
|
13
|
-
# See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
|
14
|
-
dhcpcd -k eth0
|
15
|
-
dhcpcd -nd eth0
|
16
|
-
EOF
|
17
|
-
|
18
|
-
# clean out pacman cache
|
19
|
-
pacman -Scc<<EOF
|
20
|
-
y
|
21
|
-
y
|
22
|
-
EOF
|
23
|
-
|
24
|
-
# zero out the fs
|
25
|
-
dd if=/dev/zero of=/clean bs=4M|| rm /clean
|
26
|
-
dd if=/dev/zero of=/tmp/clean bs=4M|| rm /tmp/clean
|
27
|
-
dd if=/dev/zero of=/boot/clean bs=4M|| rm /boot/clean
|
28
|
-
|
29
|
-
# and the final reboot!
|
30
|
-
#reboot
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# Archlinux AIF config file
|
2
|
-
# created by Dave Simons
|
3
|
-
# 11/07/2011
|
4
|
-
|
5
|
-
# install source
|
6
|
-
SOURCE=cd
|
7
|
-
FILE_URL=file:///src/core/pkg
|
8
|
-
|
9
|
-
# time/date
|
10
|
-
HARDWARECLOCK=localtime
|
11
|
-
TIMEZONE=Europe/Brussels
|
12
|
-
|
13
|
-
# packages to install
|
14
|
-
TARGET_GROUPS=base
|
15
|
-
TARGET_PACKAGES='sudo openssh vim ruby kernel26-headers make gcc yajl'
|
16
|
-
TARGET_PACKAGES_EXCLUDE='nano emacs wpa_supplicant xfsprogs reiserfsprogs pcmciautils mdadm jfsutils cryptsetup lvm2'
|
17
|
-
|
18
|
-
# hard drive setup
|
19
|
-
GRUB_DEVICE='/dev/sda'
|
20
|
-
PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4'
|
21
|
-
BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
|
22
|
-
/dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
|
23
|
-
/dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params'
|
24
|
-
|
25
|
-
worker_install_bootloader ()
|
26
|
-
{
|
27
|
-
cat << EOF > /mnt/boot/grub/device.map
|
28
|
-
(hd0) /dev/sda
|
29
|
-
EOF
|
30
|
-
grub-install $var_GRUB_DEVICE --root-directory=/mnt || return 1
|
31
|
-
bootdev=$(mount|grep $var_TARGET_DIR/boot|cut -d' ' -f1)
|
32
|
-
generate_grub_menulst || return 1
|
33
|
-
}
|
@@ -1,90 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# var to determine package source
|
4
|
-
PKGSRC=cd
|
5
|
-
|
6
|
-
date > /etc/vagrant_box_build_time
|
7
|
-
|
8
|
-
# launch automated install
|
9
|
-
su -c 'aif -p automatic -c aif.cfg'
|
10
|
-
|
11
|
-
# copy over the vbox version file
|
12
|
-
/bin/cp -f /root/.vbox_version /mnt/root/.vbox_version
|
13
|
-
|
14
|
-
# chroot into the new system
|
15
|
-
mount -o bind /dev /mnt/dev
|
16
|
-
mount -o bind /sys /mnt/sys
|
17
|
-
mount -t proc none /mnt/proc
|
18
|
-
chroot /mnt <<ENDCHROOT
|
19
|
-
|
20
|
-
# make sure network is up and a nameserver is available
|
21
|
-
dhcpcd eth0
|
22
|
-
|
23
|
-
# sudo setup
|
24
|
-
# note: do not use tabs here, it autocompletes and borks the sudoers file
|
25
|
-
cat <<EOF > /etc/sudoers
|
26
|
-
root ALL=(ALL) ALL
|
27
|
-
%wheel ALL=(ALL) NOPASSWD: ALL
|
28
|
-
EOF
|
29
|
-
|
30
|
-
# set up user accounts
|
31
|
-
passwd<<EOF
|
32
|
-
vagrant
|
33
|
-
vagrant
|
34
|
-
EOF
|
35
|
-
useradd -m -G wheel -r vagrant
|
36
|
-
passwd -d vagrant
|
37
|
-
passwd vagrant<<EOF
|
38
|
-
vagrant
|
39
|
-
vagrant
|
40
|
-
EOF
|
41
|
-
|
42
|
-
# create puppet group
|
43
|
-
groupadd puppet
|
44
|
-
|
45
|
-
# make sure ssh is allowed
|
46
|
-
echo "sshd: ALL" > /etc/hosts.allow
|
47
|
-
|
48
|
-
# and everything else isn't
|
49
|
-
echo "ALL: ALL" > /etc/hosts.deny
|
50
|
-
|
51
|
-
# make sure sshd starts
|
52
|
-
sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
|
53
|
-
|
54
|
-
# install mitchellh's ssh key
|
55
|
-
mkdir /home/vagrant/.ssh
|
56
|
-
chmod 700 /home/vagrant/.ssh
|
57
|
-
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
58
|
-
chmod 600 /home/vagrant/.ssh/authorized_keys
|
59
|
-
chown -R vagrant /home/vagrant/.ssh
|
60
|
-
|
61
|
-
# choose a mirror
|
62
|
-
sed -i 's/^#\(.*leaseweb.*\)/\1/' /etc/pacman.d/mirrorlist
|
63
|
-
|
64
|
-
# update pacman
|
65
|
-
[[ $PKGSRC == 'cd' ]] && pacman -Syy
|
66
|
-
[[ $PKGSRC == 'cd' ]] && pacman -S --noconfirm pacman
|
67
|
-
|
68
|
-
# upgrade pacman db
|
69
|
-
pacman-db-upgrade
|
70
|
-
pacman -Syy
|
71
|
-
|
72
|
-
# install some packages
|
73
|
-
pacman -S --noconfirm glibc git pkg-config fakeroot
|
74
|
-
gem install --no-ri --no-rdoc chef facter
|
75
|
-
cd /tmp
|
76
|
-
git clone https://github.com/puppetlabs/puppet.git
|
77
|
-
cd puppet
|
78
|
-
ruby install.rb --bindir=/usr/bin --sbindir=/sbin
|
79
|
-
|
80
|
-
# set up networking
|
81
|
-
[[ $PKGSRC == 'net' ]] && sed -i 's/^\(interface=*\)/\1eth0/' /etc/rc.conf
|
82
|
-
|
83
|
-
# leave the chroot
|
84
|
-
ENDCHROOT
|
85
|
-
|
86
|
-
# take down network to prevent next postinstall.sh from starting too soon
|
87
|
-
/etc/rc.d/network stop
|
88
|
-
|
89
|
-
# and reboot!
|
90
|
-
reboot
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# package-query
|
2
|
-
wget http://aur.archlinux.org/packages/package-query/PKGBUILD
|
3
|
-
makepkg -sfci --noconfirm --asroot
|
4
|
-
rm * -r
|
5
|
-
|
6
|
-
# yaourt
|
7
|
-
wget http://aur.archlinux.org/packages/yaourt/PKGBUILD
|
8
|
-
makepkg -sfci --noconfirm --asroot
|
9
|
-
rm * -r
|
10
|
-
|
11
|
-
# install virtualbox guest additions
|
12
|
-
VBOX_VERSION=$(cat /root/.vbox_version)
|
13
|
-
cd /tmp
|
14
|
-
wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
|
15
|
-
mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
|
16
|
-
sh /mnt/VBoxLinuxAdditions.run
|
17
|
-
umount /mnt
|
18
|
-
rm VBoxGuestAdditions_"$VBOX_VERSION".iso
|
19
|
-
|
20
|
-
# host-only networking
|
21
|
-
cat >> /etc/rc.local <<EOF
|
22
|
-
# enable DHCP at boot on eth0
|
23
|
-
# See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
|
24
|
-
dhcpcd -k eth0
|
25
|
-
dhcpcd -nd eth0
|
26
|
-
EOF
|
27
|
-
|
28
|
-
# clean out pacman cache
|
29
|
-
pacman -Scc<<EOF
|
30
|
-
y
|
31
|
-
y
|
32
|
-
EOF
|
33
|
-
|
34
|
-
# zero out the fs
|
35
|
-
dd if=/dev/zero of=/tmp/clean || rm /tmp/clean
|
36
|
-
|
37
|
-
# and the final reboot!
|
38
|
-
reboot
|
@@ -1,45 +0,0 @@
|
|
1
|
-
require 'net/http'
|
2
|
-
|
3
|
-
# Name spacing variables as they are executed inside veewee code
|
4
|
-
template_uri = 'http://distfiles.gentoo.org/releases/x86/autobuilds/latest-install-x86-minimal.txt'
|
5
|
-
template_build = Net::HTTP.get_response( URI.parse( template_uri ) ).body
|
6
|
-
template_build = /^(([^#].*)\/(.*))/.match( template_build )
|
7
|
-
template_uri = "http://distfiles.gentoo.org/releases/x86/autobuilds/#{template_build[1]}.DIGESTS"
|
8
|
-
template_digest = Net::HTTP.get_response( URI.parse( template_uri ) ).body
|
9
|
-
template_digest = Regexp.new( '^([a-z0-9]{32})\s+ ' + Regexp.escape( template_build[3] ) + '$').match( template_digest )[1]
|
10
|
-
|
11
|
-
|
12
|
-
Veewee::Definition.declare( {
|
13
|
-
:cpu_count => '1', :memory_size=> '768',
|
14
|
-
:disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
|
15
|
-
:os_type_id => 'Gentoo',
|
16
|
-
:iso_file => template_build[3],
|
17
|
-
:iso_src => "http://distfiles.gentoo.org/releases/x86/autobuilds/#{template_build[1]}",
|
18
|
-
:iso_md5 => template_digest,
|
19
|
-
:iso_download_timeout => "1000",
|
20
|
-
:boot_wait => "10",:boot_cmd_sequence => [
|
21
|
-
'<Wait>'*2,
|
22
|
-
'gentoo-nofb<Enter>',
|
23
|
-
'<Wait>'*10,
|
24
|
-
'<Enter>',
|
25
|
-
'<Wait>'*10,
|
26
|
-
'net-setup eth0<Enter>',
|
27
|
-
'<Wait><Enter>',
|
28
|
-
'2<Enter>',
|
29
|
-
'1<Enter>',
|
30
|
-
'<Wait><Wait>ifconfig -a <Enter>',
|
31
|
-
#'sleep 5 ;curl http://%IP%:%PORT%/stages.sh -o stages.sh &&',
|
32
|
-
#'bash stages.sh &<Enter>',
|
33
|
-
'passwd<Enter><Wait><Wait>',
|
34
|
-
'vagrant<Enter><Wait>',
|
35
|
-
'vagrant<Enter><Wait>',
|
36
|
-
'/etc/init.d/sshd start<Enter>'
|
37
|
-
],
|
38
|
-
:kickstart_port => "7122", :kickstart_timeout => "10000",:kickstart_file => "",
|
39
|
-
:ssh_login_timeout => "10000",:ssh_user => "root", :ssh_password => "vagrant",:ssh_key => "",
|
40
|
-
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
41
|
-
:sudo_cmd => "cat '%f'|su -",
|
42
|
-
:shutdown_cmd => "shutdown -p now",
|
43
|
-
:postinstall_files => [ "postinstall.sh"],:postinstall_timeout => "10000"
|
44
|
-
}
|
45
|
-
)
|
@@ -1,184 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
date > /etc/vagrant_box_build_time
|
4
|
-
|
5
|
-
#Based on http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
|
6
|
-
|
7
|
-
#Partition the disk
|
8
|
-
#This assumes a predefined layout - customize to your own liking
|
9
|
-
|
10
|
-
#/boot -> /dev/sda1
|
11
|
-
#swap -> /dev/sda2
|
12
|
-
#root -> /dev/sda3
|
13
|
-
|
14
|
-
sfdisk --force /dev/sda <<EOF
|
15
|
-
# partition table of /dev/sda
|
16
|
-
unit: sectors
|
17
|
-
|
18
|
-
/dev/sda1 : start= 2048, size= 409600, Id=83
|
19
|
-
/dev/sda2 : start= 411648, size= 2097152, Id=82
|
20
|
-
/dev/sda3 : start= 2508800, size= 18257920, Id=83
|
21
|
-
/dev/sda4 : start= 0, size= 0, Id= 0
|
22
|
-
EOF
|
23
|
-
|
24
|
-
sleep 2
|
25
|
-
|
26
|
-
#Format the /boot
|
27
|
-
mke2fs /dev/sda1
|
28
|
-
|
29
|
-
#Main partition /
|
30
|
-
mke2fs -j /dev/sda3
|
31
|
-
|
32
|
-
#Format the swap and use it
|
33
|
-
mkswap /dev/sda2
|
34
|
-
swapon /dev/sda2
|
35
|
-
|
36
|
-
#Mount the new disk
|
37
|
-
mkdir /mnt/gentoo
|
38
|
-
mount /dev/sda3 /mnt/gentoo
|
39
|
-
mkdir /mnt/gentoo/boot
|
40
|
-
mount /dev/sda1 /mnt/gentoo/boot
|
41
|
-
cd /mnt/gentoo
|
42
|
-
|
43
|
-
#Note: we retry as sometimes mirrors fail to have the files
|
44
|
-
|
45
|
-
#Download a stage3 archive
|
46
|
-
while true; do
|
47
|
-
wget ftp://distfiles.gentoo.org/gentoo/releases/x86/current-stage3/stage3-i686-*.tar.bz2 && > gotstage3
|
48
|
-
if [ -f "gotstage3" ]
|
49
|
-
then
|
50
|
-
break
|
51
|
-
else
|
52
|
-
echo "trying in 2seconds"
|
53
|
-
sleep 2
|
54
|
-
fi
|
55
|
-
done
|
56
|
-
tar xjpf stage3*
|
57
|
-
|
58
|
-
#Download Portage snapshot
|
59
|
-
cd /mnt/gentoo/usr
|
60
|
-
while true; do
|
61
|
-
wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2 && > gotportage
|
62
|
-
if [ -f "gotportage" ]
|
63
|
-
then
|
64
|
-
break
|
65
|
-
else
|
66
|
-
echo "trying in 2seconds"
|
67
|
-
sleep 2
|
68
|
-
fi
|
69
|
-
done
|
70
|
-
|
71
|
-
tar xjf portage-lat*
|
72
|
-
|
73
|
-
#Chroot
|
74
|
-
cd /
|
75
|
-
mount -t proc proc /mnt/gentoo/proc
|
76
|
-
mount --rbind /dev /mnt/gentoo/dev
|
77
|
-
cp -L /etc/resolv.conf /mnt/gentoo/etc/
|
78
|
-
echo "env-update && source /etc/profile" | chroot /mnt/gentoo /bin/bash -
|
79
|
-
|
80
|
-
# Get the kernel sources
|
81
|
-
echo "emerge gentoo-sources" | chroot /mnt/gentoo /bin/bash -
|
82
|
-
|
83
|
-
# We will use genkernel to automate the kernel compilation
|
84
|
-
# http://www.gentoo.org/doc/en/genkernel.xml
|
85
|
-
echo "emerge grub" | chroot /mnt/gentoo /bin/bash -
|
86
|
-
echo "emerge genkernel" | chroot /mnt/gentoo /bin/bash -
|
87
|
-
echo "genkernel --bootloader=grub --real_root=/dev/sda3 --no-splash --install all" | chroot /mnt/gentoo /bin/bash -
|
88
|
-
|
89
|
-
cat <<EOF | chroot /mnt/gentoo /bin/bash -
|
90
|
-
cat <<FSTAB > /etc/fstab
|
91
|
-
/dev/sda1 /boot ext2 noauto,noatime 1 2
|
92
|
-
/dev/sda3 / ext3 noatime 0 1
|
93
|
-
/dev/sda2 none swap sw 0 0
|
94
|
-
FSTAB
|
95
|
-
EOF
|
96
|
-
|
97
|
-
|
98
|
-
#We need some things to do here
|
99
|
-
#Network
|
100
|
-
cat <<EOF | chroot /mnt/gentoo /bin/bash -
|
101
|
-
cd /etc/conf.d
|
102
|
-
echo 'config_eth0=( "dhcp" )' >> net
|
103
|
-
#echo 'dhcpd_eth0=( "-t 10" )' >> net
|
104
|
-
#echo 'dhcp_eth0=( "release nodns nontp nois" )' >> net
|
105
|
-
rc-update add net.eth0 default
|
106
|
-
#Module?
|
107
|
-
rc-update add sshd default
|
108
|
-
EOF
|
109
|
-
|
110
|
-
#Root password
|
111
|
-
|
112
|
-
# Cron & Syslog
|
113
|
-
echo "emerge syslog-ng vixie-cron" | chroot /mnt/gentoo sh -
|
114
|
-
echo "rc-update add syslog-ng default" | chroot /mnt/gentoo sh -
|
115
|
-
echo "rc-update add vixie-cron default" | chroot /mnt/gentoo sh -
|
116
|
-
|
117
|
-
#Get an editor going
|
118
|
-
echo "emerge vim" | chroot /mnt/gentoo sh -
|
119
|
-
|
120
|
-
#Allow external ssh
|
121
|
-
echo "echo 'sshd:ALL' > /etc/hosts.allow" | chroot /mnt/gentoo sh -
|
122
|
-
echo "echo 'ALL:ALL' > /etc/hosts.deny" | chroot /mnt/gentoo sh -
|
123
|
-
|
124
|
-
#create vagrant user / password vagrant
|
125
|
-
chroot /mnt/gentoo useradd -m -r vagrant -p '$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1'
|
126
|
-
|
127
|
-
#Configure Sudo
|
128
|
-
chroot /mnt/gentoo emerge sudo
|
129
|
-
echo "echo 'vagrant ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" | chroot /mnt/gentoo sh -
|
130
|
-
|
131
|
-
#Installing vagrant keys
|
132
|
-
chroot /mnt/gentoo emerge wget
|
133
|
-
|
134
|
-
echo "creating vagrant ssh keys"
|
135
|
-
chroot /mnt/gentoo mkdir /home/vagrant/.ssh
|
136
|
-
chroot /mnt/gentoo chmod 700 /home/vagrant/.ssh
|
137
|
-
chroot /mnt/gentoo cd /home/vagrant/.ssh
|
138
|
-
chroot /mnt/gentoo wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
139
|
-
chroot /mnt/gentoo chmod 600 /home/vagrant/.ssh/authorized_keys
|
140
|
-
chroot /mnt/gentoo chown -R vagrant /home/vagrant/.ssh
|
141
|
-
|
142
|
-
#This could be done in postinstall
|
143
|
-
#reboot
|
144
|
-
|
145
|
-
#get some ruby running
|
146
|
-
chroot /mnt/gentoo emerge git curl gcc automake m4
|
147
|
-
chroot /mnt/gentoo emerge libiconv readline zlib openssl curl git libyaml sqlite libxslt
|
148
|
-
echo "bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)"| chroot /mnt/gentoo /bin/bash -
|
149
|
-
echo "/usr/local/rvm/bin/rvm install ruby-1.8.7 "| chroot /mnt/gentoo sh -
|
150
|
-
echo "/usr/local/rvm/bin/rvm use ruby-1.8.7 --default "| chroot /mnt/gentoo sh -
|
151
|
-
|
152
|
-
#Installing chef & Puppet
|
153
|
-
echo ". /usr/local/rvm/scripts/rvm ; gem install chef --no-ri --no-rdoc"| chroot /mnt/gentoo sh -
|
154
|
-
echo ". /usr/local/rvm/scripts/rvm ; gem install puppet --no-ri --no-rdoc"| chroot /mnt/gentoo sh -
|
155
|
-
|
156
|
-
|
157
|
-
echo "adding rvm to global bash rc"
|
158
|
-
echo "echo '. /usr/local/rvm/scripts/rvm' >> /etc/bash/bash.rc" | chroot /mnt/gentoo sh -
|
159
|
-
|
160
|
-
/bin/cp -f /root/.vbox_version /mnt/gentoo/home/vagrant/.vbox_version
|
161
|
-
VBOX_VERSION=$(cat /root/.vbox_version)
|
162
|
-
|
163
|
-
#Kernel headers
|
164
|
-
chroot /mnt/gentoo emerge linux-headers
|
165
|
-
|
166
|
-
#Installing the virtualbox guest additions
|
167
|
-
cat <<EOF | chroot /mnt/gentoo /bin/bash -
|
168
|
-
cd /tmp
|
169
|
-
mkdir /mnt/vbox
|
170
|
-
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
171
|
-
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt/vbox
|
172
|
-
sh /mnt/vbox/VBoxLinuxAdditions.run
|
173
|
-
#umount /mnt/vbox
|
174
|
-
#rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
175
|
-
EOF
|
176
|
-
|
177
|
-
echo "sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 rc.vboxadd):' /etc/rc.conf" | chroot /mnt/gentoo sh -
|
178
|
-
|
179
|
-
exit
|
180
|
-
cd /
|
181
|
-
umount /mnt/gentoo/{proc,sys,dev}
|
182
|
-
umount /mnt/gentoo
|
183
|
-
|
184
|
-
reboot
|