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,70 @@
|
|
1
|
+
# go to last line to change installation media
|
2
|
+
opensuse_32_dvd = {
|
3
|
+
:os_type_id => 'OpenSUSE',
|
4
|
+
:iso_file => "openSUSE-13.1-DVD-i586.iso",
|
5
|
+
:iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-DVD-i586.iso",
|
6
|
+
:iso_md5 => "1bd6223430910f6d5a168d4e19171462",
|
7
|
+
:boot_cmd_sequence => [
|
8
|
+
'<Esc><Enter>',
|
9
|
+
'linux netdevice=enp0s3 netsetup=dhcp install=cd:/ lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
|
10
|
+
'<Enter>'
|
11
|
+
],
|
12
|
+
}
|
13
|
+
opensuse_32_net = {
|
14
|
+
:os_type_id => 'OpenSUSE',
|
15
|
+
:iso_file => "openSUSE-13.1-NET-i586.iso",
|
16
|
+
:iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-NET-i586.iso",
|
17
|
+
:iso_md5 => "6d3c77f72ae4318439ddf5ad890b7687",
|
18
|
+
:boot_cmd_sequence => [
|
19
|
+
'<Esc><Enter>',
|
20
|
+
'linux netdevice=enp0s3 netsetup=dhcp install=http://download.opensuse.org/distribution/13.1/repo/oss/',
|
21
|
+
' insecure=1 lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
|
22
|
+
'<Enter>'
|
23
|
+
],
|
24
|
+
}
|
25
|
+
opensuse_64_dvd = {
|
26
|
+
:os_type_id => 'OpenSUSE_64',
|
27
|
+
:iso_file => "openSUSE-13.1-DVD-x86_64.iso",
|
28
|
+
:iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-DVD-x86_64.iso",
|
29
|
+
:iso_md5 => "1096c9c67fc8a67a94a32d04a15e909d",
|
30
|
+
:boot_cmd_sequence => [
|
31
|
+
'<Esc><Enter>',
|
32
|
+
'linux netdevice=enp0s3 netsetup=dhcp install=cd:/ lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
|
33
|
+
'<Enter>'
|
34
|
+
],
|
35
|
+
}
|
36
|
+
opensuse_64_net = {
|
37
|
+
:os_type_id => 'OpenSUSE_64',
|
38
|
+
:iso_file => "openSUSE-13.1-NET-x86_64.iso",
|
39
|
+
:iso_src => "http://download.opensuse.org/distribution/13.1/iso/openSUSE-13.1-NET-x86_64.iso",
|
40
|
+
:iso_md5 => "6c0d656895cbd92f34de61d98ca364ea",
|
41
|
+
:boot_cmd_sequence => [
|
42
|
+
'<Esc><Enter>',
|
43
|
+
'linux netdevice=enp0s3 netsetup=dhcp install=http://download.opensuse.org/distribution/13.1/repo/oss/',
|
44
|
+
' insecure=1 lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml textmode=1',
|
45
|
+
'<Enter>'
|
46
|
+
],
|
47
|
+
}
|
48
|
+
|
49
|
+
Veewee::Definition.declare({
|
50
|
+
:cpu_count => '2',
|
51
|
+
:memory_size => '1024',
|
52
|
+
:disk_size => '20480',
|
53
|
+
:disk_format => 'VDI',
|
54
|
+
:hostiocache => 'off',
|
55
|
+
:iso_download_timeout => "1000",
|
56
|
+
:boot_wait => "10",
|
57
|
+
:kickstart_port => "7122",
|
58
|
+
:kickstart_timeout => "10000",
|
59
|
+
:kickstart_file => ["autoinst.xml", "autoinst.xml"],
|
60
|
+
:ssh_login_timeout => "10000",
|
61
|
+
:ssh_user => "root",
|
62
|
+
:ssh_password => "vagrant",
|
63
|
+
:ssh_key => "",
|
64
|
+
:ssh_host_port => "7222",
|
65
|
+
:ssh_guest_port => "22",
|
66
|
+
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
67
|
+
:shutdown_cmd => "shutdown -P now",
|
68
|
+
:postinstall_files => ["postinstall.sh"],
|
69
|
+
:postinstall_timeout => "10000",
|
70
|
+
}.merge( opensuse_64_dvd )) # change opensuse_64_dvd to one of configuratiosn defined on top
|
@@ -0,0 +1,50 @@
|
|
1
|
+
#
|
2
|
+
# postinstall.sh
|
3
|
+
#
|
4
|
+
|
5
|
+
date > /etc/vagrant_box_build_time
|
6
|
+
|
7
|
+
# remove zypper package locks
|
8
|
+
rm -f /etc/zypp/locks
|
9
|
+
|
10
|
+
# install vagrant key
|
11
|
+
mkdir -pm 700 /home/vagrant/.ssh
|
12
|
+
curl -Lo /home/vagrant/.ssh/authorized_keys 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub'
|
13
|
+
chmod 0600 /home/vagrant/.ssh/authorized_keys
|
14
|
+
chown -R vagrant: /home/vagrant/.ssh
|
15
|
+
|
16
|
+
# install VBoxGuestAdditions
|
17
|
+
if
|
18
|
+
test -f .vbox_version
|
19
|
+
then
|
20
|
+
mount -o loop VBoxGuestAdditions_$(cat .vbox_version).iso /mnt
|
21
|
+
yes|sh /mnt/VBoxLinuxAdditions.run
|
22
|
+
umount /mnt
|
23
|
+
|
24
|
+
# Start the newly build driver
|
25
|
+
/etc/init.d/vboxadd start
|
26
|
+
|
27
|
+
# Make a temporary mount point
|
28
|
+
mkdir /tmp/veewee-validation
|
29
|
+
|
30
|
+
# Test mount the veewee-validation
|
31
|
+
mount -t vboxsf veewee-validation /tmp/veewee-validation
|
32
|
+
fi
|
33
|
+
|
34
|
+
# set vagrant sudo
|
35
|
+
printf "%b" "
|
36
|
+
# added by veewee/postinstall.sh
|
37
|
+
vagrant ALL=(ALL) NOPASSWD: ALL
|
38
|
+
" >> /etc/sudoers
|
39
|
+
|
40
|
+
# speed-up remote logins
|
41
|
+
printf "%b" "
|
42
|
+
# added by veewee/postinstall.sh
|
43
|
+
UseDNS no
|
44
|
+
" >> /etc/ssh/sshd_config
|
45
|
+
|
46
|
+
# disable gem docs
|
47
|
+
echo "gem: --no-ri --no-rdoc" >/etc/gemrc
|
48
|
+
|
49
|
+
# install chef
|
50
|
+
#gem install chech
|
@@ -0,0 +1,28 @@
|
|
1
|
+
The boxes come with:
|
2
|
+
- ports system already installed
|
3
|
+
- puppet and chef
|
4
|
+
- check the postinstall.sh script to see what is built in the box on top of the default install
|
5
|
+
- add/remove to your heart's content
|
6
|
+
|
7
|
+
a. Easy to use boxes for experimentation
|
8
|
+
- with puppet
|
9
|
+
- with chef
|
10
|
+
- with whatever else you can dream of :)
|
11
|
+
|
12
|
+
b. Mount
|
13
|
+
# freebsd mouting NFS patch for FreeBSD
|
14
|
+
# https://github.com/mitchellh/vagrant/commit/8a0a1bddb5afc6b99cab595d6f3cc9a95bb1a509
|
15
|
+
# OpenBSD will need patching to use it as NFS host
|
16
|
+
From the validation steps just the mount step fails
|
17
|
+
Virtualbox mount can be achieved using NFS mounts, it is not possible using the VBox tools since you can't compile them on OpenBSD
|
18
|
+
1. you can have your host expose NFS mounts that can be mounted by the Openbsd guest (checkout the vagrant documentation on using NFS mounts)
|
19
|
+
2. another way can be to work with vagrant in Puppet-server / chef-server mode since it will get manifests over the network from the puppet/chef server.
|
20
|
+
3. use a shell provisioner and scp/rsync your manifests from the host to the guest
|
21
|
+
|
22
|
+
|
23
|
+
c. Wait times
|
24
|
+
I've commented in all the steps in the OpenBSD install (definitions.rb)
|
25
|
+
Adjust the <Wait> times if your machine is slower/faster than those times.
|
26
|
+
|
27
|
+
d. More on puppet usage with OpenBSD
|
28
|
+
# http://puppetlabs.com/blog/guest-post-a-puffy-in-the-corporate-aquarium-the-sequel/
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# set pkg path for users
|
2
|
+
echo " "
|
3
|
+
echo " Setting PKG_PATH for users "
|
4
|
+
echo " "
|
5
|
+
echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ " >> /root/.profile
|
6
|
+
echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ ">> /home/vagrant/.profile
|
7
|
+
|
8
|
+
# install wget/curl/bash/vim and its dependencies
|
9
|
+
echo " "
|
10
|
+
echo " Installing needed packages "
|
11
|
+
echo " "
|
12
|
+
export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/
|
13
|
+
pkg_add wget curl bash vim-7.3.850-no_x11 rsync-3.0.9p3 bzip2 ngrep
|
14
|
+
|
15
|
+
# giving root & vagrant bash as shell
|
16
|
+
echo " "
|
17
|
+
echo " Giving root/vagrant bash as a shell "
|
18
|
+
echo " "
|
19
|
+
usermod -s /usr/local/bin/bash vagrant
|
20
|
+
usermod -s /usr/local/bin/bash root
|
21
|
+
|
22
|
+
# sudo
|
23
|
+
# Defaults requiretty is not present in the sudoers file
|
24
|
+
# env_keep I'll leave it as it is since user's path is same or more comprehensive than root's path
|
25
|
+
echo " "
|
26
|
+
echo " Setting sudo to work with vagrant "
|
27
|
+
echo " "
|
28
|
+
echo "# Uncomment to allow people in group wheel to run all commands without a password" >> /etc/sudoers
|
29
|
+
echo "%wheel ALL=(ALL) NOPASSWD: SETENV: ALL" >> /etc/sudoers
|
30
|
+
|
31
|
+
/etc/rc.d/sendmail stop
|
32
|
+
|
33
|
+
# install the ports system for who wants to use it
|
34
|
+
echo " "
|
35
|
+
echo " Installing the ports system ! "
|
36
|
+
echo " "
|
37
|
+
cd /tmp
|
38
|
+
wget http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/ports.tar.gz
|
39
|
+
cd /usr
|
40
|
+
sudo tar xzf /tmp/ports.tar.gz
|
@@ -0,0 +1,91 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '256',
|
3
|
+
:disk_size => '40960', :disk_format => 'VDI', :hostiocache => 'off',
|
4
|
+
:os_type_id => 'OpenBSD_64',
|
5
|
+
:iso_file => "openbsd54_64.iso",
|
6
|
+
:iso_src => "http://ftp3.usa.openbsd.org/pub/OpenBSD/5.4/amd64/install54.iso",
|
7
|
+
:iso_sha256 => "9b59c031a0a2c127f824449294be9a88a05624ccf179b0d1b44d714f13b68448",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "40", :boot_cmd_sequence => [
|
10
|
+
# I - install
|
11
|
+
'I<Enter>',
|
12
|
+
# set the keyboard
|
13
|
+
'us<Enter>',
|
14
|
+
# set the hostname
|
15
|
+
'OpenBSD54-x64<Enter>',
|
16
|
+
# Which nic to config ? [em0]
|
17
|
+
'<Enter>',
|
18
|
+
# do you want dhcp ? [dhcp]
|
19
|
+
'<Enter>',
|
20
|
+
'<Wait>'*5,
|
21
|
+
# IPV6 for em0 ? [none]
|
22
|
+
'none<Enter>',
|
23
|
+
# Which other nic do you wish to configure [done]
|
24
|
+
'done<Enter>',
|
25
|
+
# Pw for root account
|
26
|
+
'vagrant<Enter>',
|
27
|
+
'vagrant<Enter>',
|
28
|
+
# Start sshd by default ? [yes]
|
29
|
+
'yes<Enter>',
|
30
|
+
# Start ntpd by default ? [yes]
|
31
|
+
'no<Enter>',
|
32
|
+
# Do you want the X window system [yes]
|
33
|
+
'no<Enter>',
|
34
|
+
# Setup a user ?
|
35
|
+
'vagrant<Enter>',
|
36
|
+
# Full username
|
37
|
+
'vagrant<Enter>',
|
38
|
+
# Pw for this user
|
39
|
+
'vagrant<Enter>',
|
40
|
+
'vagrant<Enter>',
|
41
|
+
# Do you want to disable sshd for root ? [yes]
|
42
|
+
'no<Enter>',
|
43
|
+
# What timezone are you in ?
|
44
|
+
'GB<Enter>',
|
45
|
+
# Available disks [sd0]
|
46
|
+
'<Enter>',
|
47
|
+
# Use DUIDs rather than device names in fstab ? [yes]
|
48
|
+
'<Enter>',
|
49
|
+
# Use (W)whole disk or (E)edit MBR ? [whole]
|
50
|
+
'W<Enter>',
|
51
|
+
# Use (A)auto layout ... ? [a]
|
52
|
+
'A<Enter>',
|
53
|
+
'<Wait>'*70,
|
54
|
+
# location of the sets [cd]
|
55
|
+
'cd<Enter>',
|
56
|
+
# Available cd-roms : cd0
|
57
|
+
'<Enter>',
|
58
|
+
# Pathname to sets ? [5.4/amd64]
|
59
|
+
'<Enter>',
|
60
|
+
# Remove games and X
|
61
|
+
'-game54.tgz<Enter>',
|
62
|
+
'-xbase54.tgz<Enter>',
|
63
|
+
'-xetc54.tgz<Enter>',
|
64
|
+
'-xshare54.tgz<Enter>',
|
65
|
+
'-xfont54.tgz<Enter>',
|
66
|
+
'-xserv54.tgz<Enter>',
|
67
|
+
'done<Enter>',
|
68
|
+
'<Wait>'*110,
|
69
|
+
# Done installing ?
|
70
|
+
'done<Enter>',
|
71
|
+
'<Wait>'*6,
|
72
|
+
# Time appears wrong. Set to ...? [yes]
|
73
|
+
'yes<Enter><Wait>',
|
74
|
+
'<Wait>'*6,
|
75
|
+
'reboot<Enter>',
|
76
|
+
'<Wait>'*6
|
77
|
+
],
|
78
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "",
|
79
|
+
:ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
80
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
81
|
+
:sudo_cmd => "sh '%f'",
|
82
|
+
:shutdown_cmd => "/sbin/halt -p",
|
83
|
+
:postinstall_files => [
|
84
|
+
"base.sh",
|
85
|
+
"vagrant.sh",
|
86
|
+
"ruby.sh",
|
87
|
+
"puppet.sh",
|
88
|
+
"chef.sh"
|
89
|
+
],
|
90
|
+
:postinstall_timeout => "10000"
|
91
|
+
})
|
@@ -0,0 +1,14 @@
|
|
1
|
+
. /root/.profile
|
2
|
+
pkg_add ruby-1.9.3.448
|
3
|
+
|
4
|
+
ln -sf /usr/local/bin/ruby19 /usr/local/bin/ruby
|
5
|
+
ln -sf /usr/local/bin/erb19 /usr/local/bin/erb
|
6
|
+
ln -sf /usr/local/bin/irb19 /usr/local/bin/irb
|
7
|
+
ln -sf /usr/local/bin/rdoc19 /usr/local/bin/rdoc
|
8
|
+
ln -sf /usr/local/bin/ri19 /usr/local/bin/ri
|
9
|
+
ln -sf /usr/local/bin/rake19 /usr/local/bin/rake
|
10
|
+
ln -sf /usr/local/bin/gem19 /usr/local/bin/gem
|
11
|
+
ln -sf /usr/local/bin/testrb19 /usr/local/bin/testrb
|
12
|
+
|
13
|
+
pkg_add ruby-gems
|
14
|
+
pkg_add ruby-iconv
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Set up Vagrant.
|
2
|
+
|
3
|
+
date > /etc/vagrant_box_build_time
|
4
|
+
|
5
|
+
# Create puppet user/group
|
6
|
+
echo " "
|
7
|
+
echo " Creating puppet user / group "
|
8
|
+
echo " "
|
9
|
+
groupadd puppet
|
10
|
+
useradd -g puppet -d /var/lib/puppet -s /usr/bin/false puppet
|
11
|
+
|
12
|
+
# Add groups puppet and chef
|
13
|
+
groupadd puppet
|
14
|
+
groupadd chef
|
15
|
+
|
16
|
+
# setup the vagrant key
|
17
|
+
# you can replace this key-pair with your own generated ssh key-pair
|
18
|
+
echo " "
|
19
|
+
echo " Setting the vagrant ssh pub key "
|
20
|
+
echo " "
|
21
|
+
mkdir /home/vagrant/.ssh
|
22
|
+
chmod 700 /home/vagrant/.ssh
|
23
|
+
chown vagrant.vagrant /home/vagrant/.ssh
|
24
|
+
touch /home/vagrant/.ssh/authorized_keys
|
25
|
+
curl -sL http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub > /home/vagrant/.ssh/authorized_keys
|
26
|
+
chmod 600 /home/vagrant/.ssh/authorized_keys
|
27
|
+
chown vagrant.vagrant /home/vagrant/.ssh/authorized_keys
|
@@ -0,0 +1,28 @@
|
|
1
|
+
The boxes come with:
|
2
|
+
- ports system already installed
|
3
|
+
- puppet and chef
|
4
|
+
- check the postinstall.sh script to see what is built in the box on top of the default install
|
5
|
+
- add/remove to your heart's content
|
6
|
+
|
7
|
+
a. Easy to use boxes for experimentation
|
8
|
+
- with puppet
|
9
|
+
- with chef
|
10
|
+
- with whatever else you can dream of :)
|
11
|
+
|
12
|
+
b. Mount
|
13
|
+
# freebsd mouting NFS patch for FreeBSD
|
14
|
+
# https://github.com/mitchellh/vagrant/commit/8a0a1bddb5afc6b99cab595d6f3cc9a95bb1a509
|
15
|
+
# OpenBSD will need patching to use it as NFS host
|
16
|
+
From the validation steps just the mount step fails
|
17
|
+
Virtualbox mount can be achieved using NFS mounts, it is not possible using the VBox tools since you can't compile them on OpenBSD
|
18
|
+
1. you can have your host expose NFS mounts that can be mounted by the Openbsd guest (checkout the vagrant documentation on using NFS mounts)
|
19
|
+
2. another way can be to work with vagrant in Puppet-server / chef-server mode since it will get manifests over the network from the puppet/chef server.
|
20
|
+
3. use a shell provisioner and scp/rsync your manifests from the host to the guest
|
21
|
+
|
22
|
+
|
23
|
+
c. Wait times
|
24
|
+
I've commented in all the steps in the OpenBSD install (definitions.rb)
|
25
|
+
Adjust the <Wait> times if your machine is slower/faster than those times.
|
26
|
+
|
27
|
+
d. More on puppet usage with OpenBSD
|
28
|
+
# http://puppetlabs.com/blog/guest-post-a-puffy-in-the-corporate-aquarium-the-sequel/
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# set pkg path for users
|
2
|
+
echo " "
|
3
|
+
echo " Setting PKG_PATH for users "
|
4
|
+
echo " "
|
5
|
+
echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ " >> /root/.profile
|
6
|
+
echo " export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ ">> /home/vagrant/.profile
|
7
|
+
|
8
|
+
# install wget/curl/bash/vim and its dependencies
|
9
|
+
echo " "
|
10
|
+
echo " Installing needed packages "
|
11
|
+
echo " "
|
12
|
+
export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/
|
13
|
+
pkg_add wget curl bash vim-7.3.850-no_x11 rsync-3.0.9p3 bzip2 ngrep
|
14
|
+
|
15
|
+
# giving root & vagrant bash as shell
|
16
|
+
echo " "
|
17
|
+
echo " Giving root/vagrant bash as a shell "
|
18
|
+
echo " "
|
19
|
+
usermod -s /usr/local/bin/bash vagrant
|
20
|
+
usermod -s /usr/local/bin/bash root
|
21
|
+
|
22
|
+
# sudo
|
23
|
+
# Defaults requiretty is not present in the sudoers file
|
24
|
+
# env_keep I'll leave it as it is since user's path is same or more comprehensive than root's path
|
25
|
+
echo " "
|
26
|
+
echo " Setting sudo to work with vagrant "
|
27
|
+
echo " "
|
28
|
+
echo "# Uncomment to allow people in group wheel to run all commands without a password" >> /etc/sudoers
|
29
|
+
echo "%wheel ALL=(ALL) NOPASSWD: SETENV: ALL" >> /etc/sudoers
|
30
|
+
|
31
|
+
/etc/rc.d/sendmail stop
|
32
|
+
|
33
|
+
# install the ports system for who wants to use it
|
34
|
+
echo " "
|
35
|
+
echo " Installing the ports system ! "
|
36
|
+
echo " "
|
37
|
+
cd /tmp
|
38
|
+
wget http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/ports.tar.gz
|
39
|
+
cd /usr
|
40
|
+
sudo tar xzf /tmp/ports.tar.gz
|
@@ -0,0 +1,91 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '256',
|
3
|
+
:disk_size => '40960', :disk_format => 'VDI', :hostiocache => 'off',
|
4
|
+
:os_type_id => 'OpenBSD',
|
5
|
+
:iso_file => "openbsd54_32.iso",
|
6
|
+
:iso_src => "http://ftp3.usa.openbsd.org/pub/OpenBSD/5.4/i386/install54.iso",
|
7
|
+
:iso_sha256 => "64261b5438fd04c9efded4dd17e44c6b033b69e00cc1ae4a0c55f1ff3a93e469",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "50", :boot_cmd_sequence => [
|
10
|
+
# I - install
|
11
|
+
'I<Enter>',
|
12
|
+
# set the keyboard
|
13
|
+
'us<Enter>',
|
14
|
+
# set the hostname
|
15
|
+
'OpenBSD54-x32<Enter>',
|
16
|
+
# Which nic to config ? [em0]
|
17
|
+
'<Enter>',
|
18
|
+
# do you want dhcp ? [dhcp]
|
19
|
+
'<Enter>',
|
20
|
+
'<Wait>'*5,
|
21
|
+
# IPV6 for em0 ? [none]
|
22
|
+
'none<Enter>',
|
23
|
+
# Which other nic do you wish to configure [done]
|
24
|
+
'done<Enter>',
|
25
|
+
# Pw for root account
|
26
|
+
'vagrant<Enter>',
|
27
|
+
'vagrant<Enter>',
|
28
|
+
# Start sshd by default ? [yes]
|
29
|
+
'yes<Enter>',
|
30
|
+
# Start ntpd by default ? [yes]
|
31
|
+
'no<Enter>',
|
32
|
+
# Do you want the X window system [yes]
|
33
|
+
'no<Enter>',
|
34
|
+
# Setup a user ?
|
35
|
+
'vagrant<Enter>',
|
36
|
+
# Full username
|
37
|
+
'vagrant<Enter>',
|
38
|
+
# Pw for this user
|
39
|
+
'vagrant<Enter>',
|
40
|
+
'vagrant<Enter>',
|
41
|
+
# Do you want to disable sshd for root ? [yes]
|
42
|
+
'no<Enter>',
|
43
|
+
# What timezone are you in ?
|
44
|
+
'GB<Enter>',
|
45
|
+
# Available disks [sd0]
|
46
|
+
'<Enter>',
|
47
|
+
# Use DUIDs rather than device names in fstab ? [yes]
|
48
|
+
'<Enter>',
|
49
|
+
# Use (W)whole disk or (E)edit MBR ? [whole]
|
50
|
+
'W<Enter>',
|
51
|
+
# Use (A)auto layout ... ? [a]
|
52
|
+
'A<Enter>',
|
53
|
+
'<Wait>'*70,
|
54
|
+
# location of the sets [cd]
|
55
|
+
'cd<Enter>',
|
56
|
+
# Available cd-roms : cd0
|
57
|
+
'<Enter>',
|
58
|
+
# Pathname to sets ? [5.4/i386]
|
59
|
+
'<Enter>',
|
60
|
+
# Remove games and X
|
61
|
+
'-game54.tgz<Enter>',
|
62
|
+
'-xbase54.tgz<Enter>',
|
63
|
+
'-xetc54.tgz<Enter>',
|
64
|
+
'-xshare54.tgz<Enter>',
|
65
|
+
'-xfont54.tgz<Enter>',
|
66
|
+
'-xserv54.tgz<Enter>',
|
67
|
+
'done<Enter>',
|
68
|
+
'<Wait>'*110,
|
69
|
+
# Done installing ?
|
70
|
+
'done<Enter>',
|
71
|
+
'<Wait>'*6,
|
72
|
+
# Time appears wrong. Set to ...? [yes]
|
73
|
+
'yes<Enter><Wait>',
|
74
|
+
'<Wait>'*6,
|
75
|
+
'reboot<Enter>',
|
76
|
+
'<Wait>'*6
|
77
|
+
],
|
78
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "",
|
79
|
+
:ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
80
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
81
|
+
:sudo_cmd => "sh '%f'",
|
82
|
+
:shutdown_cmd => "/sbin/halt -p",
|
83
|
+
:postinstall_files => [
|
84
|
+
"base.sh",
|
85
|
+
"vagrant.sh",
|
86
|
+
"ruby.sh",
|
87
|
+
"puppet.sh",
|
88
|
+
"chef.sh"
|
89
|
+
],
|
90
|
+
:postinstall_timeout => "10000"
|
91
|
+
})
|