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
@@ -1,12 +1,41 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
# Install Ruby from sources
|
2
|
+
|
3
|
+
# add epel repo for Ruby compile time dependencies
|
4
|
+
cat > /etc/yum.repos.d/epel.repo << EOM
|
5
|
+
[epel]
|
6
|
+
name=epel
|
7
|
+
baseurl=http://download.fedoraproject.org/pub/epel/5/\$basearch
|
8
|
+
enabled=1
|
9
|
+
gpgcheck=0
|
10
|
+
includepkgs=libffi*
|
11
|
+
EOM
|
12
|
+
|
13
|
+
# Install required library packages
|
14
|
+
yum install -y gdbm-devel libffi-devel ncurses-devel
|
15
|
+
|
16
|
+
# Install LibYAML (prerequisite for Ruby)
|
17
|
+
YAML_VERSION=0.1.4
|
18
|
+
wget http://pyyaml.org/download/libyaml/yaml-$YAML_VERSION.tar.gz
|
19
|
+
tar xzvf yaml-$YAML_VERSION.tar.gz
|
20
|
+
cd yaml-$YAML_VERSION
|
21
|
+
./configure --prefix=/opt
|
7
22
|
make && make install
|
8
|
-
cd
|
9
|
-
rm -rf
|
10
|
-
rm
|
11
|
-
|
12
|
-
|
23
|
+
cd ..
|
24
|
+
rm -rf yaml-$YAML_VERSION
|
25
|
+
rm -f yaml-$YAML_VERSION.tar.gz
|
26
|
+
|
27
|
+
# Install Ruby
|
28
|
+
RUBY_VERSION=1.9.3-p484
|
29
|
+
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-$RUBY_VERSION.tar.gz
|
30
|
+
tar xvzf ruby-$RUBY_VERSION.tar.gz
|
31
|
+
cd ruby-$RUBY_VERSION
|
32
|
+
# Fix: BSD compatibility arguments not supported by the installed version of sed
|
33
|
+
sed -i "s/sed -E/sed -e/" configure
|
34
|
+
./configure --prefix=/opt/ruby --disable-install-doc --with-opt-dir=/opt
|
35
|
+
make && make install
|
36
|
+
cd ..
|
37
|
+
rm -rf ruby-$RUBY_VERSION
|
38
|
+
rm -f ruby-$RUBY_VERSION.tar.gz
|
39
|
+
|
40
|
+
# remove epel repo
|
41
|
+
rm -rf /etc/yum.repos.d/epel.repo
|
@@ -1,18 +1,9 @@
|
|
1
|
-
# Vagrant
|
2
|
-
date > /etc/vagrant_box_build_time
|
1
|
+
# Vagrant configuration
|
3
2
|
|
4
|
-
|
5
|
-
/usr/sbin/groupadd vagrant
|
6
|
-
/usr/sbin/useradd vagrant -g vagrant -G wheel
|
7
|
-
echo "vagrant"|passwd --stdin vagrant
|
8
|
-
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
|
9
|
-
chmod 0440 /etc/sudoers.d/vagrant
|
3
|
+
date > /etc/vagrant_box_build_time
|
10
4
|
|
11
5
|
# Installing vagrant keys
|
12
6
|
mkdir -pm 700 /home/vagrant/.ssh
|
13
7
|
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
14
8
|
chmod 0600 /home/vagrant/.ssh/authorized_keys
|
15
9
|
chown -R vagrant /home/vagrant/.ssh
|
16
|
-
|
17
|
-
# Customize the message of the day
|
18
|
-
echo 'Welcome to your Vagrant-built virtual machine.' > /etc/motd
|
@@ -1,8 +1,9 @@
|
|
1
|
-
# Installing
|
2
|
-
|
1
|
+
# Installing VirtualBox Guest Additions
|
2
|
+
|
3
|
+
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
3
4
|
cd /tmp
|
4
|
-
mount -o loop /home/
|
5
|
+
mount -o loop /home/vagrant/VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
5
6
|
sh /mnt/VBoxLinuxAdditions.run
|
6
7
|
umount /mnt
|
7
|
-
rm -rf /home/
|
8
|
+
rm -rf /home/vagrant/VBoxGuestAdditions_*.iso
|
8
9
|
|
@@ -3,7 +3,10 @@
|
|
3
3
|
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
|
4
4
|
sed -i "s/^\(.*env_keep = \"\)/\1PATH /" /etc/sudoers
|
5
5
|
|
6
|
+
# Use base URL for CentOS version 5.9 packages
|
7
|
+
sed -i "s/mirrorlist=/#mirrorlist=/" /etc/yum.repos.d/CentOS-Base.repo
|
8
|
+
sed -i "s/#baseurl=http:\/\/mirror.centos.org\/centos\/\$releasever\/\([a-z]\+\)\/.*/baseurl=http:\/\/vault.centos.org\/5.9\/\1\/i386/" /etc/yum.repos.d/CentOS-Base.repo
|
9
|
+
|
6
10
|
yum -y install gcc make gcc-c++ kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel sqlite-devel perl wget dkms bzip2
|
7
|
-
yum -y erase wireless-tools gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts
|
8
|
-
yum -y clean all
|
9
11
|
|
12
|
+
yum -y erase gtk2 libX11 hicolor-icon-theme freetype bitstream-vera-fonts
|
@@ -1,7 +1,11 @@
|
|
1
|
-
|
1
|
+
# Clean up
|
2
|
+
|
2
3
|
yum -y clean all
|
3
|
-
rm -rf /etc/yum.repos.d/
|
4
|
+
rm -rf /etc/yum.repos.d/puppetlabs.repo
|
4
5
|
rm -rf VBoxGuestAdditions_*.iso
|
5
6
|
|
6
|
-
# Remove
|
7
|
+
# Remove mac address from network configuration
|
7
8
|
sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
|
9
|
+
|
10
|
+
# Remove DHCP leases
|
11
|
+
rm /var/lib/dhclient/*.leases
|
@@ -3,7 +3,7 @@ Veewee::Session.declare({
|
|
3
3
|
:memory_size=> '384',
|
4
4
|
:disk_size => '10140',
|
5
5
|
:disk_format => 'VDI',
|
6
|
-
:hostiocache => '
|
6
|
+
:hostiocache => 'on',
|
7
7
|
:virtualbox => {
|
8
8
|
:vm_options => [
|
9
9
|
"pae" => "on",
|
@@ -12,7 +12,7 @@ Veewee::Session.declare({
|
|
12
12
|
},
|
13
13
|
:os_type_id => 'RedHat',
|
14
14
|
:iso_file => "CentOS-5.9-i386-bin-DVD-1of2.iso",
|
15
|
-
:iso_src => "http://
|
15
|
+
:iso_src => "http://archive.kernel.org/centos/5.9/isos/i386/CentOS-5.9-i386-bin-DVD-1of2.iso",
|
16
16
|
:iso_md5 => "c8caaa18400dfde2065d8ef58eb9e9bf",
|
17
17
|
:iso_download_timeout => 1000,
|
18
18
|
:boot_wait => "10",
|
@@ -35,7 +35,6 @@ Veewee::Session.declare({
|
|
35
35
|
"puppet.sh",
|
36
36
|
"vagrant.sh",
|
37
37
|
"virtualbox.sh",
|
38
|
-
#"vmfusion.sh",
|
39
38
|
"cleanup.sh",
|
40
39
|
"zerodisk.sh"
|
41
40
|
],
|
@@ -1,47 +1,27 @@
|
|
1
|
-
# Kickstart file automatically generated by anaconda.
|
2
|
-
|
3
1
|
install
|
4
2
|
cdrom
|
5
3
|
lang en_US.UTF-8
|
6
4
|
langsupport --default=en_US.UTF-8 en_US.UTF-8
|
7
5
|
keyboard us
|
8
|
-
|
6
|
+
text
|
7
|
+
skipx
|
8
|
+
zerombr
|
9
9
|
network --device eth0 --bootproto dhcp
|
10
|
-
rootpw
|
10
|
+
rootpw vagrant
|
11
11
|
firewall --enabled --trust eth0 --ssh
|
12
|
-
selinux --
|
12
|
+
selinux --disabled
|
13
13
|
authconfig --enableshadow --enablemd5
|
14
14
|
timezone America/New_York
|
15
15
|
bootloader --location=mbr
|
16
|
-
# The following is the partition information you requested
|
17
|
-
# Note that any partitions you deleted are not expressed
|
18
|
-
# here so unless you clear all partitions first, this is
|
19
|
-
# not guaranteed to work
|
20
16
|
clearpart --all --initlabel
|
21
|
-
|
22
|
-
part pv.2 --size=0 --grow
|
23
|
-
volgroup VolGroup00 --pesize=32768 pv.2
|
24
|
-
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=528 --grow --maxsize=1056
|
25
|
-
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
|
17
|
+
autopart
|
26
18
|
reboot
|
27
19
|
|
28
20
|
%packages
|
29
|
-
#@ admin-tools
|
30
|
-
#@ text-internet
|
31
|
-
#@ dialup
|
32
|
-
#@ smb-server
|
33
|
-
#@ web-server
|
34
|
-
#@ printing
|
35
|
-
#@ server-cfg
|
36
21
|
@ core
|
37
|
-
grub
|
38
|
-
e2fsprogs
|
39
|
-
lvm2
|
40
|
-
kernel-devel
|
41
|
-
kernel-headers
|
42
|
-
|
43
22
|
%post
|
44
23
|
/usr/sbin/groupadd vagrant
|
45
24
|
/usr/sbin/useradd vagrant -g vagrant -G wheel
|
46
25
|
echo "vagrant"|passwd --stdin vagrant
|
47
|
-
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
26
|
+
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
27
|
+
%end
|
@@ -1,12 +1,41 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
# Install Ruby from sources
|
2
|
+
|
3
|
+
# add epel repo for Ruby compile time dependencies
|
4
|
+
cat > /etc/yum.repos.d/epel.repo << EOM
|
5
|
+
[epel]
|
6
|
+
name=epel
|
7
|
+
baseurl=http://download.fedoraproject.org/pub/epel/5/\$basearch
|
8
|
+
enabled=1
|
9
|
+
gpgcheck=0
|
10
|
+
includepkgs=libffi*
|
11
|
+
EOM
|
12
|
+
|
13
|
+
# Install required library packages
|
14
|
+
yum install -y gdbm-devel libffi-devel ncurses-devel
|
15
|
+
|
16
|
+
# Install LibYAML (prerequisite for Ruby)
|
17
|
+
YAML_VERSION=0.1.4
|
18
|
+
wget http://pyyaml.org/download/libyaml/yaml-$YAML_VERSION.tar.gz
|
19
|
+
tar xzvf yaml-$YAML_VERSION.tar.gz
|
20
|
+
cd yaml-$YAML_VERSION
|
21
|
+
./configure --prefix=/opt
|
7
22
|
make && make install
|
8
|
-
cd
|
9
|
-
rm -rf
|
10
|
-
rm
|
11
|
-
|
12
|
-
|
23
|
+
cd ..
|
24
|
+
rm -rf yaml-$YAML_VERSION
|
25
|
+
rm -f yaml-$YAML_VERSION.tar.gz
|
26
|
+
|
27
|
+
# Install Ruby
|
28
|
+
RUBY_VERSION=1.9.3-p484
|
29
|
+
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-$RUBY_VERSION.tar.gz
|
30
|
+
tar xvzf ruby-$RUBY_VERSION.tar.gz
|
31
|
+
cd ruby-$RUBY_VERSION
|
32
|
+
# Fix: BSD compatibility arguments not supported by the installed version of sed
|
33
|
+
sed -i "s/sed -E/sed -e/" configure
|
34
|
+
./configure --prefix=/opt/ruby --disable-install-doc --with-opt-dir=/opt
|
35
|
+
make && make install
|
36
|
+
cd ..
|
37
|
+
rm -rf ruby-$RUBY_VERSION
|
38
|
+
rm -f ruby-$RUBY_VERSION.tar.gz
|
39
|
+
|
40
|
+
# remove epel repo
|
41
|
+
rm -rf /etc/yum.repos.d/epel.repo
|
@@ -1,18 +1,9 @@
|
|
1
|
-
# Vagrant
|
2
|
-
date > /etc/vagrant_box_build_time
|
1
|
+
# Vagrant configuration
|
3
2
|
|
4
|
-
|
5
|
-
/usr/sbin/groupadd vagrant
|
6
|
-
/usr/sbin/useradd vagrant -g vagrant -G wheel
|
7
|
-
echo "vagrant"|passwd --stdin vagrant
|
8
|
-
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
|
9
|
-
chmod 0440 /etc/sudoers.d/vagrant
|
3
|
+
date > /etc/vagrant_box_build_time
|
10
4
|
|
11
5
|
# Installing vagrant keys
|
12
6
|
mkdir -pm 700 /home/vagrant/.ssh
|
13
7
|
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
14
8
|
chmod 0600 /home/vagrant/.ssh/authorized_keys
|
15
9
|
chown -R vagrant /home/vagrant/.ssh
|
16
|
-
|
17
|
-
# Customize the message of the day
|
18
|
-
echo 'Welcome to your Vagrant-built virtual machine.' > /etc/motd
|
@@ -1,8 +1,9 @@
|
|
1
|
-
# Installing
|
2
|
-
|
1
|
+
# Installing VirtualBox Guest Additions
|
2
|
+
|
3
|
+
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
3
4
|
cd /tmp
|
4
|
-
mount -o loop /home/
|
5
|
+
mount -o loop /home/vagrant/VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
5
6
|
sh /mnt/VBoxLinuxAdditions.run
|
6
7
|
umount /mnt
|
7
|
-
rm -rf /home/
|
8
|
+
rm -rf /home/vagrant/VBoxGuestAdditions_*.iso
|
8
9
|
|
@@ -3,7 +3,10 @@
|
|
3
3
|
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
|
4
4
|
sed -i "s/^\(.*env_keep = \"\)/\1PATH /" /etc/sudoers
|
5
5
|
|
6
|
+
# Use base URL for CentOS version 5.9 packages
|
7
|
+
sed -i "s/mirrorlist=/#mirrorlist=/" /etc/yum.repos.d/CentOS-Base.repo
|
8
|
+
sed -i "s/#baseurl=http:\/\/mirror.centos.org\/centos\/\$releasever\/\([a-z]\+\)\/.*/baseurl=http:\/\/vault.centos.org\/5.9\/\1\/x86_64/" /etc/yum.repos.d/CentOS-Base.repo
|
9
|
+
|
6
10
|
yum -y install gcc make gcc-c++ kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel sqlite-devel perl wget dkms bzip2
|
7
|
-
yum -y erase wireless-tools gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts
|
8
|
-
yum -y clean all
|
9
11
|
|
12
|
+
yum -y erase gtk2 libX11 hicolor-icon-theme freetype bitstream-vera-fonts
|
@@ -1,7 +1,11 @@
|
|
1
|
-
|
1
|
+
# Clean up
|
2
|
+
|
2
3
|
yum -y clean all
|
3
|
-
rm -rf /etc/yum.repos.d/
|
4
|
+
rm -rf /etc/yum.repos.d/puppetlabs.repo
|
4
5
|
rm -rf VBoxGuestAdditions_*.iso
|
5
6
|
|
6
|
-
# Remove
|
7
|
+
# Remove mac address from network configuration
|
7
8
|
sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
|
9
|
+
|
10
|
+
# Remove DHCP leases
|
11
|
+
rm /var/lib/dhclient/*.leases
|
@@ -3,7 +3,7 @@ Veewee::Session.declare({
|
|
3
3
|
:memory_size=> '384',
|
4
4
|
:disk_size => '10140',
|
5
5
|
:disk_format => 'VDI',
|
6
|
-
:hostiocache => '
|
6
|
+
:hostiocache => 'on',
|
7
7
|
:virtualbox => {
|
8
8
|
:vm_options => [
|
9
9
|
"pae" => "on",
|
@@ -12,7 +12,7 @@ Veewee::Session.declare({
|
|
12
12
|
},
|
13
13
|
:os_type_id => 'RedHat_64',
|
14
14
|
:iso_file => "CentOS-5.9-x86_64-netinstall.iso",
|
15
|
-
:iso_src => "http://
|
15
|
+
:iso_src => "http://archive.kernel.org/centos/5.9/isos/x86_64/CentOS-5.9-x86_64-netinstall.iso",
|
16
16
|
:iso_md5 => "445cfe6236327450bcbda17319b73559",
|
17
17
|
:iso_download_timeout => 1000,
|
18
18
|
:boot_wait => "10",
|
@@ -35,7 +35,6 @@ Veewee::Session.declare({
|
|
35
35
|
"puppet.sh",
|
36
36
|
"vagrant.sh",
|
37
37
|
"virtualbox.sh",
|
38
|
-
#"vmfusion.sh",
|
39
38
|
"cleanup.sh",
|
40
39
|
"zerodisk.sh"
|
41
40
|
],
|
@@ -1,47 +1,27 @@
|
|
1
|
-
# Kickstart file automatically generated by anaconda.
|
2
|
-
|
3
1
|
install
|
4
|
-
url --url=http://
|
2
|
+
url --url=http://archive.kernel.org/centos/5.9/os/x86_64/
|
5
3
|
lang en_US.UTF-8
|
6
4
|
langsupport --default=en_US.UTF-8 en_US.UTF-8
|
7
5
|
keyboard us
|
8
|
-
|
6
|
+
text
|
7
|
+
skipx
|
8
|
+
zerombr
|
9
9
|
network --device eth0 --bootproto dhcp
|
10
|
-
rootpw
|
10
|
+
rootpw vagrant
|
11
11
|
firewall --enabled --trust eth0 --ssh
|
12
|
-
selinux --
|
12
|
+
selinux --disabled
|
13
13
|
authconfig --enableshadow --enablemd5
|
14
14
|
timezone America/New_York
|
15
15
|
bootloader --location=mbr
|
16
|
-
# The following is the partition information you requested
|
17
|
-
# Note that any partitions you deleted are not expressed
|
18
|
-
# here so unless you clear all partitions first, this is
|
19
|
-
# not guaranteed to work
|
20
16
|
clearpart --all --initlabel
|
21
|
-
|
22
|
-
part pv.2 --size=0 --grow
|
23
|
-
volgroup VolGroup00 --pesize=32768 pv.2
|
24
|
-
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=528 --grow --maxsize=1056
|
25
|
-
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
|
17
|
+
autopart
|
26
18
|
reboot
|
27
19
|
|
28
20
|
%packages
|
29
|
-
#@ admin-tools
|
30
|
-
#@ text-internet
|
31
|
-
#@ dialup
|
32
|
-
#@ smb-server
|
33
|
-
#@ web-server
|
34
|
-
#@ printing
|
35
|
-
#@ server-cfg
|
36
21
|
@ core
|
37
|
-
grub
|
38
|
-
e2fsprogs
|
39
|
-
lvm2
|
40
|
-
kernel-devel
|
41
|
-
kernel-headers
|
42
|
-
|
43
22
|
%post
|
44
23
|
/usr/sbin/groupadd vagrant
|
45
24
|
/usr/sbin/useradd vagrant -g vagrant -G wheel
|
46
25
|
echo "vagrant"|passwd --stdin vagrant
|
47
26
|
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
27
|
+
%end
|
@@ -1,12 +1,41 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
# Install Ruby from sources
|
2
|
+
|
3
|
+
# add epel repo for Ruby compile time dependencies
|
4
|
+
cat > /etc/yum.repos.d/epel.repo << EOM
|
5
|
+
[epel]
|
6
|
+
name=epel
|
7
|
+
baseurl=http://download.fedoraproject.org/pub/epel/5/\$basearch
|
8
|
+
enabled=1
|
9
|
+
gpgcheck=0
|
10
|
+
includepkgs=libffi*
|
11
|
+
EOM
|
12
|
+
|
13
|
+
# Install required library packages
|
14
|
+
yum install -y gdbm-devel libffi-devel ncurses-devel
|
15
|
+
|
16
|
+
# Install LibYAML (prerequisite for Ruby)
|
17
|
+
YAML_VERSION=0.1.4
|
18
|
+
wget http://pyyaml.org/download/libyaml/yaml-$YAML_VERSION.tar.gz
|
19
|
+
tar xzvf yaml-$YAML_VERSION.tar.gz
|
20
|
+
cd yaml-$YAML_VERSION
|
21
|
+
./configure --prefix=/opt
|
7
22
|
make && make install
|
8
|
-
cd
|
9
|
-
rm -rf
|
10
|
-
rm
|
11
|
-
|
12
|
-
|
23
|
+
cd ..
|
24
|
+
rm -rf yaml-$YAML_VERSION
|
25
|
+
rm -f yaml-$YAML_VERSION.tar.gz
|
26
|
+
|
27
|
+
# Install Ruby
|
28
|
+
RUBY_VERSION=1.9.3-p484
|
29
|
+
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-$RUBY_VERSION.tar.gz
|
30
|
+
tar xvzf ruby-$RUBY_VERSION.tar.gz
|
31
|
+
cd ruby-$RUBY_VERSION
|
32
|
+
# Fix: BSD compatibility arguments not supported by the installed version of sed
|
33
|
+
sed -i "s/sed -E/sed -e/" configure
|
34
|
+
./configure --prefix=/opt/ruby --disable-install-doc --with-opt-dir=/opt
|
35
|
+
make && make install
|
36
|
+
cd ..
|
37
|
+
rm -rf ruby-$RUBY_VERSION
|
38
|
+
rm -f ruby-$RUBY_VERSION.tar.gz
|
39
|
+
|
40
|
+
# remove epel repo
|
41
|
+
rm -rf /etc/yum.repos.d/epel.repo
|