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,9 @@
|
|
1
|
+
# Base install
|
2
|
+
|
3
|
+
# Enable updates-testing repo
|
4
|
+
sed -i "s/enabled=0/enabled=1/" /etc/yum.repos.d/fedora-updates-testing.repo
|
5
|
+
|
6
|
+
# Must exclude kernel for now. Otherwise, kernel gets upgraded before reboot,
|
7
|
+
# but VirtualBox tools get compiled against the old kernel, so the fresh
|
8
|
+
# image will refuse to start under Vagrant.
|
9
|
+
yum -y update --exclude kernel*
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Install pre-requisites
|
2
|
+
yum -y install \
|
3
|
+
rubygem-bunny \
|
4
|
+
rubygem-erubis \
|
5
|
+
rubygem-highline \
|
6
|
+
rubygem-json \
|
7
|
+
rubygem-mime-types \
|
8
|
+
rubygem-net-ssh \
|
9
|
+
rubygem-polyglot \
|
10
|
+
rubygem-rest-client \
|
11
|
+
rubygem-systemu \
|
12
|
+
rubygem-treetop \
|
13
|
+
rubygem-uuidtools
|
14
|
+
|
15
|
+
# Install Chef
|
16
|
+
gem install --no-ri --no-rdoc chef
|
17
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
# Minimum RAM requirement for installation is 512MB.
|
3
|
+
:cpu_count => '1',
|
4
|
+
:memory_size=> '512',
|
5
|
+
:disk_size => '10140',
|
6
|
+
:disk_format => 'VDI',
|
7
|
+
:hostiocache => 'off',
|
8
|
+
:hwvirtext => 'on',
|
9
|
+
:os_type_id => 'Fedora_64',
|
10
|
+
:iso_file => "Fedora-20-x86_64-DVD.iso",
|
11
|
+
:iso_src => "http://download.fedoraproject.org/pub/fedora/linux/releases/20/Fedora/x86_64/iso/Fedora-20-x86_64-DVD.iso",
|
12
|
+
:iso_sha256 => "f2eeed5102b8890e9e6f4b9053717fe73031e699c4b76dc7028749ab66e7f917",
|
13
|
+
:iso_download_timeout => 1000,
|
14
|
+
:boot_wait => "10",
|
15
|
+
:boot_cmd_sequence => [ 'i<Tab> linux text net.ifnames=0 biosdevname=0 ks=http://%IP%:%PORT%/ks.cfg<Enter><Enter>' ],
|
16
|
+
:kickstart_port => "7122",
|
17
|
+
:kickstart_timeout => 10000,
|
18
|
+
:kickstart_file => "ks.cfg",
|
19
|
+
:ssh_login_timeout => "10000",
|
20
|
+
:ssh_user => "vagrant",
|
21
|
+
:ssh_password => "vagrant",
|
22
|
+
:ssh_key => "",
|
23
|
+
:ssh_host_port => "7222",
|
24
|
+
:ssh_guest_port => "22",
|
25
|
+
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
26
|
+
:shutdown_cmd => "/sbin/halt -h -p",
|
27
|
+
:postinstall_files => [
|
28
|
+
"base.sh",
|
29
|
+
"ruby.sh",
|
30
|
+
"chef.sh",
|
31
|
+
"puppet.sh",
|
32
|
+
"vagrant.sh",
|
33
|
+
"virtualbox.sh",
|
34
|
+
#"vmfusion.sh",
|
35
|
+
"cleanup.sh",
|
36
|
+
"zerodisk.sh"
|
37
|
+
],
|
38
|
+
:postinstall_timeout => 10000
|
39
|
+
})
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# Kickstart file automatically generated by anaconda.
|
2
|
+
|
3
|
+
install
|
4
|
+
cdrom
|
5
|
+
lang en_US.UTF-8
|
6
|
+
keyboard 'us'
|
7
|
+
# note we set biosdevname=0 when launching install
|
8
|
+
# this means we will be using standard ethernet devices, e.g. eth[0,1,2] eth
|
9
|
+
network --onboot yes --device eth0 --bootproto dhcp --noipv6 --hostname=localhost.localdomain
|
10
|
+
timezone --utc America/New_York
|
11
|
+
rootpw --iscrypted $6$n/NGsk5H2aiBMXL4$r/oPkJtB5rasvQHPo9AvIJBe6sNVlQbpZxvTRMN7.qZk/Sn9u2qZ0XgNxflUvK20y7OIWdr/vv7MED6gzkBiH0
|
12
|
+
selinux --enforcing
|
13
|
+
auth --enableshadow --passalgo=sha512
|
14
|
+
firewall --service=ssh
|
15
|
+
|
16
|
+
# Avoiding warning message on Storage device breaking automated generation
|
17
|
+
zerombr
|
18
|
+
|
19
|
+
# The following is the partition information you requested
|
20
|
+
# Note that any partitions you deleted are not expressed
|
21
|
+
# here so unless you clear all partitions first, this is
|
22
|
+
# not guaranteed to work
|
23
|
+
clearpart --all --initlabel
|
24
|
+
|
25
|
+
#part biosboot --fstype=biosboot --size=1
|
26
|
+
part /boot --fstype=ext4 --size=500
|
27
|
+
part pv.2 --grow --size=500
|
28
|
+
|
29
|
+
volgroup vg_vagrant --pesize=32768 pv.2
|
30
|
+
logvol / --fstype=ext4 --name=lv_root --vgname=vg_vagrant --size=1024 --grow
|
31
|
+
logvol swap --fstype=swap --name=lv_swap --vgname=vg_vagrant --size=528 --grow --maxsize=1056
|
32
|
+
bootloader --location=mbr --append="norhgb net.ifnames=0 biosdevname=0"
|
33
|
+
services --enabled network
|
34
|
+
reboot
|
35
|
+
|
36
|
+
%packages
|
37
|
+
@core
|
38
|
+
|
39
|
+
# Requirements for vagrant
|
40
|
+
bzip2
|
41
|
+
deltarpm
|
42
|
+
gcc
|
43
|
+
gcc-c++
|
44
|
+
kernel-devel
|
45
|
+
kernel-headers
|
46
|
+
make
|
47
|
+
net-tools
|
48
|
+
openssl-devel
|
49
|
+
perl
|
50
|
+
readline-devel
|
51
|
+
sqlite-devel
|
52
|
+
tar
|
53
|
+
wget
|
54
|
+
zlib-devel
|
55
|
+
%end
|
56
|
+
|
57
|
+
%post
|
58
|
+
# Make ssh quicker in disconnected situations.
|
59
|
+
echo 'UseDNS no' >> /etc/ssh/sshd_config
|
60
|
+
|
61
|
+
# Disable udev persistent net rules
|
62
|
+
# We do this so that we do not persist rules mapped to virtual machines
|
63
|
+
# instances created from this basebox.
|
64
|
+
ln -s /dev/null /etc/udev/rule.d/70-persistent-net.rules
|
65
|
+
|
66
|
+
# Add Vagrant user and group.
|
67
|
+
/usr/sbin/groupadd vagrant
|
68
|
+
/usr/sbin/useradd vagrant -g vagrant
|
69
|
+
echo "vagrant"|passwd --stdin vagrant
|
70
|
+
|
71
|
+
# Give Vagrant user permission to sudo.
|
72
|
+
echo 'Defaults:vagrant !requiretty' > /etc/sudoers.d/vagrant
|
73
|
+
echo '%vagrant ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/vagrant
|
74
|
+
chmod 440 /etc/sudoers.d/vagrant
|
75
|
+
|
76
|
+
# Install vagrant authorized ssh key.
|
77
|
+
mkdir /home/vagrant/.ssh
|
78
|
+
curl -L 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' > /home/vagrant/.ssh/authorized_keys
|
79
|
+
chown vagrant:vagrant -R /home/vagrant/.ssh
|
80
|
+
chmod 700 /home/vagrant/.ssh
|
81
|
+
chmod 600 /home/vagrant/.ssh/authorized_keys
|
82
|
+
chcon -R unconfined_u:object_r:user_home_t:s0 /home/vagrant/.ssh
|
83
|
+
%end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Vagrant specific
|
2
|
+
date > /etc/vagrant_box_build_time
|
3
|
+
|
4
|
+
# Add vagrant user
|
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
|
10
|
+
|
11
|
+
# Installing vagrant keys
|
12
|
+
mkdir -pm 700 /home/vagrant/.ssh
|
13
|
+
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
14
|
+
chmod 0600 /home/vagrant/.ssh/authorized_keys
|
15
|
+
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
|
data/templates/OSX/definition.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
Veewee::Definition.declare({
|
2
2
|
:cpu_count => '1',
|
3
3
|
:memory_size=> '2048',
|
4
|
+
:video_memory_size => '32',
|
4
5
|
:disk_size => '40000',
|
5
6
|
:disk_format => 'VDI',
|
6
7
|
:hostiocache => 'off',
|
@@ -27,5 +28,16 @@ Veewee::Definition.declare({
|
|
27
28
|
"puppet.sh", # Puppet install from Hashicorp's puppet-boostrap repo
|
28
29
|
"fix_user_perms.sh" # some folders in vagrant's got created as root in the above script
|
29
30
|
],
|
30
|
-
:postinstall_timeout => "10000"
|
31
|
+
:postinstall_timeout => "10000",
|
32
|
+
# For valid `VBoxManage modifyvm` options, see `VBoxManage help modifyvm` or `VBoxManage -h`
|
33
|
+
:virtualbox => { :vm_options => [
|
34
|
+
'accelerate3d' => 'on', # Enable 3D Acceleration
|
35
|
+
'ioapic' => 'on',
|
36
|
+
'pae' => 'on', # Enable PAE/NX
|
37
|
+
'hwvirtex' => 'on', # Enable VT-x / AMD-V
|
38
|
+
'chipset' => 'ich9', # Use ICH9 chipset for motherboard
|
39
|
+
'nic1' => 'nat', # Force the first nic to be enabled and attached to NAT
|
40
|
+
'firmware' => 'efi', # Need EFI to boot image
|
41
|
+
'rtcuseutc' => 'on' # Set hardware clock in UTC
|
42
|
+
] }
|
31
43
|
})
|
@@ -124,6 +124,39 @@ if [ $? -ne 0 ]; then
|
|
124
124
|
msg_error "Could not mount $ESD on $MNT_ESD"
|
125
125
|
exit 1
|
126
126
|
fi
|
127
|
+
if [ ! -e "$MNT_ESD/System/Library/CoreServices/SystemVersion.plist" ]; then
|
128
|
+
install_app=$(ls -1 -d "$MNT_ESD/Install OS X"*.app | head -n1)
|
129
|
+
if [ -n "$install_app" -a -d "$install_app" ]; then
|
130
|
+
# This might be an install .app inside a dmg
|
131
|
+
if [ -e "$install_app/Contents/SharedSupport/InstallESD.dmg" ]; then
|
132
|
+
TOPLVL_ESD="$ESD"
|
133
|
+
TOPLVL_MNT_ESD="$MNT_ESD"
|
134
|
+
ESD="$install_app/Contents/SharedSupport/InstallESD.dmg"
|
135
|
+
|
136
|
+
MNT_ESD=`/usr/bin/mktemp -d /tmp/veewee-osx-esd.XXXX`
|
137
|
+
msg_status "Found an 'Install OS X *.app' file: $install_app"
|
138
|
+
msg_status "Attaching to OS X installer image with shadow file.."
|
139
|
+
hdiutil attach "$ESD" -mountpoint "$MNT_ESD" -shadow -nobrowse -owners on
|
140
|
+
if [ $? -ne 0 ]; then
|
141
|
+
[ ! -e "$ESD" ] && msg_error "Could not find $ESD in $(pwd)"
|
142
|
+
msg_error "Could not mount $ESD on $MNT_ESD"
|
143
|
+
exit 1
|
144
|
+
fi
|
145
|
+
if [ ! -e "$MNT_ESD/System/Library/CoreServices/SystemVersion.plist" ]; then
|
146
|
+
msg_error "Can't determine OSX version. File not found: $MNT_ESD/System/Library/CoreServices/SystemVersion.plist"
|
147
|
+
exit 1
|
148
|
+
fi
|
149
|
+
else
|
150
|
+
msg_error "Can't locate an InstallESD.dmg in this source location $install_app!"
|
151
|
+
fi
|
152
|
+
else
|
153
|
+
msg_error "Can't determine OSX version. File not found: $MNT_ESD/System/Library/CoreServices/SystemVersion.plist"
|
154
|
+
hdiutil detach "$MNT_ESD"
|
155
|
+
rm "$ESD.shadow"
|
156
|
+
rm -rf "$MNT_ESD"
|
157
|
+
exit 1
|
158
|
+
fi
|
159
|
+
fi
|
127
160
|
DMG_OS_VERS=$(/usr/libexec/PlistBuddy -c 'Print :ProductVersion' "$MNT_ESD/System/Library/CoreServices/SystemVersion.plist")
|
128
161
|
DMG_OS_VERS_MAJOR=$(echo $DMG_OS_VERS | awk -F "." '{print $2}')
|
129
162
|
DMG_OS_BUILD=$(/usr/libexec/PlistBuddy -c 'Print :ProductBuildVersion' "$MNT_ESD/System/Library/CoreServices/SystemVersion.plist")
|
@@ -131,6 +164,15 @@ OUTPUT_DMG="$OUT_DIR/OSX_InstallESD_${DMG_OS_VERS}_${DMG_OS_BUILD}.dmg"
|
|
131
164
|
if [ -e "$OUTPUT_DMG" ]; then
|
132
165
|
msg_error "Output file $OUTPUT_DMG already exists! We're not going to overwrite it, exiting.."
|
133
166
|
hdiutil detach "$MNT_ESD"
|
167
|
+
if [ -n "$TOPLVL_MNT_ESD" ]; then
|
168
|
+
hdiutil detach "$TOPLVL_MNT_ESD"
|
169
|
+
rm "$TOPLVL_ESD.shadow"
|
170
|
+
rm -rf "$TOPLVL_MNT_ESD"
|
171
|
+
rm -rf "$MNT_ESD"
|
172
|
+
else
|
173
|
+
rm "$ESD.shadow"
|
174
|
+
rm -rf "$MNT_ESD"
|
175
|
+
fi
|
134
176
|
exit 1
|
135
177
|
fi
|
136
178
|
|
@@ -262,8 +304,15 @@ hdiutil detach "$MNT_ESD"
|
|
262
304
|
|
263
305
|
msg_status "Converting to final output file.."
|
264
306
|
hdiutil convert -format UDZO -o "$OUTPUT_DMG" -shadow "$ESD.shadow" "$ESD"
|
265
|
-
|
266
|
-
rm
|
307
|
+
if [ -z "$TOPLVL_ESD" ]; then
|
308
|
+
rm "$ESD.shadow"
|
309
|
+
rm -rf "$MNT_ESD"
|
310
|
+
else
|
311
|
+
hdiutil detach "$TOPLVL_MNT_ESD"
|
312
|
+
rm "$TOPLVL_ESD.shadow"
|
313
|
+
rm -rf "$TOPLVL_MNT_ESD"
|
314
|
+
rm -rf "$MNT_ESD"
|
315
|
+
fi
|
267
316
|
|
268
317
|
msg_status "Fixing permissions.."
|
269
318
|
chown -R $VEEWEE_UID:$VEEWEE_GID \
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Base install
|
2
|
+
|
3
|
+
source ./proxy.sh
|
4
|
+
|
5
|
+
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
|
6
|
+
|
7
|
+
wget http://public-yum.oracle.com/public-yum-el5.repo -O /etc/yum.repos.d/public-yum-el5.repo
|
8
|
+
|
9
|
+
cd /tmp
|
10
|
+
wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
|
11
|
+
rpm -Uvh epel-release-5-4.noarch.rpm
|
12
|
+
rm -f /tmp/epel-release-5-4.noarch.rpm
|
13
|
+
# Not flexible to switch between direct Internet access and behind firewall
|
14
|
+
# --httpproxy HOST --httpport PORT
|
15
|
+
# rpm -ivh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
|
16
|
+
|
17
|
+
echo "UseDNS no" >> /etc/ssh/sshd_config
|
18
|
+
|
19
|
+
sed -i "s/^HOSTNAME=.*/HOSTNAME=oracle.vagrantup.com/" /etc/sysconfig/network
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yum -y remove gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts
|
2
|
+
yum -y clean all
|
3
|
+
|
4
|
+
# rm -rf /etc/yum.repos.d/{puppetlabs,epel,epel-testing}.repo # keep
|
5
|
+
rm -rf VBoxGuestAdditions_*.iso
|
6
|
+
|
7
|
+
# Remove traces of mac address from network configuration
|
8
|
+
sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
|
@@ -0,0 +1,37 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:cpu_count => '1',
|
3
|
+
:memory_size=> '480',
|
4
|
+
:disk_size => '10140',
|
5
|
+
:disk_format => 'VDI',
|
6
|
+
:hostiocache => 'on',
|
7
|
+
:os_type_id => 'Oracle',
|
8
|
+
:iso_file => "Enterprise-R5-U10-Server-i386-dvd.iso",
|
9
|
+
:iso_src => "http://mirrors.dotsrc.org/oracle-linux/EL5/U10/i386/Enterprise-R5-U10-Server-i386-dvd.iso",
|
10
|
+
:iso_md5 => "5a9216dd69f17b9dd8f64ed539629741",
|
11
|
+
:iso_download_timeout => 10000,
|
12
|
+
:boot_wait => "10",
|
13
|
+
:boot_cmd_sequence => [ 'linux text ks=http://%IP%:%PORT%/ks.cfg<Enter>' ],
|
14
|
+
:kickstart_port => "7122",
|
15
|
+
:kickstart_timeout => 10000,
|
16
|
+
:kickstart_file => "ks.cfg",
|
17
|
+
:ssh_login_timeout => "10000",
|
18
|
+
:ssh_user => "veewee",
|
19
|
+
:ssh_password => "veewee",
|
20
|
+
:ssh_key => "",
|
21
|
+
:ssh_host_port => "7222",
|
22
|
+
:ssh_guest_port => "22",
|
23
|
+
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
24
|
+
:shutdown_cmd => "/sbin/halt -h -p",
|
25
|
+
:postinstall_files => [
|
26
|
+
"proxy.sh",
|
27
|
+
"base.sh",
|
28
|
+
"ruby.sh",
|
29
|
+
"chef.sh",
|
30
|
+
"puppet.sh",
|
31
|
+
"vagrant.sh",
|
32
|
+
"virtualbox.sh",
|
33
|
+
"cleanup.sh",
|
34
|
+
"zerodisk.sh"
|
35
|
+
],
|
36
|
+
:postinstall_timeout => 10000
|
37
|
+
})
|
@@ -0,0 +1,55 @@
|
|
1
|
+
install
|
2
|
+
cdrom
|
3
|
+
lang en_US.UTF-8
|
4
|
+
keyboard us
|
5
|
+
network --bootproto=dhcp
|
6
|
+
rootpw vagrant
|
7
|
+
firewall --disabled
|
8
|
+
authconfig --enableshadow --passalgo=sha512
|
9
|
+
selinux --disabled
|
10
|
+
timezone UTC
|
11
|
+
bootloader --location=mbr
|
12
|
+
text
|
13
|
+
skipx
|
14
|
+
|
15
|
+
zerombr
|
16
|
+
clearpart --all --initlabel
|
17
|
+
autopart
|
18
|
+
|
19
|
+
firstboot --disabled
|
20
|
+
reboot
|
21
|
+
|
22
|
+
%packages --ignoremissing
|
23
|
+
@core
|
24
|
+
wget
|
25
|
+
curl
|
26
|
+
make
|
27
|
+
gcc
|
28
|
+
gcc-c++
|
29
|
+
kernel-devel
|
30
|
+
kernel-uek-devel
|
31
|
+
kernel-headers
|
32
|
+
zlib-devel
|
33
|
+
openssl-devel
|
34
|
+
readline-devel
|
35
|
+
sqlite-devel
|
36
|
+
perl
|
37
|
+
bzip2
|
38
|
+
dkms
|
39
|
+
net-tools
|
40
|
+
bind-utils
|
41
|
+
nfs-utils
|
42
|
+
bash-completion
|
43
|
+
deltarpm
|
44
|
+
yum-utils
|
45
|
+
-ipw2100-firmware
|
46
|
+
-ipw2200-firmware
|
47
|
+
-ivtv-firmware
|
48
|
+
|
49
|
+
%post --log=/root/ks-postinstall.log
|
50
|
+
/usr/bin/yum -y install sudo
|
51
|
+
/usr/sbin/groupadd veewee
|
52
|
+
/usr/sbin/useradd veewee -g veewee -G wheel
|
53
|
+
echo "veewee" | passwd --stdin veewee
|
54
|
+
echo "veewee ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
55
|
+
%end
|