veewee 0.3.12 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitattributes +2 -0
- data/.gitignore +2 -0
- data/.rvmrc +1 -1
- data/.travis.yml +1 -2
- data/Gemfile +1 -1
- data/bin/veewee +1 -0
- data/doc/basics.md +17 -11
- data/doc/build_hooks.md +1 -0
- data/doc/customize.md +53 -0
- data/doc/installation.md +5 -0
- data/doc/requirements.md +1 -1
- data/doc/vagrant.md +2 -2
- data/lib/veewee/command/fusion.rb +3 -0
- data/lib/veewee/command/kvm.rb +3 -0
- data/lib/veewee/command/parallels.rb +3 -0
- data/lib/veewee/command/vbox.rb +3 -0
- data/lib/veewee/config/ostypes.yml +17 -3
- data/lib/veewee/definition.rb +2 -2
- data/lib/veewee/definitions.rb +3 -3
- data/lib/veewee/provider/core/box/build.rb +48 -24
- data/lib/veewee/provider/core/box/ssh.rb +6 -6
- data/lib/veewee/provider/core/box/wincp.rb +19 -13
- data/lib/veewee/provider/core/helper/iso.rb +10 -9
- data/lib/veewee/provider/core/helper/ssh.rb +60 -7
- data/lib/veewee/provider/core/helper/web.rb +14 -15
- data/lib/veewee/provider/kvm/provider.rb +1 -1
- data/lib/veewee/provider/virtualbox/box.rb +10 -9
- data/lib/veewee/provider/virtualbox/box/export_vagrant.rb +1 -1
- data/lib/veewee/provider/virtualbox/box/helper/create.rb +2 -2
- data/lib/veewee/provider/vmfusion/box/template.vmx.erb +1 -1
- data/lib/veewee/version.rb +1 -1
- data/templates/.ubuntu/base.sh +2 -0
- data/templates/.ubuntu/chef.sh +2 -0
- data/templates/.ubuntu/cleanup.sh +7 -0
- data/templates/.ubuntu/puppet.sh +2 -0
- data/templates/.ubuntu/ruby.sh +2 -0
- data/templates/.ubuntu/vagrant.sh +2 -0
- data/templates/.ubuntu/virtualbox.sh +2 -0
- data/templates/.ubuntu/zerodisk.sh +2 -0
- data/templates/CentOS-5.10-i386-netboot/base.sh +8 -0
- data/templates/CentOS-5.10-i386-netboot/chef.sh +3 -0
- data/templates/CentOS-5.10-i386-netboot/cleanup.sh +11 -0
- data/templates/CentOS-5.10-i386-netboot/definition.rb +42 -0
- data/templates/CentOS-5.10-i386-netboot/ks.cfg +27 -0
- data/templates/CentOS-5.10-i386-netboot/puppet.sh +17 -0
- data/templates/CentOS-5.10-i386-netboot/ruby.sh +41 -0
- data/templates/CentOS-5.10-i386-netboot/vagrant.sh +9 -0
- data/templates/CentOS-5.10-i386-netboot/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-i386-netboot/zerodisk.sh +4 -0
- data/templates/CentOS-5.10-i386/base.sh +8 -0
- data/templates/CentOS-5.10-i386/chef.sh +3 -0
- data/templates/CentOS-5.10-i386/cleanup.sh +11 -0
- data/templates/CentOS-5.10-i386/definition.rb +42 -0
- data/templates/CentOS-5.10-i386/ks.cfg +27 -0
- data/templates/CentOS-5.10-i386/puppet.sh +17 -0
- data/templates/CentOS-5.10-i386/ruby.sh +41 -0
- data/templates/CentOS-5.10-i386/vagrant.sh +9 -0
- data/templates/CentOS-5.10-i386/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-i386/zerodisk.sh +4 -0
- data/templates/CentOS-5.10-x86_64-netboot/base.sh +8 -0
- data/templates/CentOS-5.10-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-5.10-x86_64-netboot/cleanup.sh +11 -0
- data/templates/CentOS-5.10-x86_64-netboot/definition.rb +42 -0
- data/templates/CentOS-5.10-x86_64-netboot/ks.cfg +27 -0
- data/templates/CentOS-5.10-x86_64-netboot/puppet.sh +17 -0
- data/templates/CentOS-5.10-x86_64-netboot/ruby.sh +41 -0
- data/templates/CentOS-5.10-x86_64-netboot/vagrant.sh +9 -0
- data/templates/CentOS-5.10-x86_64-netboot/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-x86_64-netboot/zerodisk.sh +4 -0
- data/templates/CentOS-5.10-x86_64/base.sh +8 -0
- data/templates/CentOS-5.10-x86_64/chef.sh +3 -0
- data/templates/CentOS-5.10-x86_64/cleanup.sh +11 -0
- data/templates/CentOS-5.10-x86_64/definition.rb +42 -0
- data/templates/CentOS-5.10-x86_64/ks.cfg +27 -0
- data/templates/CentOS-5.10-x86_64/puppet.sh +17 -0
- data/templates/CentOS-5.10-x86_64/ruby.sh +41 -0
- data/templates/CentOS-5.10-x86_64/vagrant.sh +9 -0
- data/templates/CentOS-5.10-x86_64/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-x86_64/zerodisk.sh +4 -0
- data/templates/CentOS-5.6-i386/ks.cfg +1 -1
- data/templates/CentOS-5.7-i386-netboot/ks.cfg +1 -1
- data/templates/CentOS-5.8-i386-netboot/ks.cfg +1 -1
- data/templates/CentOS-5.8-i386/ks.cfg +1 -1
- data/templates/CentOS-5.9-i386-netboot/base.sh +5 -2
- data/templates/CentOS-5.9-i386-netboot/chef.sh +1 -1
- data/templates/CentOS-5.9-i386-netboot/cleanup.sh +7 -3
- data/templates/CentOS-5.9-i386-netboot/definition.rb +2 -3
- data/templates/CentOS-5.9-i386-netboot/ks.cfg +8 -28
- data/templates/CentOS-5.9-i386-netboot/puppet.sh +0 -1
- data/templates/CentOS-5.9-i386-netboot/ruby.sh +40 -11
- data/templates/CentOS-5.9-i386-netboot/vagrant.sh +2 -11
- data/templates/CentOS-5.9-i386-netboot/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-i386-netboot/zerodisk.sh +1 -0
- data/templates/CentOS-5.9-i386/base.sh +5 -2
- data/templates/CentOS-5.9-i386/chef.sh +1 -1
- data/templates/CentOS-5.9-i386/cleanup.sh +7 -3
- data/templates/CentOS-5.9-i386/definition.rb +2 -3
- data/templates/CentOS-5.9-i386/ks.cfg +8 -28
- data/templates/CentOS-5.9-i386/puppet.sh +0 -1
- data/templates/CentOS-5.9-i386/ruby.sh +40 -11
- data/templates/CentOS-5.9-i386/vagrant.sh +2 -11
- data/templates/CentOS-5.9-i386/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-i386/zerodisk.sh +1 -0
- data/templates/CentOS-5.9-x86_64-netboot/base.sh +5 -2
- data/templates/CentOS-5.9-x86_64-netboot/chef.sh +1 -1
- data/templates/CentOS-5.9-x86_64-netboot/cleanup.sh +7 -3
- data/templates/CentOS-5.9-x86_64-netboot/definition.rb +2 -3
- data/templates/CentOS-5.9-x86_64-netboot/ks.cfg +8 -28
- data/templates/CentOS-5.9-x86_64-netboot/puppet.sh +0 -1
- data/templates/CentOS-5.9-x86_64-netboot/ruby.sh +40 -11
- data/templates/CentOS-5.9-x86_64-netboot/vagrant.sh +2 -11
- data/templates/CentOS-5.9-x86_64-netboot/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-x86_64-netboot/zerodisk.sh +1 -0
- data/templates/CentOS-5.9-x86_64/base.sh +5 -2
- data/templates/CentOS-5.9-x86_64/chef.sh +1 -1
- data/templates/CentOS-5.9-x86_64/cleanup.sh +7 -3
- data/templates/CentOS-5.9-x86_64/definition.rb +4 -5
- data/templates/CentOS-5.9-x86_64/ks.cfg +7 -27
- data/templates/CentOS-5.9-x86_64/puppet.sh +0 -1
- data/templates/CentOS-5.9-x86_64/ruby.sh +40 -11
- data/templates/CentOS-5.9-x86_64/vagrant.sh +2 -11
- data/templates/CentOS-5.9-x86_64/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-x86_64/zerodisk.sh +1 -0
- data/templates/CentOS-6.0-i386-netboot/chef.sh +1 -0
- data/templates/CentOS-6.0-i386/chef.sh +1 -0
- data/templates/CentOS-6.0-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.0-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.0-x86_64/chef.sh +1 -0
- data/templates/CentOS-6.1-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.1-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.2-i386-minimal/chef.sh +1 -0
- data/templates/CentOS-6.2-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.2-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.3-i386-minimal/chef.sh +1 -0
- data/templates/CentOS-6.3-i386-minimal/definition.rb +2 -3
- data/templates/CentOS-6.3-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.3-x86_64-minimal/definition.rb +1 -1
- data/templates/CentOS-6.3-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.3-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-6.3-x86_64-reallyminimal/definition.rb +1 -1
- data/templates/CentOS-6.4-i386-minimal/chef.sh +3 -1
- data/templates/CentOS-6.4-i386-minimal/definition.rb +1 -1
- data/templates/CentOS-6.4-i386-minimal/vmfusion.sh +3 -0
- data/templates/CentOS-6.4-i386-netboot/chef.sh +1 -0
- data/templates/CentOS-6.4-i386-netboot/definition.rb +1 -1
- data/templates/CentOS-6.4-i386-netboot/ks.cfg +1 -1
- data/templates/CentOS-6.4-i386-netboot/vmfusion.sh +3 -0
- data/templates/CentOS-6.4-x86_64-minimal/chef.sh +3 -1
- data/templates/CentOS-6.4-x86_64-minimal/definition.rb +1 -1
- data/templates/CentOS-6.4-x86_64-minimal/vmfusion.sh +3 -0
- data/templates/CentOS-6.4-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.4-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-6.4-x86_64-netboot/ks.cfg +1 -1
- data/templates/CentOS-6.4-x86_64-netboot/vmfusion.sh +3 -0
- data/templates/CentOS-6.5-i386-minimal/base.sh +16 -0
- data/templates/CentOS-6.5-i386-minimal/chef.sh +4 -0
- data/templates/CentOS-6.5-i386-minimal/cleanup.sh +8 -0
- data/templates/CentOS-6.5-i386-minimal/definition.rb +38 -0
- data/templates/CentOS-6.5-i386-minimal/ks.cfg +37 -0
- data/templates/CentOS-6.5-i386-minimal/puppet.sh +18 -0
- data/templates/CentOS-6.5-i386-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.5-i386-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-i386-minimal/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-i386-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.5-i386-netboot/base.sh +16 -0
- data/templates/CentOS-6.5-i386-netboot/cfengine.sh +69 -0
- data/templates/CentOS-6.5-i386-netboot/chef.sh +4 -0
- data/templates/CentOS-6.5-i386-netboot/cleanup.sh +8 -0
- data/templates/CentOS-6.5-i386-netboot/definition.rb +40 -0
- data/templates/CentOS-6.5-i386-netboot/ks.cfg +41 -0
- data/templates/CentOS-6.5-i386-netboot/puppet.sh +18 -0
- data/templates/CentOS-6.5-i386-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.5-i386-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.5-i386-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-i386-netboot/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-i386-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-6.5-x86_64-minimal/base.sh +16 -0
- data/templates/CentOS-6.5-x86_64-minimal/chef.sh +4 -0
- data/templates/CentOS-6.5-x86_64-minimal/cleanup.sh +8 -0
- data/templates/CentOS-6.5-x86_64-minimal/definition.rb +38 -0
- data/templates/CentOS-6.5-x86_64-minimal/ks.cfg +37 -0
- data/templates/CentOS-6.5-x86_64-minimal/puppet.sh +18 -0
- data/templates/CentOS-6.5-x86_64-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.5-x86_64-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-x86_64-minimal/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-x86_64-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.5-x86_64-netboot/base.sh +16 -0
- data/templates/CentOS-6.5-x86_64-netboot/chef.sh +4 -0
- data/templates/CentOS-6.5-x86_64-netboot/cleanup.sh +8 -0
- data/templates/CentOS-6.5-x86_64-netboot/definition.rb +38 -0
- data/templates/CentOS-6.5-x86_64-netboot/ks.cfg +38 -0
- data/templates/CentOS-6.5-x86_64-netboot/puppet.sh +18 -0
- data/templates/CentOS-6.5-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.5-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-x86_64-netboot/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/base.sh +16 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/chef.sh +2 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/cleanup.sh +7 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/definition.rb +38 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/ks.cfg +39 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/puppet.sh +18 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/vagrant.sh +18 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/virtualbox.sh +8 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/vmfusion.sh +10 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/zerodisk.sh +3 -0
- data/templates/Debian-6.0.6-i386-netboot/definition.rb +1 -2
- data/templates/Debian-6.0.7-amd64-netboot/definition.rb +3 -1
- data/templates/Debian-6.0.7-i386-netboot/definition.rb +4 -3
- data/templates/Debian-6.0.8-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.8-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.8-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.8-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.8-amd64-netboot/definition.rb +50 -0
- data/templates/Debian-6.0.8-amd64-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.8-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.8-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.8-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.8-amd64-netboot/virtualbox.sh +18 -0
- data/templates/Debian-6.0.8-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.8-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.8-i386-netboot/base.sh +26 -0
- data/templates/Debian-6.0.8-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.8-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.8-i386-netboot/cleanup.sh +18 -0
- data/templates/Debian-6.0.8-i386-netboot/definition.rb +58 -0
- data/templates/Debian-6.0.8-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.8-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.8-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.8-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.8-i386-netboot/virtualbox.sh +16 -0
- data/templates/Debian-6.0.8-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.8-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.9-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.9-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.9-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.9-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.9-amd64-netboot/definition.rb +50 -0
- data/templates/Debian-6.0.9-amd64-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.9-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.9-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.9-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.9-amd64-netboot/virtualbox.sh +18 -0
- data/templates/Debian-6.0.9-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.9-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.9-i386-netboot/base.sh +27 -0
- data/templates/Debian-6.0.9-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.9-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.9-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.9-i386-netboot/definition.rb +50 -0
- data/templates/Debian-6.0.9-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.9-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.9-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.9-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.9-i386-netboot/virtualbox.sh +18 -0
- data/templates/Debian-6.0.9-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.9-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.0-amd64-netboot/base.sh +1 -0
- data/templates/Debian-7.0-amd64-netboot/definition.rb +1 -0
- data/templates/Debian-7.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-7.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.0-i386-netboot/base.sh +1 -0
- data/templates/Debian-7.0-i386-netboot/definition.rb +1 -0
- data/templates/Debian-7.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.1.0-amd64-netboot/base.sh +1 -0
- data/templates/Debian-7.1.0-amd64-netboot/definition.rb +4 -1
- data/templates/Debian-7.1.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-7.1.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.1.0-i386-netboot/base.sh +1 -0
- data/templates/Debian-7.1.0-i386-netboot/definition.rb +4 -1
- data/templates/Debian-7.1.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.2.0-amd64-netboot/base.sh +1 -0
- data/templates/Debian-7.2.0-amd64-netboot/definition.rb +4 -1
- data/templates/Debian-7.2.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-7.2.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.2.0-i386-netboot/base.sh +1 -0
- data/templates/Debian-7.2.0-i386-netboot/definition.rb +4 -1
- data/templates/Debian-7.2.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.3.0-amd64-netboot/base.sh +26 -0
- data/templates/Debian-7.3.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.3.0-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.3.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.3.0-amd64-netboot/definition.rb +56 -0
- data/templates/Debian-7.3.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.3.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.3.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.3.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.3.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.3.0-amd64-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.3.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.3.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.3.0-i386-netboot/base.sh +27 -0
- data/templates/Debian-7.3.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.3.0-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.3.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.3.0-i386-netboot/definition.rb +54 -0
- data/templates/Debian-7.3.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.3.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.3.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.3.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.3.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.3.0-i386-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.3.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.3.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.4.0-amd64-netboot/base.sh +26 -0
- data/templates/Debian-7.4.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.4.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.4.0-amd64-netboot/definition.rb +55 -0
- data/templates/Debian-7.4.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.4.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.4.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.4.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.4.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.4.0-amd64-netboot/virtualbox.sh +35 -0
- data/templates/Debian-7.4.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.4.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.4.0-i386-netboot/base.sh +27 -0
- data/templates/Debian-7.4.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.4.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.4.0-i386-netboot/definition.rb +53 -0
- data/templates/Debian-7.4.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.4.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.4.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.4.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.4.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.4.0-i386-netboot/virtualbox.sh +36 -0
- data/templates/Debian-7.4.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.4.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.5.0-amd64-netboot/base.sh +25 -0
- data/templates/Debian-7.5.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.5.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.5.0-amd64-netboot/definition.rb +55 -0
- data/templates/Debian-7.5.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.5.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.5.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.5.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.5.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.5.0-amd64-netboot/virtualbox.sh +37 -0
- data/templates/Debian-7.5.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.5.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.5.0-i386-netboot/base.sh +26 -0
- data/templates/Debian-7.5.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.5.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.5.0-i386-netboot/definition.rb +51 -0
- data/templates/Debian-7.5.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.5.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.5.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.5.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.5.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.5.0-i386-netboot/virtualbox.sh +38 -0
- data/templates/Debian-7.5.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.5.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.6.0-amd64-netboot/base.sh +25 -0
- data/templates/Debian-7.6.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.6.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.6.0-amd64-netboot/definition.rb +52 -0
- data/templates/Debian-7.6.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.6.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.6.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.6.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.6.0-amd64-netboot/virtualbox.sh +37 -0
- data/templates/Debian-7.6.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.6.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.6.0-i386-netboot/base.sh +26 -0
- data/templates/Debian-7.6.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.6.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.6.0-i386-netboot/definition.rb +50 -0
- data/templates/Debian-7.6.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.6.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.6.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.6.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.6.0-i386-netboot/virtualbox.sh +38 -0
- data/templates/Debian-7.6.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.6.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Fedora-14-amd64-netboot/definition.rb +1 -1
- data/templates/Fedora-14-amd64/definition.rb +1 -1
- data/templates/Fedora-14-i386-netboot/definition.rb +1 -1
- data/templates/Fedora-14-i386/definition.rb +1 -1
- data/templates/Fedora-15-i386-netboot/definition.rb +1 -1
- data/templates/Fedora-15-i386/definition.rb +1 -1
- data/templates/Fedora-15-x86_64-netboot/definition.rb +1 -1
- data/templates/Fedora-15-x86_64/definition.rb +1 -1
- data/templates/Fedora-16-i386/definition.rb +1 -1
- data/templates/Fedora-16-x86_64-netboot/definition.rb +1 -1
- data/templates/Fedora-16-x86_64/definition.rb +1 -1
- data/templates/Fedora-17-i386/definition.rb +1 -1
- data/templates/Fedora-17-x86_64/definition.rb +1 -1
- data/templates/Fedora-18-i386/definition.rb +1 -1
- data/templates/Fedora-18-x86_64/definition.rb +1 -1
- data/templates/Fedora-19-i386/definition.rb +1 -1
- data/templates/Fedora-19-x86_64/definition.rb +1 -1
- data/templates/Fedora-20-i386/base.sh +9 -0
- data/templates/Fedora-20-i386/chef.sh +17 -0
- data/templates/Fedora-20-i386/cleanup.sh +6 -0
- data/templates/Fedora-20-i386/definition.rb +39 -0
- data/templates/Fedora-20-i386/ks.cfg +83 -0
- data/templates/Fedora-20-i386/puppet.sh +2 -0
- data/templates/Fedora-20-i386/ruby.sh +3 -0
- data/templates/Fedora-20-i386/vagrant.sh +18 -0
- data/templates/Fedora-20-i386/virtualbox.sh +4 -0
- data/templates/Fedora-20-i386/vmfusion.sh +7 -0
- data/templates/Fedora-20-i386/zerodisk.sh +3 -0
- data/templates/Fedora-20-x86_64/base.sh +9 -0
- data/templates/Fedora-20-x86_64/chef.sh +17 -0
- data/templates/Fedora-20-x86_64/cleanup.sh +6 -0
- data/templates/Fedora-20-x86_64/definition.rb +39 -0
- data/templates/Fedora-20-x86_64/ks.cfg +83 -0
- data/templates/Fedora-20-x86_64/puppet.sh +2 -0
- data/templates/Fedora-20-x86_64/ruby.sh +3 -0
- data/templates/Fedora-20-x86_64/vagrant.sh +18 -0
- data/templates/Fedora-20-x86_64/virtualbox.sh +4 -0
- data/templates/Fedora-20-x86_64/vmfusion.sh +7 -0
- data/templates/Fedora-20-x86_64/zerodisk.sh +3 -0
- data/templates/OSX/definition.rb +13 -1
- data/templates/OSX/prepare_veewee_iso/prepare_veewee_iso.sh +51 -2
- data/templates/OracleLinux-5.10-i386-DVD/base.sh +19 -0
- data/templates/OracleLinux-5.10-i386-DVD/chef.sh +3 -0
- data/templates/OracleLinux-5.10-i386-DVD/cleanup.sh +8 -0
- data/templates/OracleLinux-5.10-i386-DVD/definition.rb +37 -0
- data/templates/OracleLinux-5.10-i386-DVD/ks.cfg +55 -0
- data/templates/OracleLinux-5.10-i386-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-5.10-i386-DVD/puppet.sh +3 -0
- data/templates/OracleLinux-5.10-i386-DVD/ruby.sh +36 -0
- data/templates/OracleLinux-5.10-i386-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-5.10-i386-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-5.10-i386-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/base.sh +19 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/cleanup.sh +8 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/definition.rb +37 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/ks.cfg +55 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/puppet.sh +3 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/ruby.sh +36 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-5.9-i386-DVD/base.sh +1 -8
- data/templates/OracleLinux-5.9-i386-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-5.9-i386-DVD/ruby.sh +2 -2
- data/templates/OracleLinux-5.9-x86_64-DVD/base.sh +1 -8
- data/templates/OracleLinux-5.9-x86_64-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-5.9-x86_64-DVD/ruby.sh +2 -2
- data/templates/OracleLinux-6.4-i386-DVD/base.sh +1 -6
- data/templates/OracleLinux-6.4-i386-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-6.4-i386-DVD/puppet.sh +3 -3
- data/templates/OracleLinux-6.4-x86_64-DVD/base.sh +1 -6
- data/templates/OracleLinux-6.4-x86_64-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-6.4-x86_64-DVD/puppet.sh +3 -3
- data/templates/OracleLinux-6.5-i386-DVD/base.sh +20 -0
- data/templates/OracleLinux-6.5-i386-DVD/chef.sh +3 -0
- data/templates/OracleLinux-6.5-i386-DVD/cleanup.sh +9 -0
- data/templates/OracleLinux-6.5-i386-DVD/definition.rb +39 -0
- data/templates/OracleLinux-6.5-i386-DVD/ks.cfg +56 -0
- data/templates/OracleLinux-6.5-i386-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-6.5-i386-DVD/puppet.sh +10 -0
- data/templates/OracleLinux-6.5-i386-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-6.5-i386-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-6.5-i386-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-6.5-i386-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/base.sh +20 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/cleanup.sh +9 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/definition.rb +39 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/ks.cfg +56 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/puppet.sh +10 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/base.sh +19 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/cleanup.sh +11 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/definition.rb +40 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/ks.cfg +60 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/provision.sh +35 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/proxy.sh +3 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/puppet.sh +15 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/zerodisk.sh +2 -0
- data/templates/SLES-11-SP3-DVD-x86_64-GM/autoinst.xml +2608 -0
- data/templates/SLES-11-SP3-DVD-x86_64-GM/definition.rb +33 -0
- data/templates/SLES-11-SP3-DVD-x86_64-GM/postinstall.sh +52 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/definition.rb +1 -1
- data/templates/VMware-ESXi-5.1-x86_64/definition.rb +1 -1
- data/templates/archlinux-x86_64/aur.sh +2 -2
- data/templates/archlinux-x86_64/base.sh +1 -1
- data/templates/archlinux-x86_64/chef.sh +0 -11
- data/templates/archlinux-x86_64/definition.rb +1 -2
- data/templates/archlinux-x86_64/ruby.sh +2 -18
- data/templates/archlinux-x86_64/vagrant.sh +2 -4
- data/templates/freebsd-10.0-RELEASE-amd64/definition.rb +48 -0
- data/templates/freebsd-10.0-RELEASE-amd64/install.sh +33 -0
- data/templates/freebsd-10.0-RELEASE-amd64/postinstall.csh +125 -0
- data/templates/freebsd-9.1-RELEASE-amd64/definition.rb +1 -1
- data/templates/freebsd-9.1-RELEASE-amd64/install.sh +1 -0
- data/templates/freebsd-9.1-RELEASE-amd64/postinstall.csh +8 -8
- data/templates/freebsd-9.2-RELEASE-amd64/definition.rb +28 -0
- data/templates/freebsd-9.2-RELEASE-amd64/install.sh +66 -0
- data/templates/freebsd-9.2-RELEASE-amd64/postinstall.csh +134 -0
- data/templates/{funtoo-latest-x86_64 → funtoo-stable-x86_64}/definition.rb +5 -3
- data/templates/{funtoo-latest-x86_64 → funtoo-stable-x86_64}/postinstall.sh +78 -89
- data/templates/funtoo-unstable-x86_64/definition.rb +41 -0
- data/templates/funtoo-unstable-x86_64/postinstall.sh +459 -0
- data/templates/gentoo-latest-amd64/add_chef.sh +1 -1
- data/templates/gentoo-latest-amd64/add_puppet.sh +1 -1
- data/templates/gentoo-latest-amd64/cron.sh +1 -1
- data/templates/gentoo-latest-amd64/syslog.sh +1 -1
- data/templates/gentoo-latest-i686/add_chef.sh +1 -1
- data/templates/gentoo-latest-i686/add_puppet.sh +1 -1
- data/templates/gentoo-latest-i686/cron.sh +1 -1
- data/templates/gentoo-latest-i686/syslog.sh +1 -1
- data/templates/netbsd-613-amd64/README +2 -0
- data/templates/netbsd-613-amd64/base.sh +11 -0
- data/templates/netbsd-613-amd64/chef.sh +1 -0
- data/templates/netbsd-613-amd64/definition.rb +103 -0
- data/templates/netbsd-613-amd64/vagrant.sh +14 -0
- data/templates/nixos64/configuration.nix +41 -0
- data/templates/nixos64/definition.rb +50 -0
- data/templates/nixos64/postinstall.sh +28 -0
- data/templates/openSUSE-13.1/autoinst.xml +937 -0
- data/templates/openSUSE-13.1/definition.rb +70 -0
- data/templates/openSUSE-13.1/postinstall.sh +50 -0
- data/templates/openbsd54_amd64/README +28 -0
- data/templates/openbsd54_amd64/base.sh +40 -0
- data/templates/openbsd54_amd64/chef.sh +2 -0
- data/templates/openbsd54_amd64/definition.rb +91 -0
- data/templates/openbsd54_amd64/puppet.sh +3 -0
- data/templates/openbsd54_amd64/ruby.sh +14 -0
- data/templates/openbsd54_amd64/vagrant.sh +27 -0
- data/templates/openbsd54_i386/README +28 -0
- data/templates/openbsd54_i386/base.sh +40 -0
- data/templates/openbsd54_i386/chef.sh +2 -0
- data/templates/openbsd54_i386/definition.rb +91 -0
- data/templates/openbsd54_i386/puppet.sh +3 -0
- data/templates/openbsd54_i386/ruby.sh +14 -0
- data/templates/openbsd54_i386/vagrant.sh +27 -0
- data/templates/openbsd55_amd64/README +28 -0
- data/templates/openbsd55_amd64/base.sh +40 -0
- data/templates/openbsd55_amd64/chef.sh +2 -0
- data/templates/openbsd55_amd64/definition.rb +93 -0
- data/templates/openbsd55_amd64/puppet.sh +3 -0
- data/templates/openbsd55_amd64/ruby.sh +14 -0
- data/templates/openbsd55_amd64/vagrant.sh +27 -0
- data/templates/openbsd55_i386/README +28 -0
- data/templates/openbsd55_i386/base.sh +40 -0
- data/templates/openbsd55_i386/chef.sh +2 -0
- data/templates/openbsd55_i386/definition.rb +93 -0
- data/templates/openbsd55_i386/puppet.sh +3 -0
- data/templates/openbsd55_i386/ruby.sh +14 -0
- data/templates/openbsd55_i386/vagrant.sh +27 -0
- data/templates/openindiana-148-ai-x86/definition.rb +1 -1
- data/templates/openindiana-151a7-text-x86/definition.rb +1 -1
- data/templates/scientificlinux-6.1-i386-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.2-i386-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.3-i386-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.4-i386-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.5-i386-netboot/base.sh +14 -0
- data/templates/scientificlinux-6.5-i386-netboot/cfengine.sh +69 -0
- data/templates/scientificlinux-6.5-i386-netboot/chef.sh +4 -0
- data/templates/scientificlinux-6.5-i386-netboot/cleanup.sh +5 -0
- data/templates/scientificlinux-6.5-i386-netboot/definition.rb +40 -0
- data/templates/scientificlinux-6.5-i386-netboot/ks.cfg +41 -0
- data/templates/scientificlinux-6.5-i386-netboot/puppet.sh +18 -0
- data/templates/scientificlinux-6.5-i386-netboot/ruby.sh +3 -0
- data/templates/scientificlinux-6.5-i386-netboot/vagrant.sh +18 -0
- data/templates/scientificlinux-6.5-i386-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.5-i386-netboot/zerodisk.sh +3 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/base.sh +14 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/cfengine.sh +69 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/chef.sh +4 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/cleanup.sh +5 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/definition.rb +40 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/ks.cfg +41 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/puppet.sh +18 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/ruby.sh +3 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/vagrant.sh +18 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/solaris-10-ga-x86/README.md +5 -7
- data/templates/solaris-10-ga-x86/chef.sh +3 -6
- data/templates/solaris-10-ga-x86/cleanup.sh +1 -1
- data/templates/solaris-10-ga-x86/definition.rb +4 -3
- data/templates/solaris-10-ga-x86/postinstall.sh +6 -2
- data/templates/solaris-11-express-i386/definition.rb +1 -1
- data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.04.3-server-amd64-alt/definition.rb +1 -1
- data/templates/ubuntu-10.04.3-server-amd64-alt/postinstall.sh +6 -0
- data/templates/ubuntu-10.04.3-server-amd64/base.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/chef.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.3-server-amd64/puppet.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/ruby.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.3-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.3-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/cleanup.sh +7 -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 +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/virtualbox.sh +7 -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 +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/zerodisk.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/cleanup.sh +7 -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 +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/virtualbox.sh +7 -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 +7 -0
- data/templates/ubuntu-10.04.4-server-i386/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/ruby.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/zerodisk.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/base.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/chef.sh +8 -1
- data/templates/ubuntu-10.10-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/puppet.sh +8 -1
- data/templates/ubuntu-10.10-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.10-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/apt-upgrade.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/network-cleanup.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/nfs-client.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/remove-build-essentials.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/ssh-keys.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/sudo.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/timestamp.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/vbox_additions.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/zero-disk.sh +7 -0
- data/templates/ubuntu-11.04-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64-ishaya/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64-ruby192/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64-rvm/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-i386-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-desktop-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/base.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/vmfusion.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/vmtools.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/zerodisk.sh +7 -0
- data/templates/ubuntu-12.04.2-server-i386-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-i386-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.3-server-amd64/base.sh +1 -0
- data/templates/ubuntu-12.04.3-server-i386/apt.sh +1 -0
- data/templates/ubuntu-12.04.4-server-amd64/apt.sh +8 -0
- data/templates/ubuntu-12.04.4-server-amd64/build_time.sh +1 -0
- data/templates/ubuntu-12.04.4-server-amd64/chef.sh +3 -0
- data/templates/ubuntu-12.04.4-server-amd64/cleanup.sh +16 -0
- data/templates/ubuntu-12.04.4-server-amd64/definition.rb +45 -0
- data/templates/ubuntu-12.04.4-server-amd64/preseed.cfg +61 -0
- data/templates/ubuntu-12.04.4-server-amd64/puppet.sh +4 -0
- data/templates/ubuntu-12.04.4-server-amd64/ruby.sh +25 -0
- data/templates/ubuntu-12.04.4-server-amd64/sudo.sh +5 -0
- data/templates/ubuntu-12.04.4-server-amd64/vagrant.sh +6 -0
- data/templates/ubuntu-12.04.4-server-amd64/vbox.sh +18 -0
- data/templates/ubuntu-12.04.4-server-i386/apt.sh +8 -0
- data/templates/ubuntu-12.04.4-server-i386/build_time.sh +1 -0
- data/templates/ubuntu-12.04.4-server-i386/chef.sh +3 -0
- data/templates/ubuntu-12.04.4-server-i386/cleanup.sh +16 -0
- data/templates/ubuntu-12.04.4-server-i386/definition.rb +45 -0
- data/templates/ubuntu-12.04.4-server-i386/preseed.cfg +61 -0
- data/templates/ubuntu-12.04.4-server-i386/puppet.sh +4 -0
- data/templates/ubuntu-12.04.4-server-i386/ruby.sh +25 -0
- data/templates/ubuntu-12.04.4-server-i386/sudo.sh +5 -0
- data/templates/ubuntu-12.04.4-server-i386/vagrant.sh +6 -0
- data/templates/ubuntu-12.04.4-server-i386/vbox.sh +18 -0
- data/templates/ubuntu-12.10-desktop-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.10-server-amd64-packages/base.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/chef.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/cleanup.sh +7 -0
- data/templates/ubuntu-12.10-server-amd64-packages/puppet.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/ruby.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/vagrant.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/virtualbox.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/zerodisk.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.10-server-i386-packages/base.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/chef.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/cleanup.sh +7 -0
- data/templates/ubuntu-12.10-server-i386-packages/puppet.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/ruby.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/vagrant.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/virtualbox.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/zerodisk.sh +2 -0
- data/templates/ubuntu-12.10-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/apt.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/build_time.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/chef.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/puppet.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/rvm.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/sudo.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/vagrant.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/vbox.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/apt.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/build_time.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/sudo.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/vbox.sh +7 -0
- data/templates/ubuntu-14.04-server-amd64/apt.sh +7 -0
- data/templates/ubuntu-14.04-server-amd64/build_time.sh +1 -0
- data/templates/ubuntu-14.04-server-amd64/chef.sh +3 -0
- data/templates/ubuntu-14.04-server-amd64/cleanup.sh +16 -0
- data/templates/ubuntu-14.04-server-amd64/definition.rb +46 -0
- data/templates/ubuntu-14.04-server-amd64/parallels.sh +9 -0
- data/templates/ubuntu-14.04-server-amd64/preseed.cfg +61 -0
- data/templates/ubuntu-14.04-server-amd64/puppet.sh +4 -0
- data/templates/ubuntu-14.04-server-amd64/ruby.sh +25 -0
- data/templates/ubuntu-14.04-server-amd64/sudo.sh +5 -0
- data/templates/ubuntu-14.04-server-amd64/vagrant.sh +6 -0
- data/templates/ubuntu-14.04-server-amd64/vbox.sh +22 -0
- data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +7 -0
- data/templates/windows-2008R1-serverweb-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-2008R1-serverweb-i386/install-vbox-guest.bat +7 -2
- data/templates/windows-2008R1-serverwebcore-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat +6 -1
- data/templates/windows-2008R2-serverweb-amd64/install-vbox-guest.bat +8 -2
- data/templates/windows-2008R2-serverwebcore-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-2012-serverstandard-amd64/install-vbox.bat +5 -1
- data/templates/windows-2012R2-serverdatacenter-amd64/install-vbox.bat +5 -1
- data/templates/windows-7-enterprise-amd64-winrm/install-vbox.bat +6 -3
- data/templates/windows-7-enterprise-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-7-enterprise-i386/definition.rb +1 -1
- data/templates/windows-7-enterprise-i386/install-winrm.bat +4 -0
- data/templates/windows-7-enterprise-i386/postinstall.sh +1 -1
- data/templates/windows-8-amd64/definition.rb +3 -3
- data/veewee.gemspec +2 -0
- metadata +462 -45
- data/templates/archlinux-x86_64/basedevel.sh +0 -6
- data/templates/funtoo-latest-generic_64-stable/definition.rb +0 -34
- data/templates/funtoo-latest-generic_64-stable/postinstall.sh +0 -177
- data/templates/funtoo-latest-generic_64-stable/postinstall2.sh +0 -83
@@ -0,0 +1,10 @@
|
|
1
|
+
# Install Ruby from packages
|
2
|
+
apt-get -y install ruby ruby-dev libopenssl-ruby1.8 irb ri rdoc
|
3
|
+
|
4
|
+
# Install Rubygems from source
|
5
|
+
rg_ver=1.8.22
|
6
|
+
curl -o /tmp/rubygems-${rg_ver}.zip \
|
7
|
+
"http://production.cf.rubygems.org/rubygems/rubygems-${rg_ver}.zip"
|
8
|
+
(cd /tmp && unzip rubygems-${rg_ver}.zip && \
|
9
|
+
cd rubygems-${rg_ver} && ruby setup.rb --no-format-executable)
|
10
|
+
rm -rf /tmp/rubygems-${rg_ver} /tmp/rubygems-${rg_ver}.zip
|
@@ -0,0 +1,22 @@
|
|
1
|
+
if [ -f .veewee_params ]
|
2
|
+
then
|
3
|
+
. .veewee_params
|
4
|
+
fi
|
5
|
+
|
6
|
+
# Default to not installing systemd
|
7
|
+
if [ "$USE_SYSTEMD" = yes ]; then
|
8
|
+
apt-get install -y systemd
|
9
|
+
|
10
|
+
cat > /etc/default/grub << EOF
|
11
|
+
# If you change this file, run 'update-grub' afterwards to update
|
12
|
+
# /boot/grub/grub.cfg.
|
13
|
+
|
14
|
+
GRUB_DEFAULT=0
|
15
|
+
GRUB_TIMEOUT=0
|
16
|
+
GRUB_DISTRIBUTOR=Debian
|
17
|
+
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
|
18
|
+
GRUB_CMDLINE_LINUX="init=/lib/systemd/systemd debian-installer=en_US"
|
19
|
+
EOF
|
20
|
+
|
21
|
+
update-grub
|
22
|
+
fi
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Set up Vagrant.
|
2
|
+
|
3
|
+
date > /etc/vagrant_box_build_time
|
4
|
+
|
5
|
+
# Add groups puppet and chef
|
6
|
+
groupadd puppet
|
7
|
+
groupadd chef
|
8
|
+
|
9
|
+
# Create the user vagrant with password vagrant
|
10
|
+
useradd -G sudo -p $(perl -e'print crypt("vagrant", "vagrant")') -m -s /bin/bash -N vagrant
|
11
|
+
|
12
|
+
# Install vagrant keys
|
13
|
+
mkdir -pm 700 /home/vagrant/.ssh
|
14
|
+
curl -Lo /home/vagrant/.ssh/authorized_keys \
|
15
|
+
'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub'
|
16
|
+
chmod 0600 /home/vagrant/.ssh/authorized_keys
|
17
|
+
chown -R vagrant:vagrant /home/vagrant/.ssh
|
18
|
+
|
19
|
+
# Customize the message of the day
|
20
|
+
echo 'Welcome to your Vagrant-built virtual machine.' > /var/run/motd
|
21
|
+
|
22
|
+
# Install NFS client
|
23
|
+
apt-get -y install nfs-common
|
@@ -0,0 +1,38 @@
|
|
1
|
+
if test -f .vbox_version ; then
|
2
|
+
# The netboot installs the VirtualBox support (old) so we have to remove it
|
3
|
+
if test -f /etc/init.d/virtualbox-ose-guest-utils ; then
|
4
|
+
/etc/init.d/virtualbox-ose-guest-utils stop
|
5
|
+
fi
|
6
|
+
|
7
|
+
rmmod vboxguest
|
8
|
+
aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms virtualbox-ose-guest-utils
|
9
|
+
|
10
|
+
# Install dkms for dynamic compiles
|
11
|
+
|
12
|
+
apt-get install -y dkms
|
13
|
+
|
14
|
+
# If libdbus is not installed, virtualbox will not autostart
|
15
|
+
apt-get -y install --no-install-recommends libdbus-1-3
|
16
|
+
|
17
|
+
# Install the VirtualBox guest additions
|
18
|
+
VBOX_VERSION=$(cat .vbox_version)
|
19
|
+
VBOX_ISO=VBoxGuestAdditions_$VBOX_VERSION.iso
|
20
|
+
mount -o loop $VBOX_ISO /mnt
|
21
|
+
yes|sh /mnt/VBoxLinuxAdditions.run
|
22
|
+
umount /mnt
|
23
|
+
|
24
|
+
# Start the newly build driver
|
25
|
+
/etc/init.d/vboxadd start
|
26
|
+
|
27
|
+
# Make a temporary mount point
|
28
|
+
mkdir /tmp/veewee-validation
|
29
|
+
|
30
|
+
# Test mount the veewee-validation
|
31
|
+
mount -t vboxsf veewee-validation /tmp/veewee-validation
|
32
|
+
|
33
|
+
# Implement old cleanup-virtualbox.sh
|
34
|
+
rm $VBOX_ISO
|
35
|
+
|
36
|
+
# Symlink vbox guest additions. Fix for https://github.com/mitchellh/vagrant/issues/3341
|
37
|
+
ln -s /opt/VBoxGuestAdditions-$VBOX_VERSION/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
|
38
|
+
fi
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Update the box
|
2
|
+
apt-get -y update
|
3
|
+
apt-get -y install linux-headers-$(uname -r) build-essential
|
4
|
+
apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
|
5
|
+
apt-get -y install curl unzip
|
6
|
+
|
7
|
+
# Set up sudo
|
8
|
+
echo 'vagrant ALL=NOPASSWD:ALL' > /etc/sudoers.d/vagrant
|
9
|
+
|
10
|
+
# Tweak sshd to prevent DNS resolution (speed up logins)
|
11
|
+
echo 'UseDNS no' >> /etc/ssh/sshd_config
|
12
|
+
|
13
|
+
# Remove 5s grub timeout to speed up booting
|
14
|
+
cat <<EOF > /etc/default/grub
|
15
|
+
# If you change this file, run 'update-grub' afterwards to update
|
16
|
+
# /boot/grub/grub.cfg.
|
17
|
+
|
18
|
+
GRUB_DEFAULT=0
|
19
|
+
GRUB_TIMEOUT=0
|
20
|
+
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
|
21
|
+
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
|
22
|
+
GRUB_CMDLINE_LINUX="debian-installer=en_US"
|
23
|
+
EOF
|
24
|
+
|
25
|
+
update-grub
|
@@ -0,0 +1,49 @@
|
|
1
|
+
if [ -f .veewee_params ]
|
2
|
+
then
|
3
|
+
. .veewee_params
|
4
|
+
fi
|
5
|
+
|
6
|
+
# Default to Gem install
|
7
|
+
if [ -z "$CHEF_INSTALLMETHOD" ]; then
|
8
|
+
export CHEF_INSTALLMETHOD="gems"
|
9
|
+
fi
|
10
|
+
|
11
|
+
# Installing chef
|
12
|
+
case $CHEF_INSTALLMETHOD in
|
13
|
+
"gems")
|
14
|
+
# Using gems
|
15
|
+
if [ -z "$CHEF_VERSION" ]; then
|
16
|
+
# Default to latest
|
17
|
+
gem install chef --no-ri --no-rdoc
|
18
|
+
else
|
19
|
+
gem install chef --no-ri --no-rdoc --version $CHEF_VERSION
|
20
|
+
fi
|
21
|
+
;;
|
22
|
+
|
23
|
+
"omnibus")
|
24
|
+
# Using omnibus
|
25
|
+
if [ -z "$CHEF_VERSION" ]; then
|
26
|
+
# Default to latest
|
27
|
+
wget -O - http://opscode.com/chef/install.sh | sudo bash -s
|
28
|
+
else
|
29
|
+
wget -O - http://opscode.com/chef/install.sh | sudo bash -s -- -v $CHEF_VERSION
|
30
|
+
fi
|
31
|
+
;;
|
32
|
+
|
33
|
+
"package")
|
34
|
+
# Using packages
|
35
|
+
apt-get install -y debconf-utils
|
36
|
+
echo "chef chef/chef_server_url string $CHEF_SERVER_URL" | debconf-set-selections
|
37
|
+
if [ -z "$CHEF_VERSION" ]; then
|
38
|
+
# Default to latest
|
39
|
+
apt-get install -y chef
|
40
|
+
else
|
41
|
+
apt-get install -y chef=$CHEF_VERSION
|
42
|
+
fi
|
43
|
+
;;
|
44
|
+
|
45
|
+
*)
|
46
|
+
echo "Unsupported method for installing chef"
|
47
|
+
exit -1
|
48
|
+
;;
|
49
|
+
esac
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Clean up
|
2
|
+
apt-get -y remove linux-headers-$(uname -r) build-essential
|
3
|
+
apt-get -y autoremove
|
4
|
+
apt-get -y clean
|
5
|
+
|
6
|
+
# Removing leftover leases and persistent rules
|
7
|
+
echo "cleaning up dhcp leases"
|
8
|
+
rm /var/lib/dhcp/*
|
9
|
+
|
10
|
+
# Make sure Udev doesn't block our network
|
11
|
+
echo "cleaning up udev rules"
|
12
|
+
rm /etc/udev/rules.d/70-persistent-net.rules
|
13
|
+
mkdir /etc/udev/rules.d/70-persistent-net.rules
|
14
|
+
rm -rf /dev/.udev/
|
15
|
+
rm /lib/udev/rules.d/75-persistent-net-generator.rules
|
16
|
+
|
17
|
+
echo "Adding a 2 sec delay to the interface up, to make the dhclient happy"
|
18
|
+
echo "pre-up sleep 2" >> /etc/network/interfaces
|
@@ -0,0 +1,52 @@
|
|
1
|
+
#Thanks to Fletcher Nichol - https://github.com/fnichol
|
2
|
+
|
3
|
+
Veewee::Definition.declare({
|
4
|
+
:cpu_count => '1',
|
5
|
+
:memory_size=> '256',
|
6
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
7
|
+
:os_type_id => 'Debian_64',
|
8
|
+
:iso_file => "debian-7.6.0-amd64-netinst.iso",
|
9
|
+
:iso_src => "http://cdimage.debian.org/debian-cd/7.6.0/amd64/iso-cd/debian-7.6.0-amd64-netinst.iso",
|
10
|
+
:iso_md5 => "8a3c2ad7fd7a9c4c7e9bcb5cae38c135",
|
11
|
+
:iso_download_timeout => "1000",
|
12
|
+
:boot_wait => "10", :boot_cmd_sequence => [
|
13
|
+
'<Esc>',
|
14
|
+
'install ',
|
15
|
+
'preseed/url=http://%IP%:%PORT%/preseed.cfg ',
|
16
|
+
'debian-installer=en_US ',
|
17
|
+
'auto ',
|
18
|
+
'locale=en_US ',
|
19
|
+
'kbd-chooser/method=us ',
|
20
|
+
'netcfg/get_hostname=%NAME% ',
|
21
|
+
'netcfg/get_domain=vagrantup.com ',
|
22
|
+
'fb=false ',
|
23
|
+
'debconf/frontend=noninteractive ',
|
24
|
+
'console-setup/ask_detect=false ',
|
25
|
+
'console-keymaps-at/keymap=us ',
|
26
|
+
'keyboard-configuration/xkb-keymap=us ',
|
27
|
+
'<Enter>'
|
28
|
+
],
|
29
|
+
:kickstart_port => "7122",
|
30
|
+
:kickstart_timeout => "10000",
|
31
|
+
:kickstart_file => "preseed.cfg",
|
32
|
+
:ssh_login_timeout => "10000",
|
33
|
+
:ssh_user => "vagrant",
|
34
|
+
:ssh_password => "vagrant",
|
35
|
+
:ssh_key => "",
|
36
|
+
:ssh_host_port => "7222",
|
37
|
+
:ssh_guest_port => "22",
|
38
|
+
:sudo_cmd => "echo '%p'|sudo -S bash '%f'",
|
39
|
+
:shutdown_cmd => "halt -p",
|
40
|
+
:postinstall_files => [
|
41
|
+
"base.sh",
|
42
|
+
"vagrant.sh",
|
43
|
+
"virtualbox.sh",
|
44
|
+
#"vmfusion.sh",
|
45
|
+
"ruby.sh",
|
46
|
+
"puppet.sh",
|
47
|
+
"chef.sh",
|
48
|
+
"cleanup.sh",
|
49
|
+
"zerodisk.sh"
|
50
|
+
],
|
51
|
+
:postinstall_timeout => "10000"
|
52
|
+
})
|
@@ -0,0 +1,313 @@
|
|
1
|
+
#### Contents of the preconfiguration file (for wheezy)
|
2
|
+
### Localization
|
3
|
+
# Locale sets language and country.
|
4
|
+
d-i debian-installer/locale string en_US.UTF-8
|
5
|
+
|
6
|
+
# Keyboard selection.
|
7
|
+
#d-i keymap select us
|
8
|
+
d-i keyboard-configuration/xkb-keymap select us
|
9
|
+
|
10
|
+
### Network configuration
|
11
|
+
# netcfg will choose an interface that has link if possible. This makes it
|
12
|
+
# skip displaying a list if there is more than one interface.
|
13
|
+
d-i netcfg/choose_interface select auto
|
14
|
+
|
15
|
+
# To pick a particular interface instead:
|
16
|
+
#d-i netcfg/choose_interface select eth1
|
17
|
+
|
18
|
+
# If you have a slow dhcp server and the installer times out waiting for
|
19
|
+
# it, this might be useful.
|
20
|
+
#d-i netcfg/dhcp_timeout string 60
|
21
|
+
|
22
|
+
# If you prefer to configure the network manually, uncomment this line and
|
23
|
+
# the static network configuration below.
|
24
|
+
#d-i netcfg/disable_dhcp boolean true
|
25
|
+
|
26
|
+
# If you want the preconfiguration file to work on systems both with and
|
27
|
+
# without a dhcp server, uncomment these lines and the static network
|
28
|
+
# configuration below.
|
29
|
+
#d-i netcfg/dhcp_failed note
|
30
|
+
#d-i netcfg/dhcp_options select Configure network manually
|
31
|
+
|
32
|
+
# Static network configuration.
|
33
|
+
#d-i netcfg/get_nameservers string 192.168.1.1
|
34
|
+
#d-i netcfg/get_ipaddress string 192.168.1.42
|
35
|
+
#d-i netcfg/get_netmask string 255.255.255.0
|
36
|
+
#d-i netcfg/get_gateway string 192.168.1.1
|
37
|
+
#d-i netcfg/confirm_static boolean true
|
38
|
+
|
39
|
+
# Any hostname and domain names assigned from dhcp take precedence over
|
40
|
+
# values set here. However, setting the values still prevents the questions
|
41
|
+
# from being shown, even if values come from dhcp.
|
42
|
+
#d-i netcfg/get_hostname string vagrant
|
43
|
+
d-i netcfg/get_domain string vagrantup.com
|
44
|
+
|
45
|
+
# Disable that annoying WEP key dialog.
|
46
|
+
d-i netcfg/wireless_wep string
|
47
|
+
# The wacky dhcp hostname that some ISPs use as a password of sorts.
|
48
|
+
#d-i netcfg/dhcp_hostname string radish
|
49
|
+
|
50
|
+
# If non-free firmware is needed for the network or other hardware, you can
|
51
|
+
# configure the installer to always try to load it, without prompting. Or
|
52
|
+
# change to false to disable asking.
|
53
|
+
#d-i hw-detect/load_firmware boolean true
|
54
|
+
|
55
|
+
### Network console
|
56
|
+
# Use the following settings if you wish to make use of the network-console
|
57
|
+
# component for remote installation over SSH. This only makes sense if you
|
58
|
+
# intend to perform the remainder of the installation manually.
|
59
|
+
#d-i anna/choose_modules string network-console
|
60
|
+
#d-i network-console/password password r00tme
|
61
|
+
#d-i network-console/password-again password r00tme
|
62
|
+
|
63
|
+
### Mirror settings
|
64
|
+
# If you select ftp, the mirror/country string does not need to be set.
|
65
|
+
#d-i mirror/protocol string ftp
|
66
|
+
d-i mirror/country string manual
|
67
|
+
d-i mirror/http/hostname string http.debian.net
|
68
|
+
d-i mirror/http/directory string /debian
|
69
|
+
d-i mirror/http/proxy string
|
70
|
+
|
71
|
+
# Suite to install.
|
72
|
+
#d-i mirror/suite string testing
|
73
|
+
# Suite to use for loading installer components (optional).
|
74
|
+
#d-i mirror/udeb/suite string testing
|
75
|
+
|
76
|
+
### Clock and time zone setup
|
77
|
+
# Controls whether or not the hardware clock is set to UTC.
|
78
|
+
d-i clock-setup/utc boolean true
|
79
|
+
|
80
|
+
# You may set this to any valid setting for $TZ; see the contents of
|
81
|
+
# /usr/share/zoneinfo/ for valid values.
|
82
|
+
d-i time/zone string UTC
|
83
|
+
|
84
|
+
# Controls whether to use NTP to set the clock during the install
|
85
|
+
d-i clock-setup/ntp boolean true
|
86
|
+
# NTP server to use. The default is almost always fine here.
|
87
|
+
#d-i clock-setup/ntp-server string ntp.example.com
|
88
|
+
|
89
|
+
### Partitioning
|
90
|
+
# If the system has free space you can choose to only partition that space.
|
91
|
+
#d-i partman-auto/init_automatically_partition select biggest_free
|
92
|
+
|
93
|
+
# Alternatively, you can specify a disk to partition. The device name must
|
94
|
+
# be given in traditional non-devfs format.
|
95
|
+
# Note: A disk must be specified, unless the system has only one disk.
|
96
|
+
# For example, to use the first SCSI/SATA hard disk:
|
97
|
+
#d-i partman-auto/disk string /dev/sda
|
98
|
+
# In addition, you'll need to specify the method to use.
|
99
|
+
# The presently available methods are: "regular", "lvm" and "crypto"
|
100
|
+
d-i partman-auto/method string lvm
|
101
|
+
|
102
|
+
# If one of the disks that are going to be automatically partitioned
|
103
|
+
# contains an old LVM configuration, the user will normally receive a
|
104
|
+
# warning. This can be preseeded away...
|
105
|
+
d-i partman-lvm/device_remove_lvm boolean true
|
106
|
+
# The same applies to pre-existing software RAID array:
|
107
|
+
d-i partman-md/device_remove_md boolean true
|
108
|
+
|
109
|
+
# And the same goes for the confirmation to write the lvm partitions.
|
110
|
+
d-i partman-lvm/confirm boolean true
|
111
|
+
d-i partman-lvm/confirm_nooverwrite boolean true
|
112
|
+
|
113
|
+
|
114
|
+
d-i partman/choose_partition select finish
|
115
|
+
d-i partman-auto-lvm/guided_size string max
|
116
|
+
|
117
|
+
# You can choose one of the three predefined partitioning recipes:
|
118
|
+
# - atomic: all files in one partition
|
119
|
+
# - home: separate /home partition
|
120
|
+
# - multi: separate /home, /usr, /var, and /tmp partitions
|
121
|
+
d-i partman-auto/choose_recipe select atomic
|
122
|
+
d-i partman/default_filesystem string ext3
|
123
|
+
|
124
|
+
# Or provide a recipe of your own...
|
125
|
+
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
|
126
|
+
# If you have a way to get a recipe file into the d-i environment, you can
|
127
|
+
# just point at it.
|
128
|
+
#d-i partman-auto/expert_recipe_file string /hd-media/recipe
|
129
|
+
|
130
|
+
# If not, you can put an entire recipe into the preconfiguration file in one
|
131
|
+
# (logical) line. This example creates a small /boot partition, suitable
|
132
|
+
# swap, and uses the rest of the space for the root partition:
|
133
|
+
#d-i partman-auto/expert_recipe string \
|
134
|
+
# boot-root :: \
|
135
|
+
# 40 50 100 ext3 \
|
136
|
+
# $primary{ } $bootable{ } \
|
137
|
+
# method{ format } format{ } \
|
138
|
+
# use_filesystem{ } filesystem{ ext3 } \
|
139
|
+
# mountpoint{ /boot } \
|
140
|
+
# . \
|
141
|
+
# 500 10000 1000000000 ext3 \
|
142
|
+
# method{ format } format{ } \
|
143
|
+
# use_filesystem{ } filesystem{ ext3 } \
|
144
|
+
# mountpoint{ / } \
|
145
|
+
# . \
|
146
|
+
# 64 512 300% linux-swap \
|
147
|
+
# method{ swap } format{ } \
|
148
|
+
# .
|
149
|
+
|
150
|
+
#The preseed line that "selects finish" needs to be in a certain order in your preseed, the example-preseed does not follow this.
|
151
|
+
#http://ubuntuforums.org/archive/index.php/t-1504045.html
|
152
|
+
|
153
|
+
# This makes partman automatically partition without confirmation, provided
|
154
|
+
# that you told it what to do using one of the methods above.
|
155
|
+
d-i partman/confirm_write_new_label boolean true
|
156
|
+
d-i partman/confirm boolean true
|
157
|
+
d-i partman/confirm_nooverwrite boolean true
|
158
|
+
|
159
|
+
|
160
|
+
### Base system installation
|
161
|
+
# Select the initramfs generator used to generate the initrd for 2.6 kernels.
|
162
|
+
#d-i base-installer/kernel/linux/initramfs-generators string yaird
|
163
|
+
|
164
|
+
# The kernel image (meta) package to be installed; "none" can be used if no
|
165
|
+
# kernel is to be installed.
|
166
|
+
#d-i base-installer/kernel/image string linux-image-2.6-486
|
167
|
+
|
168
|
+
### Account setup
|
169
|
+
# Skip creation of a root account (normal user account will be able to
|
170
|
+
# use sudo).
|
171
|
+
d-i passwd/root-login boolean false
|
172
|
+
# Alternatively, to skip creation of a normal user account.
|
173
|
+
#d-i passwd/make-user boolean false
|
174
|
+
|
175
|
+
# Root password, either in clear text
|
176
|
+
d-i passwd/root-password password vagrant
|
177
|
+
d-i passwd/root-password-again password vagrant
|
178
|
+
# or encrypted using an MD5 hash.
|
179
|
+
#d-i passwd/root-password-crypted password [MD5 hash]
|
180
|
+
|
181
|
+
# To create a normal user account.
|
182
|
+
d-i passwd/user-fullname string Vagrant User
|
183
|
+
d-i passwd/username string vagrant
|
184
|
+
# Normal user's password, either in clear text
|
185
|
+
d-i passwd/user-password password vagrant
|
186
|
+
d-i passwd/user-password-again password vagrant
|
187
|
+
# or encrypted using an MD5 hash.
|
188
|
+
#d-i passwd/user-password-crypted password [MD5 hash]
|
189
|
+
# Create the first user with the specified UID instead of the default.
|
190
|
+
#d-i passwd/user-uid string 1010
|
191
|
+
d-i user-setup/encrypt-home boolean false
|
192
|
+
d-i user-setup/allow-password-weak boolean true
|
193
|
+
|
194
|
+
# The user account will be added to some standard initial groups. To
|
195
|
+
# override that, use this.
|
196
|
+
d-i passwd/user-default-groups string audio cdrom video admin
|
197
|
+
|
198
|
+
### Apt setup
|
199
|
+
# You can choose to install non-free and contrib software.
|
200
|
+
#d-i apt-setup/non-free boolean true
|
201
|
+
#d-i apt-setup/contrib boolean true
|
202
|
+
# Uncomment this if you don't want to use a network mirror.
|
203
|
+
#d-i apt-setup/use_mirror boolean false
|
204
|
+
# Select which update services to use; define the mirrors to be used.
|
205
|
+
# Values shown below are the normal defaults.
|
206
|
+
#d-i apt-setup/services-select multiselect security, volatile
|
207
|
+
#d-i apt-setup/security_host string security.debian.org
|
208
|
+
#d-i apt-setup/volatile_host string volatile.debian.org
|
209
|
+
|
210
|
+
|
211
|
+
# By default the installer requires that repositories be authenticated
|
212
|
+
# using a known gpg key. This setting can be used to disable that
|
213
|
+
# authentication. Warning: Insecure, not recommended.
|
214
|
+
#d-i debian-installer/allow_unauthenticated string true
|
215
|
+
|
216
|
+
### Package selection
|
217
|
+
tasksel tasksel/first multiselect standard
|
218
|
+
# If the desktop task is selected, install the kde and xfce desktops
|
219
|
+
# instead of the default gnome desktop.
|
220
|
+
#tasksel tasksel/desktop multiselect kde, xfce
|
221
|
+
|
222
|
+
# Individual additional packages to install
|
223
|
+
d-i pkgsel/include string openssh-server ntp acpid sudo bzip2 rsync
|
224
|
+
|
225
|
+
# Whether to upgrade packages after debootstrap.
|
226
|
+
# Allowed values: none, safe-upgrade, full-upgrade
|
227
|
+
d-i pkgsel/upgrade select none
|
228
|
+
|
229
|
+
# Some versions of the installer can report back on what software you have
|
230
|
+
# installed, and what software you use. The default is not to report back,
|
231
|
+
# but sending reports helps the project determine what software is most
|
232
|
+
# popular and include it on CDs.
|
233
|
+
popularity-contest popularity-contest/participate boolean false
|
234
|
+
|
235
|
+
### Boot loader installation
|
236
|
+
# Grub is the default boot loader (for x86). If you want lilo installed
|
237
|
+
# instead, uncomment this:
|
238
|
+
#d-i grub-installer/skip boolean true
|
239
|
+
# To also skip installing lilo, and install no bootloader, uncomment this
|
240
|
+
# too:
|
241
|
+
#d-i lilo-installer/skip boolean true
|
242
|
+
|
243
|
+
# This is fairly safe to set, it makes grub install automatically to the MBR
|
244
|
+
# if no other operating system is detected on the machine.
|
245
|
+
d-i grub-installer/only_debian boolean true
|
246
|
+
|
247
|
+
# This one makes grub-installer install to the MBR if it also finds some other
|
248
|
+
# OS, which is less safe as it might not be able to boot that other OS.
|
249
|
+
d-i grub-installer/with_other_os boolean true
|
250
|
+
|
251
|
+
# Alternatively, if you want to install to a location other than the mbr,
|
252
|
+
# uncomment and edit these lines:
|
253
|
+
#d-i grub-installer/only_debian boolean false
|
254
|
+
#d-i grub-installer/with_other_os boolean false
|
255
|
+
#d-i grub-installer/bootdev string (hd0,0)
|
256
|
+
# To install grub to multiple disks:
|
257
|
+
#d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)
|
258
|
+
|
259
|
+
# Optional password for grub, either in clear text
|
260
|
+
#d-i grub-installer/password password r00tme
|
261
|
+
#d-i grub-installer/password-again password r00tme
|
262
|
+
# or encrypted using an MD5 hash, see grub-md5-crypt(8).
|
263
|
+
#d-i grub-installer/password-crypted password [MD5 hash]
|
264
|
+
|
265
|
+
### Finishing up the installation
|
266
|
+
# During installations from serial console, the regular virtual consoles
|
267
|
+
# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
|
268
|
+
# line to prevent this.
|
269
|
+
#d-i finish-install/keep-consoles boolean true
|
270
|
+
|
271
|
+
# Avoid that last message about the install being complete.
|
272
|
+
d-i finish-install/reboot_in_progress note
|
273
|
+
|
274
|
+
# This will prevent the installer from ejecting the CD during the reboot,
|
275
|
+
# which is useful in some situations.
|
276
|
+
#d-i cdrom-detect/eject boolean false
|
277
|
+
|
278
|
+
# This is how to make the installer shutdown when finished, but not
|
279
|
+
# reboot into the installed system.
|
280
|
+
#d-i debian-installer/exit/halt boolean true
|
281
|
+
# This will power off the machine instead of just halting it.
|
282
|
+
#d-i debian-installer/exit/poweroff boolean true
|
283
|
+
|
284
|
+
### Preseeding other packages
|
285
|
+
# Depending on what software you choose to install, or if things go wrong
|
286
|
+
# during the installation process, it's possible that other questions may
|
287
|
+
# be asked. You can preseed those too, of course. To get a list of every
|
288
|
+
# possible question that could be asked during an install, do an
|
289
|
+
# installation, and then run these commands:
|
290
|
+
# debconf-get-selections --installer > file
|
291
|
+
# debconf-get-selections >> file
|
292
|
+
|
293
|
+
|
294
|
+
#### Advanced options
|
295
|
+
### Running custom commands during the installation
|
296
|
+
# d-i preseeding is inherently not secure. Nothing in the installer checks
|
297
|
+
# for attempts at buffer overflows or other exploits of the values of a
|
298
|
+
# preconfiguration file like this one. Only use preconfiguration files from
|
299
|
+
# trusted locations! To drive that home, and because it's generally useful,
|
300
|
+
# here's a way to run any shell command you'd like inside the installer,
|
301
|
+
# automatically.
|
302
|
+
|
303
|
+
# This first command is run as early as possible, just after
|
304
|
+
# preseeding is read.
|
305
|
+
# Prevent packaged version of VirtualBox Guest Additions being installed:
|
306
|
+
d-i preseed/early_command string sed -i \
|
307
|
+
'/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \
|
308
|
+
/usr/lib/pre-pkgsel.d/20install-hwpackages
|
309
|
+
|
310
|
+
# This command is run just before the install finishes, but when there is
|
311
|
+
# still a usable /target directory. You can chroot to /target and use it
|
312
|
+
# directly, or use the apt-install and in-target commands to easily install
|
313
|
+
# packages and run commands in the target system.
|