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,33 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:os_type_id => 'OpenSUSE_64',
|
3
|
+
:cpu_count => '1',
|
4
|
+
:memory_size => '1024',
|
5
|
+
:disk_size => '20480',
|
6
|
+
:disk_format => 'VDI',
|
7
|
+
:hostiocache => 'off',
|
8
|
+
:iso_file => "SLES-11-SP3-DVD-x86_64-GM-DVD1.iso",
|
9
|
+
:iso_src => "",
|
10
|
+
:iso_md5 => "480b70d50cbb538382dc2b9325221e1b",
|
11
|
+
:iso_download_timeout => "1000",
|
12
|
+
:boot_wait => "10",
|
13
|
+
:boot_cmd_sequence => [
|
14
|
+
'<Esc><Enter>',
|
15
|
+
'linux netdevice=eth0 netsetup=dhcp install=cd:/',
|
16
|
+
' lang=en_US autoyast=http://%IP%:%PORT%/autoinst.xml',
|
17
|
+
' textmode=1',
|
18
|
+
'<Enter>'
|
19
|
+
],
|
20
|
+
:kickstart_port => "7122",
|
21
|
+
:kickstart_timeout => "10000",
|
22
|
+
:kickstart_file => ["autoinst.xml", "autoinst.xml"],
|
23
|
+
:ssh_login_timeout => "10000",
|
24
|
+
:ssh_user => "vagrant",
|
25
|
+
:ssh_password => "vagrant",
|
26
|
+
:ssh_key => "",
|
27
|
+
:ssh_host_port => "7222",
|
28
|
+
:ssh_guest_port => "22",
|
29
|
+
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
30
|
+
:shutdown_cmd => "/sbin/poweroff",
|
31
|
+
:postinstall_files => ["postinstall.sh"],
|
32
|
+
:postinstall_timeout => "10000"
|
33
|
+
})
|
@@ -0,0 +1,52 @@
|
|
1
|
+
#
|
2
|
+
# postinstall.sh
|
3
|
+
#
|
4
|
+
|
5
|
+
date > /etc/vagrant_box_build_time
|
6
|
+
|
7
|
+
# remove zypper locks on removed packages to avoid later dependency problems
|
8
|
+
zypper --non-interactive rl \*
|
9
|
+
|
10
|
+
# install vagrant key
|
11
|
+
echo -e "\ninstall vagrant key ..."
|
12
|
+
mkdir -m 0700 /home/vagrant/.ssh
|
13
|
+
cd /home/vagrant/.ssh
|
14
|
+
wget --no-check-certificate -O authorized_keys https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub
|
15
|
+
chmod 0600 /home/vagrant/.ssh/authorized_keys
|
16
|
+
chown -R vagrant.users /home/vagrant/.ssh
|
17
|
+
|
18
|
+
# update sudoers
|
19
|
+
echo -e "\nupdate sudoers ..."
|
20
|
+
echo -e "\n# added by veewee/postinstall.sh" >> /etc/sudoers
|
21
|
+
echo -e "vagrant ALL=(ALL) NOPASSWD: ALL\n" >> /etc/sudoers
|
22
|
+
|
23
|
+
# speed-up remote logins
|
24
|
+
echo -e "\nspeed-up remote logins ..."
|
25
|
+
echo -e "\n# added by veewee/postinstall.sh" >> /etc/ssh/sshd_config
|
26
|
+
echo -e "UseDNS no\n" >> /etc/ssh/sshd_config
|
27
|
+
|
28
|
+
# install chef and puppet
|
29
|
+
echo -e "\ninstall chef ..."
|
30
|
+
gem install chef --no-ri --no-rdoc
|
31
|
+
|
32
|
+
# fixing PATH for vagrant
|
33
|
+
echo 'export PATH=/sbin:/usr/sbin:$PATH' >> /home/vagrant/.bashrc
|
34
|
+
|
35
|
+
# install the virtualbox guest additions
|
36
|
+
echo -e "\ninstall the virtualbox guest additions ..."
|
37
|
+
zypper --non-interactive remove `rpm -qa virtualbox-guest-*` >/dev/null 2>&1
|
38
|
+
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
|
39
|
+
mount -o loop /home/vagrant/VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
|
40
|
+
sh /mnt/VBoxLinuxAdditions.run
|
41
|
+
umount /mnt
|
42
|
+
|
43
|
+
# Clean up
|
44
|
+
rm -f /home/vagrant/VBoxGuestAdditions_$VBOX_VERSION.iso /home/vagrant/postinstall.sh
|
45
|
+
|
46
|
+
# Add an online copy of the SLES DVD1 as a software repository, instead of the mounted DVD
|
47
|
+
zypper removerepo 'SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138'
|
48
|
+
zypper addrepo 'http://demeter.uni-regensburg.de/SLES11SP3-x64/DVD1/' 'SLES11SP3-x64 DVD1 Online'
|
49
|
+
zypper refresh
|
50
|
+
|
51
|
+
echo -e "\nall done.\n"
|
52
|
+
exit
|
@@ -20,7 +20,7 @@ Veewee::Session.declare({
|
|
20
20
|
:ssh_login_timeout => "10000000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
21
21
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
22
22
|
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
23
|
-
:shutdown_cmd => "
|
23
|
+
:shutdown_cmd => "poweroff",
|
24
24
|
:postinstall_files => ["vagrant_key.py", "vnc_enable.sh" ], :postinstall_timeout => 10000,
|
25
25
|
:vmfusion => { :vm_options => { 'enable_hypervisor_support' => true, 'download_tools' => false } }
|
26
26
|
})
|
@@ -20,7 +20,7 @@ Veewee::Session.declare({
|
|
20
20
|
:ssh_login_timeout => "10000000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
21
21
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
22
22
|
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
|
23
|
-
:shutdown_cmd => "
|
23
|
+
:shutdown_cmd => "poweroff",
|
24
24
|
:postinstall_files => ["vagrant_key.py", "vnc_enable.sh" ], :postinstall_timeout => 10000,
|
25
25
|
# Enable Hypervisor support to allow 64-bit guest VMs
|
26
26
|
:vmfusion => { :vm_options => { 'enable_hypervisor_support' => true, 'download_tools' => false } }
|
@@ -4,10 +4,10 @@
|
|
4
4
|
# basedevel.sh
|
5
5
|
# user.sh
|
6
6
|
|
7
|
-
pacman -S --noconfirm
|
7
|
+
pacman -S --noconfirm --needed base-devel
|
8
8
|
|
9
9
|
cd /tmp
|
10
|
-
|
10
|
+
curl 'https://aur.archlinux.org/packages/pa/packer/packer.tar.gz' -o packer.tar.gz
|
11
11
|
tar xzf packer.tar.gz
|
12
12
|
|
13
13
|
# makepkg should not be run as root
|
@@ -17,7 +17,7 @@ mkfs.ext4 /dev/sda1
|
|
17
17
|
# Install the base system
|
18
18
|
mount /dev/sda1 /mnt
|
19
19
|
# Get reflector so that we can update the mirrorlist
|
20
|
-
pacstrap /mnt base reflector
|
20
|
+
pacstrap /mnt base rsync reflector
|
21
21
|
genfstab -U /mnt >> /mnt/etc/fstab
|
22
22
|
|
23
23
|
# Chroot into the new system
|
@@ -4,17 +4,6 @@
|
|
4
4
|
# ruby.sh
|
5
5
|
# aur.sh
|
6
6
|
|
7
|
-
# Don't install ruby-highline from Arch repositories since it was built against
|
8
|
-
# Ruby 2.0. Build from source. Remove this section when Chef supports Ruby 2.0.
|
9
|
-
mkdir -p /tmp/ruby-highline
|
10
|
-
wget 'https://projects.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/ruby-highline&id=49e00a9ea7ffa267048aa7fc7a82a0427c10958d' \
|
11
|
-
-O /tmp/ruby-highline/PKGBUILD
|
12
|
-
chown -R veewee:veewee /tmp/ruby-highline
|
13
|
-
cd /tmp/ruby-highline
|
14
|
-
su veewee -c 'makepkg -si --noconfirm'
|
15
|
-
cd -
|
16
|
-
rm -rf /tmp/ruby-highline
|
17
|
-
|
18
7
|
# Change TMPDIR for packer to stop /tmp from filling up during install
|
19
8
|
export TMPDIR=$(pwd)/tmp
|
20
9
|
mkdir -p $TMPDIR
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'net/http'
|
2
2
|
|
3
|
-
iso_mirror = 'http://mirrors.kernel.org/archlinux/iso/
|
3
|
+
iso_mirror = 'http://mirrors.kernel.org/archlinux/iso/2013.12.01'
|
4
4
|
uri = "#{iso_mirror}/md5sums.txt"
|
5
5
|
response = Net::HTTP.get_response(URI.parse(uri)).body.split
|
6
6
|
iso = response[1]
|
@@ -43,7 +43,6 @@ Veewee::Definition.declare({
|
|
43
43
|
'bootloader.sh',
|
44
44
|
'ssh.sh',
|
45
45
|
'reboot.sh',
|
46
|
-
'basedevel.sh',
|
47
46
|
'sudo.sh',
|
48
47
|
'user.sh',
|
49
48
|
'aur.sh',
|
@@ -3,25 +3,9 @@
|
|
3
3
|
# Requires
|
4
4
|
# reboot.sh
|
5
5
|
|
6
|
-
|
7
|
-
# supports Ruby 2.0
|
8
|
-
#pacman -S --noconfirm ruby
|
9
|
-
|
10
|
-
# We can install Ruby 1.9 either using an older PKGBUILD or download the
|
11
|
-
# package from the Arch Rollback Machine. Using the Rollback Machine saves from
|
12
|
-
# having to compile Ruby for every new VM.
|
13
|
-
arch="$(uname -m)"
|
14
|
-
package="ruby-1.9.3_p392-1-${arch}.pkg.tar.xz"
|
15
|
-
|
16
|
-
cd /tmp
|
17
|
-
wget "http://arm.konnichi.com/2013/03/23/extra/os/${arch}/${package}"
|
18
|
-
pacman -U --noconfirm "${package}"
|
19
|
-
|
20
|
-
# Add ruby to Pacman's ignore list so it does not get upgraded to 2.0
|
21
|
-
sed -ri 's/^#?(IgnorePkg.*)/\1 ruby/' /etc/pacman.conf
|
6
|
+
pacman -S --noconfirm ruby
|
22
7
|
|
23
8
|
# Don't install RDoc and RI to save time and space
|
24
9
|
cat <<EOF >> /etc/gemrc
|
25
|
-
|
26
|
-
update: --no-rdoc --no-ri
|
10
|
+
gem: --no-document
|
27
11
|
EOF
|
@@ -18,10 +18,8 @@ EOF
|
|
18
18
|
# Install the "insecure" public key
|
19
19
|
mkdir -m 700 /home/vagrant/.ssh
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' \
|
24
|
-
-O /home/vagrant/.ssh/authorized_keys
|
21
|
+
curl 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' \
|
22
|
+
-o /home/vagrant/.ssh/authorized_keys
|
25
23
|
|
26
24
|
chmod 600 /home/vagrant/.ssh/authorized_keys
|
27
25
|
chown -R vagrant:vagrant /home/vagrant/.ssh
|
@@ -0,0 +1,48 @@
|
|
1
|
+
Veewee::Definition.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '512',
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
|
4
|
+
:os_type_id => 'FreeBSD_64',
|
5
|
+
:iso_file => "mfsbsd-se-10.0-RELEASE-amd64.iso",
|
6
|
+
:iso_src => "http://mfsbsd.vx.sk/files/iso/10/amd64/mfsbsd-se-10.0-RELEASE-amd64.iso",
|
7
|
+
:iso_md5 => "a6f9d9a41e8dc1ddb13f3387c8487837",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "90", :boot_cmd_sequence => [
|
10
|
+
'root',
|
11
|
+
'<Enter>',
|
12
|
+
'mfsroot',
|
13
|
+
'<Enter>',
|
14
|
+
'mount_cd9660 /dev/cd0 /cdrom',
|
15
|
+
'<Enter>',
|
16
|
+
'zfsinstall -d /dev/ada0 -u /cdrom/10.0-RELEASE-amd64 -s 1G',
|
17
|
+
'<Enter>',
|
18
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
19
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
20
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
21
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
22
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
23
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
24
|
+
'shutdown -r now',
|
25
|
+
'<Enter>',
|
26
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
27
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
28
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
29
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
30
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
31
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
32
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
33
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
34
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
35
|
+
'root',
|
36
|
+
'<Enter>',
|
37
|
+
'dhclient em0',
|
38
|
+
'<Enter><Wait><Wait><Wait>',
|
39
|
+
'fetch -o /tmp/install.sh http://%IP%:%PORT%/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh %NAME%<Enter>'
|
40
|
+
],
|
41
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "install.sh",
|
42
|
+
:ssh_login_timeout => "10000", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
|
43
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
44
|
+
:sudo_cmd => "cat '%f' | su -",
|
45
|
+
:shutdown_cmd => "shutdown -p now",
|
46
|
+
:postinstall_files => [ "postinstall.csh"], :postinstall_timeout => "10000"
|
47
|
+
|
48
|
+
})
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#!/bin/sh -x
|
2
|
+
|
3
|
+
sleep 10
|
4
|
+
# Enable required services
|
5
|
+
cat >> /etc/rc.conf << EOT
|
6
|
+
hostname="${NAME}"
|
7
|
+
ifconfig_em0="dhcp"
|
8
|
+
sshd_enable="YES"
|
9
|
+
EOT
|
10
|
+
|
11
|
+
# Tune and boot from zfs
|
12
|
+
cat >> /boot/loader.conf << EOT
|
13
|
+
vm.kmem_size="200M"
|
14
|
+
vm.kmem_size_max="200M"
|
15
|
+
vfs.zfs.arc_max="40M"
|
16
|
+
vfs.zfs.vdev.cache.size="5M"
|
17
|
+
virtio_load="YES"
|
18
|
+
virtio_pci_load="YES"
|
19
|
+
virtio_blk_load="YES"
|
20
|
+
if_vtnet_load="YES"
|
21
|
+
virtio_balloon_load="YES"
|
22
|
+
EOT
|
23
|
+
|
24
|
+
# Set up user accounts
|
25
|
+
zfs create tank/root/home
|
26
|
+
zfs create tank/root/home/vagrant
|
27
|
+
echo "vagrant" | pw -V /etc useradd vagrant -h 0 -s csh -G wheel -d /home/vagrant -c "Vagrant User"
|
28
|
+
|
29
|
+
chown 1001:1001 /home/vagrant
|
30
|
+
|
31
|
+
# Reboot
|
32
|
+
reboot
|
33
|
+
|
@@ -0,0 +1,125 @@
|
|
1
|
+
#!/bin/csh -x
|
2
|
+
# NB: at the point when this script is run, vagrant's shell is csh
|
3
|
+
|
4
|
+
set echo
|
5
|
+
|
6
|
+
# Set root password
|
7
|
+
echo "vagrant" | pw -V /etc usermod root -h 0
|
8
|
+
|
9
|
+
#Set the time correctly
|
10
|
+
ntpdate -v -b in.pool.ntp.org
|
11
|
+
|
12
|
+
date > /etc/vagrant_box_build_time
|
13
|
+
|
14
|
+
# reduce the ports we extract to a minimum
|
15
|
+
cat >> /etc/portsnap.conf << EOT
|
16
|
+
REFUSE accessibility arabic archivers astro audio benchmarks biology cad
|
17
|
+
REFUSE converters chinese comms databases deskutils distfiles devel dns editors finance french
|
18
|
+
REFUSE ftp games german graphics hebrew hungarian irc japanese java korean
|
19
|
+
REFUSE lang mail math multimedia misc net net-im net-mgmt net-p2p news packages palm
|
20
|
+
REFUSE polish portuguese print russian science shells sysutils textproc ukrainian
|
21
|
+
REFUSE vietnamese www x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers
|
22
|
+
REFUSE x11-themes x11-toolkits x11-wm
|
23
|
+
EOT
|
24
|
+
|
25
|
+
# get new ports
|
26
|
+
portsnap --interactive fetch extract
|
27
|
+
|
28
|
+
cd /usr/ports/ports-mgmt/pkg
|
29
|
+
make -DBATCH install
|
30
|
+
|
31
|
+
# Install binary packages versions of dependencies
|
32
|
+
pkg install -y sudo bash chef puppet portupgrade perl5 kBuild yasm
|
33
|
+
|
34
|
+
cat >> /etc/make.conf << EOT
|
35
|
+
WITH_ETCSYMLINK="YES"
|
36
|
+
EOT
|
37
|
+
|
38
|
+
# Install certificates so we can fetch from GitHub
|
39
|
+
cd /usr/ports/security/ca_root_nss
|
40
|
+
make install -DBATCH
|
41
|
+
|
42
|
+
#Installing vagrant keys
|
43
|
+
mkdir /home/vagrant/.ssh
|
44
|
+
chmod 700 /home/vagrant/.ssh
|
45
|
+
cd /home/vagrant/.ssh
|
46
|
+
fetch -am -o authorized_keys 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub'
|
47
|
+
chown -R vagrant /home/vagrant/.ssh
|
48
|
+
chmod -R go-rwsx /home/vagrant/.ssh
|
49
|
+
|
50
|
+
# As sharedfolders are not in defaults ports tree
|
51
|
+
# We will use vagrant via NFS
|
52
|
+
# Enable NFS
|
53
|
+
echo 'rpcbind_enable="YES"' >> /etc/rc.conf
|
54
|
+
echo 'nfs_server_enable="YES"' >> /etc/rc.conf
|
55
|
+
echo 'mountd_flags="-r"' >> /etc/rc.conf
|
56
|
+
|
57
|
+
# Enable passwordless sudo
|
58
|
+
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /usr/local/etc/sudoers
|
59
|
+
# Restore correct su permissions
|
60
|
+
# I'll leave that up to the reader :)
|
61
|
+
|
62
|
+
# disable X11 because vagrants are (usually) headless
|
63
|
+
cat >> /etc/make.conf << EOT
|
64
|
+
WITHOUT_X11="YES"
|
65
|
+
EOT
|
66
|
+
|
67
|
+
# Fetch base system files for building Virtualbox OSE Additions
|
68
|
+
fetch -o /tmp/src.txz http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/src.txz
|
69
|
+
fetch -o /tmp/lib32.txz http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/lib32.txz
|
70
|
+
|
71
|
+
# Extract into /usr/src and /usr/lib32
|
72
|
+
tar -k -C / -xf /tmp/src.txz
|
73
|
+
tar -k -C / -xf /tmp/lib32.txz
|
74
|
+
|
75
|
+
cd /usr/ports/emulators/virtualbox-ose-additions
|
76
|
+
make -DBATCH package clean
|
77
|
+
|
78
|
+
cp /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf
|
79
|
+
|
80
|
+
# undo our customizations
|
81
|
+
sed -i '' -e '/^REFUSE /d' /etc/portsnap.conf
|
82
|
+
# sed -i '' -e '/^WITHOUT_X11/d' /etc/make.conf
|
83
|
+
|
84
|
+
echo 'vboxdrv_load="YES"' >> /boot/loader.conf
|
85
|
+
echo 'vboxnet_enable="YES"' >> /etc/rc.conf
|
86
|
+
echo 'vboxguest_enable="YES"' >> /etc/rc.conf
|
87
|
+
echo 'vboxservice_enable="YES"' >> /etc/rc.conf
|
88
|
+
|
89
|
+
# sed -i.bak -Ee 's|/dev/ada?|/dev/vtbd|' /etc/fstab
|
90
|
+
echo 'ifconfig_vtnet0_name="em0"' >> /etc/rc.conf
|
91
|
+
echo 'ifconfig_vtnet1_name="em1"' >> /etc/rc.conf
|
92
|
+
echo 'ifconfig_vtnet2_name="em2"' >> /etc/rc.conf
|
93
|
+
echo 'ifconfig_vtnet3_name="em3"' >> /etc/rc.conf
|
94
|
+
|
95
|
+
pw groupadd vboxusers
|
96
|
+
pw groupmod vboxusers -m vagrant
|
97
|
+
|
98
|
+
#Bash needs to be the shell for tests to validate
|
99
|
+
pw usermod vagrant -s /usr/local/bin/bash
|
100
|
+
|
101
|
+
#Cleanup
|
102
|
+
rm /home/vagrant/VBoxGuestAdditions*
|
103
|
+
rm -r /var/db/portsnap/snap
|
104
|
+
rm -r /usr/ports
|
105
|
+
rm -r /usr/src
|
106
|
+
rm -rf /tmp/*
|
107
|
+
rm /home/vagrant/postinstall.csh
|
108
|
+
|
109
|
+
|
110
|
+
# Zero out all data to reduce box size
|
111
|
+
dd if=/dev/zero of=/tmp/ZEROES bs=1M
|
112
|
+
rm /tmp/ZEROES
|
113
|
+
|
114
|
+
cat /dev/null > /root/.history
|
115
|
+
|
116
|
+
echo "=============================================================================="
|
117
|
+
echo "NOTE: FreeBSD - Vagrant"
|
118
|
+
echo "When using this basebox you need to do some special stuff in your Vagrantfile"
|
119
|
+
echo "1) Enable HostOnly network"
|
120
|
+
echo " config.vm.network ...."
|
121
|
+
echo "2) Use nfs instead of shared folders"
|
122
|
+
echo ' config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)'
|
123
|
+
echo "============================================================================="
|
124
|
+
|
125
|
+
exit
|
@@ -23,7 +23,7 @@ Veewee::Definition.declare({
|
|
23
23
|
'sleep 10 ; fetch -o /tmp/install.sh http://%IP%:%PORT%/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh %NAME%<Enter>'
|
24
24
|
],
|
25
25
|
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "install.sh",
|
26
|
-
:ssh_login_timeout => "10000", :ssh_user => "
|
26
|
+
:ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
27
27
|
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
28
28
|
:sudo_cmd => "cat '%f' | su -",
|
29
29
|
:shutdown_cmd => "shutdown -p now",
|
@@ -82,6 +82,7 @@ echo '/dev/gpt/swap0 none swap sw 0 0' > /mnt/etc/fstab
|
|
82
82
|
|
83
83
|
# Install a few requirements
|
84
84
|
echo 'nameserver 8.8.8.8' > /mnt/etc/resolv.conf
|
85
|
+
echo 'PermitRootLogin yes' >> /mnt/etc/ssh/sshd_config
|
85
86
|
|
86
87
|
# Set up user accounts
|
87
88
|
zfs create zroot/usr/home/vagrant
|
@@ -34,12 +34,12 @@ EOT
|
|
34
34
|
# get new ports
|
35
35
|
/tmp/portsnap fetch extract
|
36
36
|
|
37
|
-
#
|
37
|
+
# install sudo and bash
|
38
38
|
pkg_delete -af
|
39
39
|
cd /usr/ports/security/sudo
|
40
|
-
make -DBATCH
|
40
|
+
make -DBATCH install clean
|
41
41
|
cd /usr/ports/shells/bash-static
|
42
|
-
make -DBATCH
|
42
|
+
make -DBATCH install clean
|
43
43
|
|
44
44
|
#Off to rubygems to get first ruby running
|
45
45
|
cd /usr/ports/devel/ruby-gems
|
@@ -90,14 +90,15 @@ WITHOUT_X11="YES"
|
|
90
90
|
EOT
|
91
91
|
|
92
92
|
cd /usr/ports/emulators/virtualbox-ose-additions
|
93
|
-
make -DBATCH
|
93
|
+
make -DBATCH install clean
|
94
94
|
|
95
95
|
cd /usr/ports/emulators/virtio-kmod
|
96
96
|
make -DBATCH install
|
97
97
|
|
98
98
|
# undo our customizations
|
99
99
|
sed -i '' -e '/^REFUSE /d' /etc/portsnap.conf
|
100
|
-
|
100
|
+
sed -i '' -e '/^PermitRootLogin /d' /etc/ssh/sshd_config
|
101
|
+
/usr/sbin/service sshd reload
|
101
102
|
|
102
103
|
echo 'vboxdrv_load="YES"' >> /boot/loader.conf
|
103
104
|
echo 'vboxnet_enable="YES"' >> /etc/rc.conf
|
@@ -112,7 +113,6 @@ if_vtnet_load="YES"
|
|
112
113
|
virtio_balloon_load="YES"
|
113
114
|
EOT
|
114
115
|
|
115
|
-
# sed -i.bak -Ee 's|/dev/ada?|/dev/vtbd|' /etc/fstab
|
116
116
|
echo 'ifconfig_vtnet0_name="em0"' >> /etc/rc.conf
|
117
117
|
echo 'ifconfig_vtnet1_name="em1"' >> /etc/rc.conf
|
118
118
|
echo 'ifconfig_vtnet2_name="em2"' >> /etc/rc.conf
|
@@ -128,9 +128,9 @@ echo "==========================================================================
|
|
128
128
|
echo "NOTE: FreeBSD - Vagrant"
|
129
129
|
echo "When using this basebox you need to do some special stuff in your Vagrantfile"
|
130
130
|
echo "1) Enable HostOnly network"
|
131
|
-
echo "
|
131
|
+
echo " config.vm.network ...."
|
132
132
|
echo "2) Use nfs instead of shared folders"
|
133
|
-
echo '
|
133
|
+
echo ' config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)'
|
134
134
|
echo "============================================================================="
|
135
135
|
|
136
136
|
exit
|