veewee 0.3.12 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitattributes +2 -0
- data/.gitignore +2 -0
- data/.rvmrc +1 -1
- data/.travis.yml +1 -2
- data/Gemfile +1 -1
- data/bin/veewee +1 -0
- data/doc/basics.md +17 -11
- data/doc/build_hooks.md +1 -0
- data/doc/customize.md +53 -0
- data/doc/installation.md +5 -0
- data/doc/requirements.md +1 -1
- data/doc/vagrant.md +2 -2
- data/lib/veewee/command/fusion.rb +3 -0
- data/lib/veewee/command/kvm.rb +3 -0
- data/lib/veewee/command/parallels.rb +3 -0
- data/lib/veewee/command/vbox.rb +3 -0
- data/lib/veewee/config/ostypes.yml +17 -3
- data/lib/veewee/definition.rb +2 -2
- data/lib/veewee/definitions.rb +3 -3
- data/lib/veewee/provider/core/box/build.rb +48 -24
- data/lib/veewee/provider/core/box/ssh.rb +6 -6
- data/lib/veewee/provider/core/box/wincp.rb +19 -13
- data/lib/veewee/provider/core/helper/iso.rb +10 -9
- data/lib/veewee/provider/core/helper/ssh.rb +60 -7
- data/lib/veewee/provider/core/helper/web.rb +14 -15
- data/lib/veewee/provider/kvm/provider.rb +1 -1
- data/lib/veewee/provider/virtualbox/box.rb +10 -9
- data/lib/veewee/provider/virtualbox/box/export_vagrant.rb +1 -1
- data/lib/veewee/provider/virtualbox/box/helper/create.rb +2 -2
- data/lib/veewee/provider/vmfusion/box/template.vmx.erb +1 -1
- data/lib/veewee/version.rb +1 -1
- data/templates/.ubuntu/base.sh +2 -0
- data/templates/.ubuntu/chef.sh +2 -0
- data/templates/.ubuntu/cleanup.sh +7 -0
- data/templates/.ubuntu/puppet.sh +2 -0
- data/templates/.ubuntu/ruby.sh +2 -0
- data/templates/.ubuntu/vagrant.sh +2 -0
- data/templates/.ubuntu/virtualbox.sh +2 -0
- data/templates/.ubuntu/zerodisk.sh +2 -0
- data/templates/CentOS-5.10-i386-netboot/base.sh +8 -0
- data/templates/CentOS-5.10-i386-netboot/chef.sh +3 -0
- data/templates/CentOS-5.10-i386-netboot/cleanup.sh +11 -0
- data/templates/CentOS-5.10-i386-netboot/definition.rb +42 -0
- data/templates/CentOS-5.10-i386-netboot/ks.cfg +27 -0
- data/templates/CentOS-5.10-i386-netboot/puppet.sh +17 -0
- data/templates/CentOS-5.10-i386-netboot/ruby.sh +41 -0
- data/templates/CentOS-5.10-i386-netboot/vagrant.sh +9 -0
- data/templates/CentOS-5.10-i386-netboot/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-i386-netboot/zerodisk.sh +4 -0
- data/templates/CentOS-5.10-i386/base.sh +8 -0
- data/templates/CentOS-5.10-i386/chef.sh +3 -0
- data/templates/CentOS-5.10-i386/cleanup.sh +11 -0
- data/templates/CentOS-5.10-i386/definition.rb +42 -0
- data/templates/CentOS-5.10-i386/ks.cfg +27 -0
- data/templates/CentOS-5.10-i386/puppet.sh +17 -0
- data/templates/CentOS-5.10-i386/ruby.sh +41 -0
- data/templates/CentOS-5.10-i386/vagrant.sh +9 -0
- data/templates/CentOS-5.10-i386/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-i386/zerodisk.sh +4 -0
- data/templates/CentOS-5.10-x86_64-netboot/base.sh +8 -0
- data/templates/CentOS-5.10-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-5.10-x86_64-netboot/cleanup.sh +11 -0
- data/templates/CentOS-5.10-x86_64-netboot/definition.rb +42 -0
- data/templates/CentOS-5.10-x86_64-netboot/ks.cfg +27 -0
- data/templates/CentOS-5.10-x86_64-netboot/puppet.sh +17 -0
- data/templates/CentOS-5.10-x86_64-netboot/ruby.sh +41 -0
- data/templates/CentOS-5.10-x86_64-netboot/vagrant.sh +9 -0
- data/templates/CentOS-5.10-x86_64-netboot/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-x86_64-netboot/zerodisk.sh +4 -0
- data/templates/CentOS-5.10-x86_64/base.sh +8 -0
- data/templates/CentOS-5.10-x86_64/chef.sh +3 -0
- data/templates/CentOS-5.10-x86_64/cleanup.sh +11 -0
- data/templates/CentOS-5.10-x86_64/definition.rb +42 -0
- data/templates/CentOS-5.10-x86_64/ks.cfg +27 -0
- data/templates/CentOS-5.10-x86_64/puppet.sh +17 -0
- data/templates/CentOS-5.10-x86_64/ruby.sh +41 -0
- data/templates/CentOS-5.10-x86_64/vagrant.sh +9 -0
- data/templates/CentOS-5.10-x86_64/virtualbox.sh +9 -0
- data/templates/CentOS-5.10-x86_64/zerodisk.sh +4 -0
- data/templates/CentOS-5.6-i386/ks.cfg +1 -1
- data/templates/CentOS-5.7-i386-netboot/ks.cfg +1 -1
- data/templates/CentOS-5.8-i386-netboot/ks.cfg +1 -1
- data/templates/CentOS-5.8-i386/ks.cfg +1 -1
- data/templates/CentOS-5.9-i386-netboot/base.sh +5 -2
- data/templates/CentOS-5.9-i386-netboot/chef.sh +1 -1
- data/templates/CentOS-5.9-i386-netboot/cleanup.sh +7 -3
- data/templates/CentOS-5.9-i386-netboot/definition.rb +2 -3
- data/templates/CentOS-5.9-i386-netboot/ks.cfg +8 -28
- data/templates/CentOS-5.9-i386-netboot/puppet.sh +0 -1
- data/templates/CentOS-5.9-i386-netboot/ruby.sh +40 -11
- data/templates/CentOS-5.9-i386-netboot/vagrant.sh +2 -11
- data/templates/CentOS-5.9-i386-netboot/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-i386-netboot/zerodisk.sh +1 -0
- data/templates/CentOS-5.9-i386/base.sh +5 -2
- data/templates/CentOS-5.9-i386/chef.sh +1 -1
- data/templates/CentOS-5.9-i386/cleanup.sh +7 -3
- data/templates/CentOS-5.9-i386/definition.rb +2 -3
- data/templates/CentOS-5.9-i386/ks.cfg +8 -28
- data/templates/CentOS-5.9-i386/puppet.sh +0 -1
- data/templates/CentOS-5.9-i386/ruby.sh +40 -11
- data/templates/CentOS-5.9-i386/vagrant.sh +2 -11
- data/templates/CentOS-5.9-i386/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-i386/zerodisk.sh +1 -0
- data/templates/CentOS-5.9-x86_64-netboot/base.sh +5 -2
- data/templates/CentOS-5.9-x86_64-netboot/chef.sh +1 -1
- data/templates/CentOS-5.9-x86_64-netboot/cleanup.sh +7 -3
- data/templates/CentOS-5.9-x86_64-netboot/definition.rb +2 -3
- data/templates/CentOS-5.9-x86_64-netboot/ks.cfg +8 -28
- data/templates/CentOS-5.9-x86_64-netboot/puppet.sh +0 -1
- data/templates/CentOS-5.9-x86_64-netboot/ruby.sh +40 -11
- data/templates/CentOS-5.9-x86_64-netboot/vagrant.sh +2 -11
- data/templates/CentOS-5.9-x86_64-netboot/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-x86_64-netboot/zerodisk.sh +1 -0
- data/templates/CentOS-5.9-x86_64/base.sh +5 -2
- data/templates/CentOS-5.9-x86_64/chef.sh +1 -1
- data/templates/CentOS-5.9-x86_64/cleanup.sh +7 -3
- data/templates/CentOS-5.9-x86_64/definition.rb +4 -5
- data/templates/CentOS-5.9-x86_64/ks.cfg +7 -27
- data/templates/CentOS-5.9-x86_64/puppet.sh +0 -1
- data/templates/CentOS-5.9-x86_64/ruby.sh +40 -11
- data/templates/CentOS-5.9-x86_64/vagrant.sh +2 -11
- data/templates/CentOS-5.9-x86_64/virtualbox.sh +5 -4
- data/templates/CentOS-5.9-x86_64/zerodisk.sh +1 -0
- data/templates/CentOS-6.0-i386-netboot/chef.sh +1 -0
- data/templates/CentOS-6.0-i386/chef.sh +1 -0
- data/templates/CentOS-6.0-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.0-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.0-x86_64/chef.sh +1 -0
- data/templates/CentOS-6.1-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.1-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.2-i386-minimal/chef.sh +1 -0
- data/templates/CentOS-6.2-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.2-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.3-i386-minimal/chef.sh +1 -0
- data/templates/CentOS-6.3-i386-minimal/definition.rb +2 -3
- data/templates/CentOS-6.3-x86_64-minimal/chef.sh +1 -0
- data/templates/CentOS-6.3-x86_64-minimal/definition.rb +1 -1
- data/templates/CentOS-6.3-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.3-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-6.3-x86_64-reallyminimal/definition.rb +1 -1
- data/templates/CentOS-6.4-i386-minimal/chef.sh +3 -1
- data/templates/CentOS-6.4-i386-minimal/definition.rb +1 -1
- data/templates/CentOS-6.4-i386-minimal/vmfusion.sh +3 -0
- data/templates/CentOS-6.4-i386-netboot/chef.sh +1 -0
- data/templates/CentOS-6.4-i386-netboot/definition.rb +1 -1
- data/templates/CentOS-6.4-i386-netboot/ks.cfg +1 -1
- data/templates/CentOS-6.4-i386-netboot/vmfusion.sh +3 -0
- data/templates/CentOS-6.4-x86_64-minimal/chef.sh +3 -1
- data/templates/CentOS-6.4-x86_64-minimal/definition.rb +1 -1
- data/templates/CentOS-6.4-x86_64-minimal/vmfusion.sh +3 -0
- data/templates/CentOS-6.4-x86_64-netboot/chef.sh +1 -0
- data/templates/CentOS-6.4-x86_64-netboot/definition.rb +1 -1
- data/templates/CentOS-6.4-x86_64-netboot/ks.cfg +1 -1
- data/templates/CentOS-6.4-x86_64-netboot/vmfusion.sh +3 -0
- data/templates/CentOS-6.5-i386-minimal/base.sh +16 -0
- data/templates/CentOS-6.5-i386-minimal/chef.sh +4 -0
- data/templates/CentOS-6.5-i386-minimal/cleanup.sh +8 -0
- data/templates/CentOS-6.5-i386-minimal/definition.rb +38 -0
- data/templates/CentOS-6.5-i386-minimal/ks.cfg +37 -0
- data/templates/CentOS-6.5-i386-minimal/puppet.sh +18 -0
- data/templates/CentOS-6.5-i386-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.5-i386-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-i386-minimal/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-i386-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.5-i386-netboot/base.sh +16 -0
- data/templates/CentOS-6.5-i386-netboot/cfengine.sh +69 -0
- data/templates/CentOS-6.5-i386-netboot/chef.sh +4 -0
- data/templates/CentOS-6.5-i386-netboot/cleanup.sh +8 -0
- data/templates/CentOS-6.5-i386-netboot/definition.rb +40 -0
- data/templates/CentOS-6.5-i386-netboot/ks.cfg +41 -0
- data/templates/CentOS-6.5-i386-netboot/puppet.sh +18 -0
- data/templates/CentOS-6.5-i386-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.5-i386-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.5-i386-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-i386-netboot/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-i386-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-6.5-x86_64-minimal/base.sh +16 -0
- data/templates/CentOS-6.5-x86_64-minimal/chef.sh +4 -0
- data/templates/CentOS-6.5-x86_64-minimal/cleanup.sh +8 -0
- data/templates/CentOS-6.5-x86_64-minimal/definition.rb +38 -0
- data/templates/CentOS-6.5-x86_64-minimal/ks.cfg +37 -0
- data/templates/CentOS-6.5-x86_64-minimal/puppet.sh +18 -0
- data/templates/CentOS-6.5-x86_64-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.5-x86_64-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-x86_64-minimal/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-x86_64-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.5-x86_64-netboot/base.sh +16 -0
- data/templates/CentOS-6.5-x86_64-netboot/chef.sh +4 -0
- data/templates/CentOS-6.5-x86_64-netboot/cleanup.sh +8 -0
- data/templates/CentOS-6.5-x86_64-netboot/definition.rb +38 -0
- data/templates/CentOS-6.5-x86_64-netboot/ks.cfg +38 -0
- data/templates/CentOS-6.5-x86_64-netboot/puppet.sh +18 -0
- data/templates/CentOS-6.5-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.5-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.5-x86_64-netboot/vmfusion.sh +10 -0
- data/templates/CentOS-6.5-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/base.sh +16 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/chef.sh +2 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/cleanup.sh +7 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/definition.rb +38 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/ks.cfg +39 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/puppet.sh +18 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/vagrant.sh +18 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/virtualbox.sh +8 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/vmfusion.sh +10 -0
- data/templates/CentOS-7.0-1406-x86_64-netinstall/zerodisk.sh +3 -0
- data/templates/Debian-6.0.6-i386-netboot/definition.rb +1 -2
- data/templates/Debian-6.0.7-amd64-netboot/definition.rb +3 -1
- data/templates/Debian-6.0.7-i386-netboot/definition.rb +4 -3
- data/templates/Debian-6.0.8-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.8-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.8-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.8-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.8-amd64-netboot/definition.rb +50 -0
- data/templates/Debian-6.0.8-amd64-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.8-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.8-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.8-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.8-amd64-netboot/virtualbox.sh +18 -0
- data/templates/Debian-6.0.8-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.8-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.8-i386-netboot/base.sh +26 -0
- data/templates/Debian-6.0.8-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.8-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.8-i386-netboot/cleanup.sh +18 -0
- data/templates/Debian-6.0.8-i386-netboot/definition.rb +58 -0
- data/templates/Debian-6.0.8-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.8-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.8-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.8-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.8-i386-netboot/virtualbox.sh +16 -0
- data/templates/Debian-6.0.8-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.8-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.9-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.9-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.9-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.9-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.9-amd64-netboot/definition.rb +50 -0
- data/templates/Debian-6.0.9-amd64-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.9-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.9-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.9-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.9-amd64-netboot/virtualbox.sh +18 -0
- data/templates/Debian-6.0.9-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.9-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.9-i386-netboot/base.sh +27 -0
- data/templates/Debian-6.0.9-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.9-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.9-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.9-i386-netboot/definition.rb +50 -0
- data/templates/Debian-6.0.9-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.9-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-6.0.9-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.9-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.9-i386-netboot/virtualbox.sh +18 -0
- data/templates/Debian-6.0.9-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-6.0.9-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.0-amd64-netboot/base.sh +1 -0
- data/templates/Debian-7.0-amd64-netboot/definition.rb +1 -0
- data/templates/Debian-7.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-7.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.0-i386-netboot/base.sh +1 -0
- data/templates/Debian-7.0-i386-netboot/definition.rb +1 -0
- data/templates/Debian-7.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.1.0-amd64-netboot/base.sh +1 -0
- data/templates/Debian-7.1.0-amd64-netboot/definition.rb +4 -1
- data/templates/Debian-7.1.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-7.1.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.1.0-i386-netboot/base.sh +1 -0
- data/templates/Debian-7.1.0-i386-netboot/definition.rb +4 -1
- data/templates/Debian-7.1.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.2.0-amd64-netboot/base.sh +1 -0
- data/templates/Debian-7.2.0-amd64-netboot/definition.rb +4 -1
- data/templates/Debian-7.2.0-amd64-netboot/preseed.cfg +1 -1
- data/templates/Debian-7.2.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.2.0-i386-netboot/base.sh +1 -0
- data/templates/Debian-7.2.0-i386-netboot/definition.rb +4 -1
- data/templates/Debian-7.2.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.3.0-amd64-netboot/base.sh +26 -0
- data/templates/Debian-7.3.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.3.0-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.3.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.3.0-amd64-netboot/definition.rb +56 -0
- data/templates/Debian-7.3.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.3.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.3.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.3.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.3.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.3.0-amd64-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.3.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.3.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.3.0-i386-netboot/base.sh +27 -0
- data/templates/Debian-7.3.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.3.0-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.3.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.3.0-i386-netboot/definition.rb +54 -0
- data/templates/Debian-7.3.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.3.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.3.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.3.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.3.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.3.0-i386-netboot/virtualbox.sh +34 -0
- data/templates/Debian-7.3.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.3.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.4.0-amd64-netboot/base.sh +26 -0
- data/templates/Debian-7.4.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.4.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.4.0-amd64-netboot/definition.rb +55 -0
- data/templates/Debian-7.4.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.4.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.4.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.4.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.4.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.4.0-amd64-netboot/virtualbox.sh +35 -0
- data/templates/Debian-7.4.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.4.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.4.0-i386-netboot/base.sh +27 -0
- data/templates/Debian-7.4.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.4.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.4.0-i386-netboot/definition.rb +53 -0
- data/templates/Debian-7.4.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.4.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.4.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.4.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.4.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.4.0-i386-netboot/virtualbox.sh +36 -0
- data/templates/Debian-7.4.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.4.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.5.0-amd64-netboot/base.sh +25 -0
- data/templates/Debian-7.5.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.5.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.5.0-amd64-netboot/definition.rb +55 -0
- data/templates/Debian-7.5.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.5.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.5.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.5.0-amd64-netboot/systemd.sh +22 -0
- data/templates/Debian-7.5.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.5.0-amd64-netboot/virtualbox.sh +37 -0
- data/templates/Debian-7.5.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.5.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.5.0-i386-netboot/base.sh +26 -0
- data/templates/Debian-7.5.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.5.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.5.0-i386-netboot/definition.rb +51 -0
- data/templates/Debian-7.5.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.5.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.5.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.5.0-i386-netboot/systemd.sh +22 -0
- data/templates/Debian-7.5.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.5.0-i386-netboot/virtualbox.sh +38 -0
- data/templates/Debian-7.5.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.5.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.6.0-amd64-netboot/base.sh +25 -0
- data/templates/Debian-7.6.0-amd64-netboot/chef.sh +49 -0
- data/templates/Debian-7.6.0-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-7.6.0-amd64-netboot/definition.rb +52 -0
- data/templates/Debian-7.6.0-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.6.0-amd64-netboot/puppet.sh +7 -0
- data/templates/Debian-7.6.0-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.6.0-amd64-netboot/vagrant.sh +21 -0
- data/templates/Debian-7.6.0-amd64-netboot/virtualbox.sh +37 -0
- data/templates/Debian-7.6.0-amd64-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.6.0-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.6.0-i386-netboot/base.sh +26 -0
- data/templates/Debian-7.6.0-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.6.0-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.6.0-i386-netboot/definition.rb +50 -0
- data/templates/Debian-7.6.0-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.6.0-i386-netboot/puppet.sh +7 -0
- data/templates/Debian-7.6.0-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.6.0-i386-netboot/vagrant.sh +23 -0
- data/templates/Debian-7.6.0-i386-netboot/virtualbox.sh +38 -0
- data/templates/Debian-7.6.0-i386-netboot/vmfusion.sh +7 -0
- data/templates/Debian-7.6.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/Fedora-14-amd64-netboot/definition.rb +1 -1
- data/templates/Fedora-14-amd64/definition.rb +1 -1
- data/templates/Fedora-14-i386-netboot/definition.rb +1 -1
- data/templates/Fedora-14-i386/definition.rb +1 -1
- data/templates/Fedora-15-i386-netboot/definition.rb +1 -1
- data/templates/Fedora-15-i386/definition.rb +1 -1
- data/templates/Fedora-15-x86_64-netboot/definition.rb +1 -1
- data/templates/Fedora-15-x86_64/definition.rb +1 -1
- data/templates/Fedora-16-i386/definition.rb +1 -1
- data/templates/Fedora-16-x86_64-netboot/definition.rb +1 -1
- data/templates/Fedora-16-x86_64/definition.rb +1 -1
- data/templates/Fedora-17-i386/definition.rb +1 -1
- data/templates/Fedora-17-x86_64/definition.rb +1 -1
- data/templates/Fedora-18-i386/definition.rb +1 -1
- data/templates/Fedora-18-x86_64/definition.rb +1 -1
- data/templates/Fedora-19-i386/definition.rb +1 -1
- data/templates/Fedora-19-x86_64/definition.rb +1 -1
- data/templates/Fedora-20-i386/base.sh +9 -0
- data/templates/Fedora-20-i386/chef.sh +17 -0
- data/templates/Fedora-20-i386/cleanup.sh +6 -0
- data/templates/Fedora-20-i386/definition.rb +39 -0
- data/templates/Fedora-20-i386/ks.cfg +83 -0
- data/templates/Fedora-20-i386/puppet.sh +2 -0
- data/templates/Fedora-20-i386/ruby.sh +3 -0
- data/templates/Fedora-20-i386/vagrant.sh +18 -0
- data/templates/Fedora-20-i386/virtualbox.sh +4 -0
- data/templates/Fedora-20-i386/vmfusion.sh +7 -0
- data/templates/Fedora-20-i386/zerodisk.sh +3 -0
- data/templates/Fedora-20-x86_64/base.sh +9 -0
- data/templates/Fedora-20-x86_64/chef.sh +17 -0
- data/templates/Fedora-20-x86_64/cleanup.sh +6 -0
- data/templates/Fedora-20-x86_64/definition.rb +39 -0
- data/templates/Fedora-20-x86_64/ks.cfg +83 -0
- data/templates/Fedora-20-x86_64/puppet.sh +2 -0
- data/templates/Fedora-20-x86_64/ruby.sh +3 -0
- data/templates/Fedora-20-x86_64/vagrant.sh +18 -0
- data/templates/Fedora-20-x86_64/virtualbox.sh +4 -0
- data/templates/Fedora-20-x86_64/vmfusion.sh +7 -0
- data/templates/Fedora-20-x86_64/zerodisk.sh +3 -0
- data/templates/OSX/definition.rb +13 -1
- data/templates/OSX/prepare_veewee_iso/prepare_veewee_iso.sh +51 -2
- data/templates/OracleLinux-5.10-i386-DVD/base.sh +19 -0
- data/templates/OracleLinux-5.10-i386-DVD/chef.sh +3 -0
- data/templates/OracleLinux-5.10-i386-DVD/cleanup.sh +8 -0
- data/templates/OracleLinux-5.10-i386-DVD/definition.rb +37 -0
- data/templates/OracleLinux-5.10-i386-DVD/ks.cfg +55 -0
- data/templates/OracleLinux-5.10-i386-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-5.10-i386-DVD/puppet.sh +3 -0
- data/templates/OracleLinux-5.10-i386-DVD/ruby.sh +36 -0
- data/templates/OracleLinux-5.10-i386-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-5.10-i386-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-5.10-i386-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/base.sh +19 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/cleanup.sh +8 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/definition.rb +37 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/ks.cfg +55 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/puppet.sh +3 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/ruby.sh +36 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-5.10-x86_64-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-5.9-i386-DVD/base.sh +1 -8
- data/templates/OracleLinux-5.9-i386-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-5.9-i386-DVD/ruby.sh +2 -2
- data/templates/OracleLinux-5.9-x86_64-DVD/base.sh +1 -8
- data/templates/OracleLinux-5.9-x86_64-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-5.9-x86_64-DVD/ruby.sh +2 -2
- data/templates/OracleLinux-6.4-i386-DVD/base.sh +1 -6
- data/templates/OracleLinux-6.4-i386-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-6.4-i386-DVD/puppet.sh +3 -3
- data/templates/OracleLinux-6.4-x86_64-DVD/base.sh +1 -6
- data/templates/OracleLinux-6.4-x86_64-DVD/ks.cfg +21 -1
- data/templates/OracleLinux-6.4-x86_64-DVD/puppet.sh +3 -3
- data/templates/OracleLinux-6.5-i386-DVD/base.sh +20 -0
- data/templates/OracleLinux-6.5-i386-DVD/chef.sh +3 -0
- data/templates/OracleLinux-6.5-i386-DVD/cleanup.sh +9 -0
- data/templates/OracleLinux-6.5-i386-DVD/definition.rb +39 -0
- data/templates/OracleLinux-6.5-i386-DVD/ks.cfg +56 -0
- data/templates/OracleLinux-6.5-i386-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-6.5-i386-DVD/puppet.sh +10 -0
- data/templates/OracleLinux-6.5-i386-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-6.5-i386-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-6.5-i386-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-6.5-i386-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/base.sh +20 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/cleanup.sh +9 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/definition.rb +39 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/ks.cfg +56 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/proxy.sh +6 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/puppet.sh +10 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-6.5-x86_64-DVD/zerodisk.sh +3 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/base.sh +19 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/cleanup.sh +11 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/definition.rb +40 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/ks.cfg +60 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/provision.sh +35 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/proxy.sh +3 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/puppet.sh +15 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/ruby.sh +5 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/vagrant.sh +21 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-7.0-x86_64-DVD/zerodisk.sh +2 -0
- data/templates/SLES-11-SP3-DVD-x86_64-GM/autoinst.xml +2608 -0
- data/templates/SLES-11-SP3-DVD-x86_64-GM/definition.rb +33 -0
- data/templates/SLES-11-SP3-DVD-x86_64-GM/postinstall.sh +52 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/definition.rb +1 -1
- data/templates/VMware-ESXi-5.1-x86_64/definition.rb +1 -1
- data/templates/archlinux-x86_64/aur.sh +2 -2
- data/templates/archlinux-x86_64/base.sh +1 -1
- data/templates/archlinux-x86_64/chef.sh +0 -11
- data/templates/archlinux-x86_64/definition.rb +1 -2
- data/templates/archlinux-x86_64/ruby.sh +2 -18
- data/templates/archlinux-x86_64/vagrant.sh +2 -4
- data/templates/freebsd-10.0-RELEASE-amd64/definition.rb +48 -0
- data/templates/freebsd-10.0-RELEASE-amd64/install.sh +33 -0
- data/templates/freebsd-10.0-RELEASE-amd64/postinstall.csh +125 -0
- data/templates/freebsd-9.1-RELEASE-amd64/definition.rb +1 -1
- data/templates/freebsd-9.1-RELEASE-amd64/install.sh +1 -0
- data/templates/freebsd-9.1-RELEASE-amd64/postinstall.csh +8 -8
- data/templates/freebsd-9.2-RELEASE-amd64/definition.rb +28 -0
- data/templates/freebsd-9.2-RELEASE-amd64/install.sh +66 -0
- data/templates/freebsd-9.2-RELEASE-amd64/postinstall.csh +134 -0
- data/templates/{funtoo-latest-x86_64 → funtoo-stable-x86_64}/definition.rb +5 -3
- data/templates/{funtoo-latest-x86_64 → funtoo-stable-x86_64}/postinstall.sh +78 -89
- data/templates/funtoo-unstable-x86_64/definition.rb +41 -0
- data/templates/funtoo-unstable-x86_64/postinstall.sh +459 -0
- data/templates/gentoo-latest-amd64/add_chef.sh +1 -1
- data/templates/gentoo-latest-amd64/add_puppet.sh +1 -1
- data/templates/gentoo-latest-amd64/cron.sh +1 -1
- data/templates/gentoo-latest-amd64/syslog.sh +1 -1
- data/templates/gentoo-latest-i686/add_chef.sh +1 -1
- data/templates/gentoo-latest-i686/add_puppet.sh +1 -1
- data/templates/gentoo-latest-i686/cron.sh +1 -1
- data/templates/gentoo-latest-i686/syslog.sh +1 -1
- data/templates/netbsd-613-amd64/README +2 -0
- data/templates/netbsd-613-amd64/base.sh +11 -0
- data/templates/netbsd-613-amd64/chef.sh +1 -0
- data/templates/netbsd-613-amd64/definition.rb +103 -0
- data/templates/netbsd-613-amd64/vagrant.sh +14 -0
- data/templates/nixos64/configuration.nix +41 -0
- data/templates/nixos64/definition.rb +50 -0
- data/templates/nixos64/postinstall.sh +28 -0
- data/templates/openSUSE-13.1/autoinst.xml +937 -0
- data/templates/openSUSE-13.1/definition.rb +70 -0
- data/templates/openSUSE-13.1/postinstall.sh +50 -0
- data/templates/openbsd54_amd64/README +28 -0
- data/templates/openbsd54_amd64/base.sh +40 -0
- data/templates/openbsd54_amd64/chef.sh +2 -0
- data/templates/openbsd54_amd64/definition.rb +91 -0
- data/templates/openbsd54_amd64/puppet.sh +3 -0
- data/templates/openbsd54_amd64/ruby.sh +14 -0
- data/templates/openbsd54_amd64/vagrant.sh +27 -0
- data/templates/openbsd54_i386/README +28 -0
- data/templates/openbsd54_i386/base.sh +40 -0
- data/templates/openbsd54_i386/chef.sh +2 -0
- data/templates/openbsd54_i386/definition.rb +91 -0
- data/templates/openbsd54_i386/puppet.sh +3 -0
- data/templates/openbsd54_i386/ruby.sh +14 -0
- data/templates/openbsd54_i386/vagrant.sh +27 -0
- data/templates/openbsd55_amd64/README +28 -0
- data/templates/openbsd55_amd64/base.sh +40 -0
- data/templates/openbsd55_amd64/chef.sh +2 -0
- data/templates/openbsd55_amd64/definition.rb +93 -0
- data/templates/openbsd55_amd64/puppet.sh +3 -0
- data/templates/openbsd55_amd64/ruby.sh +14 -0
- data/templates/openbsd55_amd64/vagrant.sh +27 -0
- data/templates/openbsd55_i386/README +28 -0
- data/templates/openbsd55_i386/base.sh +40 -0
- data/templates/openbsd55_i386/chef.sh +2 -0
- data/templates/openbsd55_i386/definition.rb +93 -0
- data/templates/openbsd55_i386/puppet.sh +3 -0
- data/templates/openbsd55_i386/ruby.sh +14 -0
- data/templates/openbsd55_i386/vagrant.sh +27 -0
- data/templates/openindiana-148-ai-x86/definition.rb +1 -1
- data/templates/openindiana-151a7-text-x86/definition.rb +1 -1
- data/templates/scientificlinux-6.1-i386-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.2-i386-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.3-i386-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/chef.sh +3 -0
- data/templates/scientificlinux-6.4-i386-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.4-x86_64-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.5-i386-netboot/base.sh +14 -0
- data/templates/scientificlinux-6.5-i386-netboot/cfengine.sh +69 -0
- data/templates/scientificlinux-6.5-i386-netboot/chef.sh +4 -0
- data/templates/scientificlinux-6.5-i386-netboot/cleanup.sh +5 -0
- data/templates/scientificlinux-6.5-i386-netboot/definition.rb +40 -0
- data/templates/scientificlinux-6.5-i386-netboot/ks.cfg +41 -0
- data/templates/scientificlinux-6.5-i386-netboot/puppet.sh +18 -0
- data/templates/scientificlinux-6.5-i386-netboot/ruby.sh +3 -0
- data/templates/scientificlinux-6.5-i386-netboot/vagrant.sh +18 -0
- data/templates/scientificlinux-6.5-i386-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.5-i386-netboot/zerodisk.sh +3 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/base.sh +14 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/cfengine.sh +69 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/chef.sh +4 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/cleanup.sh +5 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/definition.rb +40 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/ks.cfg +41 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/puppet.sh +18 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/ruby.sh +3 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/vagrant.sh +18 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.5-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/solaris-10-ga-x86/README.md +5 -7
- data/templates/solaris-10-ga-x86/chef.sh +3 -6
- data/templates/solaris-10-ga-x86/cleanup.sh +1 -1
- data/templates/solaris-10-ga-x86/definition.rb +4 -3
- data/templates/solaris-10-ga-x86/postinstall.sh +6 -2
- data/templates/solaris-11-express-i386/definition.rb +1 -1
- data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.04.3-server-amd64-alt/definition.rb +1 -1
- data/templates/ubuntu-10.04.3-server-amd64-alt/postinstall.sh +6 -0
- data/templates/ubuntu-10.04.3-server-amd64/base.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/chef.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.3-server-amd64/puppet.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/ruby.sh +8 -1
- data/templates/ubuntu-10.04.3-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.3-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.3-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/ruby.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64-netboot/zerodisk.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-amd64/zerodisk.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/ruby.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386-netboot/zerodisk.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/base.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/chef.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/cleanup.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/puppet.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/ruby.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/vagrant.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/virtualbox.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/vmfusion.sh +7 -0
- data/templates/ubuntu-10.04.4-server-i386/zerodisk.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/base.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/chef.sh +8 -1
- data/templates/ubuntu-10.10-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/puppet.sh +8 -1
- data/templates/ubuntu-10.10-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-10.10-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-10.10-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/apt-upgrade.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/network-cleanup.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/nfs-client.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/remove-build-essentials.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/ssh-keys.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/sudo.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/timestamp.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/vbox_additions.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/zero-disk.sh +7 -0
- data/templates/ubuntu-11.04-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64-ishaya/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64-ruby192/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64-rvm/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-11.10-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-i386-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.1-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-desktop-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/base.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/virtualbox.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/vmfusion.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/vmtools.sh +7 -0
- data/templates/ubuntu-12.04.2-server-amd64/zerodisk.sh +7 -0
- data/templates/ubuntu-12.04.2-server-i386-netboot/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-i386-packages/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.2-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-12.04.3-server-amd64/base.sh +1 -0
- data/templates/ubuntu-12.04.3-server-i386/apt.sh +1 -0
- data/templates/ubuntu-12.04.4-server-amd64/apt.sh +8 -0
- data/templates/ubuntu-12.04.4-server-amd64/build_time.sh +1 -0
- data/templates/ubuntu-12.04.4-server-amd64/chef.sh +3 -0
- data/templates/ubuntu-12.04.4-server-amd64/cleanup.sh +16 -0
- data/templates/ubuntu-12.04.4-server-amd64/definition.rb +45 -0
- data/templates/ubuntu-12.04.4-server-amd64/preseed.cfg +61 -0
- data/templates/ubuntu-12.04.4-server-amd64/puppet.sh +4 -0
- data/templates/ubuntu-12.04.4-server-amd64/ruby.sh +25 -0
- data/templates/ubuntu-12.04.4-server-amd64/sudo.sh +5 -0
- data/templates/ubuntu-12.04.4-server-amd64/vagrant.sh +6 -0
- data/templates/ubuntu-12.04.4-server-amd64/vbox.sh +18 -0
- data/templates/ubuntu-12.04.4-server-i386/apt.sh +8 -0
- data/templates/ubuntu-12.04.4-server-i386/build_time.sh +1 -0
- data/templates/ubuntu-12.04.4-server-i386/chef.sh +3 -0
- data/templates/ubuntu-12.04.4-server-i386/cleanup.sh +16 -0
- data/templates/ubuntu-12.04.4-server-i386/definition.rb +45 -0
- data/templates/ubuntu-12.04.4-server-i386/preseed.cfg +61 -0
- data/templates/ubuntu-12.04.4-server-i386/puppet.sh +4 -0
- data/templates/ubuntu-12.04.4-server-i386/ruby.sh +25 -0
- data/templates/ubuntu-12.04.4-server-i386/sudo.sh +5 -0
- data/templates/ubuntu-12.04.4-server-i386/vagrant.sh +6 -0
- data/templates/ubuntu-12.04.4-server-i386/vbox.sh +18 -0
- data/templates/ubuntu-12.10-desktop-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.10-server-amd64-packages/base.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/chef.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/cleanup.sh +7 -0
- data/templates/ubuntu-12.10-server-amd64-packages/puppet.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/ruby.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/vagrant.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/virtualbox.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64-packages/zerodisk.sh +2 -0
- data/templates/ubuntu-12.10-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-12.10-server-i386-packages/base.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/chef.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/cleanup.sh +7 -0
- data/templates/ubuntu-12.10-server-i386-packages/puppet.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/ruby.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/vagrant.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/virtualbox.sh +2 -0
- data/templates/ubuntu-12.10-server-i386-packages/zerodisk.sh +2 -0
- data/templates/ubuntu-12.10-server-i386/postinstall.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/apt.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/build_time.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/chef.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/puppet.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/rvm.sh +8 -1
- data/templates/ubuntu-13.04-server-amd64-rvm/sudo.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/vagrant.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64-rvm/vbox.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/apt.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/build_time.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/chef.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/cleanup.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/puppet.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/ruby.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/sudo.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/vagrant.sh +7 -0
- data/templates/ubuntu-13.04-server-amd64/vbox.sh +7 -0
- data/templates/ubuntu-14.04-server-amd64/apt.sh +7 -0
- data/templates/ubuntu-14.04-server-amd64/build_time.sh +1 -0
- data/templates/ubuntu-14.04-server-amd64/chef.sh +3 -0
- data/templates/ubuntu-14.04-server-amd64/cleanup.sh +16 -0
- data/templates/ubuntu-14.04-server-amd64/definition.rb +46 -0
- data/templates/ubuntu-14.04-server-amd64/parallels.sh +9 -0
- data/templates/ubuntu-14.04-server-amd64/preseed.cfg +61 -0
- data/templates/ubuntu-14.04-server-amd64/puppet.sh +4 -0
- data/templates/ubuntu-14.04-server-amd64/ruby.sh +25 -0
- data/templates/ubuntu-14.04-server-amd64/sudo.sh +5 -0
- data/templates/ubuntu-14.04-server-amd64/vagrant.sh +6 -0
- data/templates/ubuntu-14.04-server-amd64/vbox.sh +22 -0
- data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +7 -0
- data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +7 -0
- data/templates/windows-2008R1-serverweb-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-2008R1-serverweb-i386/install-vbox-guest.bat +7 -2
- data/templates/windows-2008R1-serverwebcore-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat +6 -1
- data/templates/windows-2008R2-serverweb-amd64/install-vbox-guest.bat +8 -2
- data/templates/windows-2008R2-serverwebcore-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-2012-serverstandard-amd64/install-vbox.bat +5 -1
- data/templates/windows-2012R2-serverdatacenter-amd64/install-vbox.bat +5 -1
- data/templates/windows-7-enterprise-amd64-winrm/install-vbox.bat +6 -3
- data/templates/windows-7-enterprise-amd64/install-vbox-guest.bat +7 -2
- data/templates/windows-7-enterprise-i386/definition.rb +1 -1
- data/templates/windows-7-enterprise-i386/install-winrm.bat +4 -0
- data/templates/windows-7-enterprise-i386/postinstall.sh +1 -1
- data/templates/windows-8-amd64/definition.rb +3 -3
- data/veewee.gemspec +2 -0
- metadata +462 -45
- data/templates/archlinux-x86_64/basedevel.sh +0 -6
- data/templates/funtoo-latest-generic_64-stable/definition.rb +0 -34
- data/templates/funtoo-latest-generic_64-stable/postinstall.sh +0 -177
- data/templates/funtoo-latest-generic_64-stable/postinstall2.sh +0 -83
@@ -1,34 +0,0 @@
|
|
1
|
-
Veewee::Session.declare( {
|
2
|
-
:cpu_count => '8', :memory_size=> '1536',
|
3
|
-
:disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
|
4
|
-
:os_type_id => 'Gentoo_64', # Funtoo is a GIT based gentoo derivative
|
5
|
-
:iso_file => "install-amd64-minimal-20111208.iso",
|
6
|
-
:iso_src => "http://ftp.osuosl.org/pub/gentoo/releases/amd64/autobuilds/20111208/install-amd64-minimal-20111208.iso",
|
7
|
-
:iso_md5 => "8c4e10aaaa7cce35503c0d23b4e0a42a",
|
8
|
-
:iso_download_timeout => "1000",
|
9
|
-
:boot_wait => "4",
|
10
|
-
:boot_cmd_sequence => [
|
11
|
-
'<Wait>'*4,
|
12
|
-
'gentoo-nofb<Enter>', # boot gentoo no frame buffer mode option
|
13
|
-
'<Wait>'*45,
|
14
|
-
'<Enter>', # asks about your keyboard, take the default
|
15
|
-
'<Wait>'*45,
|
16
|
-
'<Enter><Wait>', # just in case we are out of sync
|
17
|
-
'net-setup eth0<Enter>',
|
18
|
-
'<Wait><Enter>',
|
19
|
-
'2<Enter>', # Set up the NIC card with DHCP
|
20
|
-
'1<Enter>',
|
21
|
-
'<Wait><Wait>ifconfig -a <Enter>',
|
22
|
-
'passwd<Enter><Wait><Wait>',
|
23
|
-
'vagrant<Enter><Wait>',
|
24
|
-
'vagrant<Enter><Wait>',
|
25
|
-
'/etc/init.d/sshd start<Enter><Wait><Wait>'
|
26
|
-
],
|
27
|
-
:kickstart_port => "7122", :kickstart_timeout => "10000",:kickstart_file => "",
|
28
|
-
:ssh_login_timeout => "10000",:ssh_user => "root", :ssh_password => "vagrant",:ssh_key => "",
|
29
|
-
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
30
|
-
:sudo_cmd => "cat '%f'|su -",
|
31
|
-
:shutdown_cmd => "shutdown -p now",
|
32
|
-
:postinstall_files => [ "postinstall.sh", "postinstall2.sh" ], :postinstall_timeout => "15000"
|
33
|
-
}
|
34
|
-
)
|
@@ -1,177 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
date > /etc/vagrant_box_build_time
|
4
|
-
|
5
|
-
#Based on http://www.funtoo.org/wiki/Funtoo_Linux_Installation
|
6
|
-
|
7
|
-
#Partition the disk
|
8
|
-
# Gentoo live CD were using doesn't have gdisk and it looks
|
9
|
-
# to be interactive like fdisk. sfdisk is scritable but has issues.
|
10
|
-
#
|
11
|
-
# If you adjust, best to read this
|
12
|
-
# http://www.spinics.net/lists/util-linux-ng/msg03406.html
|
13
|
-
#
|
14
|
-
# Basically, all partitioning programs are wonky, sfdisk is scriptable, but likes
|
15
|
-
# to keeps things too tight skipping post-MBR spacing and "grub-install" fails later.
|
16
|
-
# Take the advice of the email and partition your drive with fdisk and dump it with
|
17
|
-
#
|
18
|
-
# sfdisk -uS -d /dev/sda
|
19
|
-
#
|
20
|
-
# and plug those values into the script. The --force by sector will get
|
21
|
-
# you what fdisk layed out and gets something grub-install can deal with. fun...
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#/boot -> /dev/sda1 200M, left 2Meg of space for grub-install
|
25
|
-
#swap -> /dev/sda2 1.5G
|
26
|
-
#root -> /dev/sda3 Rest of space and bootable
|
27
|
-
|
28
|
-
sfdisk --force -uS /dev/sda <<EOF
|
29
|
-
4096,409600,L
|
30
|
-
413696,3072000,S
|
31
|
-
3485696,17281024,L,*
|
32
|
-
EOF
|
33
|
-
|
34
|
-
sleep 2
|
35
|
-
|
36
|
-
#Format the /boot
|
37
|
-
mke2fs -t ext2 /dev/sda1
|
38
|
-
|
39
|
-
#Main partition /
|
40
|
-
mke2fs -t ext4 /dev/sda3
|
41
|
-
|
42
|
-
#Format the swap and use it
|
43
|
-
mkswap /dev/sda2
|
44
|
-
swapon /dev/sda2
|
45
|
-
|
46
|
-
#Mount the new disk
|
47
|
-
mkdir /mnt/funtoo
|
48
|
-
mount /dev/sda3 /mnt/funtoo
|
49
|
-
mkdir /mnt/funtoo/boot
|
50
|
-
mount /dev/sda1 /mnt/funtoo/boot
|
51
|
-
cd /mnt/funtoo
|
52
|
-
|
53
|
-
#Note: we retry as sometimes mirrors fail to have the files
|
54
|
-
#Download a stage3 archive
|
55
|
-
wget --tries=5 http://ftp.osuosl.org/pub/funtoo/funtoo-stable/x86-64bit/generic_64/stage3-current.tar.xz
|
56
|
-
tar xpf stage3*
|
57
|
-
|
58
|
-
#Chroot
|
59
|
-
mount --bind /proc ./proc
|
60
|
-
mount --bind /dev ./dev
|
61
|
-
cp /etc/resolv.conf /mnt/funtoo/etc/
|
62
|
-
chroot /mnt/funtoo env-update
|
63
|
-
|
64
|
-
# git installed from stage3 tarball
|
65
|
-
chroot /mnt/funtoo emerge --sync
|
66
|
-
|
67
|
-
# California dreamin
|
68
|
-
cd /mnt/funtoo/etc
|
69
|
-
rm -f localtime
|
70
|
-
ln -s ../usr/share/zoneinfo/America/Los_Angeles localtime
|
71
|
-
cd /mnt/funtoo
|
72
|
-
|
73
|
-
# get fstab defined
|
74
|
-
cat <<FSTABEOF > /mnt/funtoo/etc/fstab
|
75
|
-
# The root filesystem should have a pass number of either 0 or 1.
|
76
|
-
# All other filesystems should have a pass number of 0 or greater than 1.
|
77
|
-
#
|
78
|
-
# See the manpage fstab(5) for more information.
|
79
|
-
#
|
80
|
-
# <fs> <mountpoint> <type> <opts> <dump/pass>
|
81
|
-
|
82
|
-
/dev/sda1 /boot ext2 noauto,noatime 1 2
|
83
|
-
/dev/sda2 none swap sw 0 0
|
84
|
-
/dev/sda3 / ext4 noatime 0 1
|
85
|
-
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
|
86
|
-
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
87
|
-
FSTABEOF
|
88
|
-
|
89
|
-
# dhcp
|
90
|
-
chroot /mnt/funtoo rc-update add dhcpcd default
|
91
|
-
|
92
|
-
# Get the kernel sources
|
93
|
-
echo 'MAKEOPTS="-j9"' >> /mnt/funtoo/etc/make.conf
|
94
|
-
#echo 'MAKEOPTS="-j9"' >> /mnt/funtoo/etc/genkernel.conf
|
95
|
-
echo "sys-kernel/sysrescue-std-sources binary" >> /mnt/funtoo/etc/portage/package.use
|
96
|
-
echo "app-emulation/virtualbox-guest-additions" >> /mnt/funtoo/etc/portage/package.keywords
|
97
|
-
echo 'MAKEOPTS="-j9" emerge sysrescue-std-sources' | chroot /mnt/funtoo /bin/bash -
|
98
|
-
|
99
|
-
# Make the disk bootable
|
100
|
-
chroot /mnt/funtoo emerge boot-update
|
101
|
-
|
102
|
-
cat <<GRUBCONF > ./etc/boot.conf
|
103
|
-
boot {
|
104
|
-
generate grub
|
105
|
-
default "Funtoo Linux genkernel"
|
106
|
-
timeout 3
|
107
|
-
}
|
108
|
-
|
109
|
-
"Funtoo Linux" {
|
110
|
-
kernel bzImage[-v]
|
111
|
-
# params += nomodeset
|
112
|
-
}
|
113
|
-
|
114
|
-
"Funtoo Linux genkernel" {
|
115
|
-
kernel kernel[-v]
|
116
|
-
initrd initramfs[-v]
|
117
|
-
params += real_root=auto
|
118
|
-
# params += nomodeset
|
119
|
-
}
|
120
|
-
GRUBCONF
|
121
|
-
|
122
|
-
chroot /mnt/funtoo grub-install --no-floppy /dev/sda
|
123
|
-
chroot /mnt/funtoo boot-update
|
124
|
-
|
125
|
-
#Root password, needed since we're a two step installation
|
126
|
-
chroot /mnt/funtoo /bin/bash <<ENDCHROOT
|
127
|
-
passwd<<EOF
|
128
|
-
vagrant
|
129
|
-
vagrant
|
130
|
-
EOF
|
131
|
-
ENDCHROOT
|
132
|
-
|
133
|
-
#create vagrant user with password set to vagrant
|
134
|
-
chroot /mnt/funtoo groupadd -r vagrant
|
135
|
-
chroot /mnt/funtoo groupadd rvm
|
136
|
-
chroot /mnt/funtoo useradd -m -r vagrant -g vagrant -G wheel,rvm -p '$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1' -c "Added by vagrant, veewee basebox creation"
|
137
|
-
chroot /mnt/funtoo rc-update add sshd default
|
138
|
-
|
139
|
-
#Allow external ssh
|
140
|
-
echo 'sshd:ALL' > /mnt/funtoo/etc/hosts.allow
|
141
|
-
echo 'ALL:ALL' > /mnt/funtoo/etc/hosts.deny
|
142
|
-
|
143
|
-
#Configure Sudo
|
144
|
-
chroot /mnt/funtoo emerge -u sudo
|
145
|
-
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' >> /mnt/funtoo/etc/sudoers
|
146
|
-
|
147
|
-
|
148
|
-
#Installing vagrant keys
|
149
|
-
chroot /mnt/funtoo emerge -u wget
|
150
|
-
|
151
|
-
echo "creating vagrant ssh keys"
|
152
|
-
VAGRANTID=$(grep vagrant /mnt/funtoo/etc/passwd | cut -d ":" -f 3,4)
|
153
|
-
mkdir /mnt/funtoo/home/vagrant/.ssh
|
154
|
-
chmod 700 /mnt/funtoo/home/vagrant/.ssh
|
155
|
-
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /mnt/funtoo/home/vagrant/.ssh/authorized_keys
|
156
|
-
chmod 600 /mnt/funtoo/home/vagrant/.ssh/authorized_keys
|
157
|
-
chown -R ${VAGRANTID} /mnt/funtoo/home/vagrant/.ssh
|
158
|
-
|
159
|
-
/bin/cp -f /root/.vbox_version /mnt/funtoo/home/vagrant/.vbox_version
|
160
|
-
/bin/cp -f /etc/vagrant_box_build_time /mnt/funtoo/etc/vagrant_box_build_time
|
161
|
-
chown -R ${VAGRANTID} /mnt/funtoo/home/vagrant/.vbox_version
|
162
|
-
|
163
|
-
# veewee validate uses password authentication
|
164
|
-
sed -i -e 's:PasswordAuthentication no:PasswordAuthentication yes:' /mnt/funtoo/etc/ssh/sshd_config
|
165
|
-
|
166
|
-
#Get an editor going
|
167
|
-
chroot /mnt/funtoo emerge -u vim
|
168
|
-
echo "EDITOR=/usr/bin/vim" > /mnt/funtoo/etc/env.d/99editor
|
169
|
-
chroot /mnt/funtoo env-update
|
170
|
-
|
171
|
-
|
172
|
-
cd /
|
173
|
-
/etc/rc.d/network stop
|
174
|
-
umount /mnt/funtoo/{boot,proc,dev}
|
175
|
-
umount /mnt/funtoo
|
176
|
-
|
177
|
-
reboot
|
@@ -1,83 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# Wanted multi-user RVM (ruby version manager) setup. It got really hacky.
|
4
|
-
# Couldn't get the su command to work in the chroot so split the install into two
|
5
|
-
# phases, one in chroot, and the second phase in the installed kernel.
|
6
|
-
# Ruby's RVM needs to be installed by a user not root for multi-user use.
|
7
|
-
# All this would go away in single user install of RVM
|
8
|
-
|
9
|
-
# A bit better security, but still your root and vagrant accounts are wide open!
|
10
|
-
echo -e "PermitRootLogin no\nAllowUsers vagrant" >> /etc/ssh/sshd_config
|
11
|
-
|
12
|
-
# Cron & Syslog
|
13
|
-
emerge -u --oneshot metalog vixie-cron
|
14
|
-
rc-update add metalog default
|
15
|
-
rc-update add vixie-cron default
|
16
|
-
|
17
|
-
#Kernel headers
|
18
|
-
emerge -u --oneshot sys-kernel/linux-headers
|
19
|
-
|
20
|
-
#Installing the virtualbox guest additions
|
21
|
-
emerge app-emulation/virtualbox-guest-additions
|
22
|
-
rc-update add virtualbox-guest-additions default
|
23
|
-
|
24
|
-
# Get ruby and rvm all setup...
|
25
|
-
emerge -u --oneshot git curl gcc automake autoconf m4
|
26
|
-
emerge -u --oneshot libiconv readline zlib openssl libyaml sqlite libxslt
|
27
|
-
|
28
|
-
# Clean up portage
|
29
|
-
rm -rf /usr/portage/distfiles/*
|
30
|
-
rm /stage3*.tar.xz
|
31
|
-
|
32
|
-
# What a PITA, wanted to get a shared RVM setup, but that can't be installed by root
|
33
|
-
# Starting to feel like a matryoshka doll...
|
34
|
-
# Setup so you can SSH into the vagrant account
|
35
|
-
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant' -O /tmp/sshkey
|
36
|
-
chmod 600 /tmp/sshkey
|
37
|
-
|
38
|
-
cat <<SSHCONF > /tmp/sshvagrant
|
39
|
-
Host me
|
40
|
-
HostName 127.0.0.1
|
41
|
-
User vagrant
|
42
|
-
Port 22
|
43
|
-
UserKnownHostsFile /dev/null
|
44
|
-
StrictHostKeyChecking no
|
45
|
-
PasswordAuthentication no
|
46
|
-
IdentityFile /tmp/sshkey
|
47
|
-
IdentitiesOnly yes
|
48
|
-
SSHCONF
|
49
|
-
|
50
|
-
cat <<GEMINST > /tmp/sshgems
|
51
|
-
echo -e "\n***\n*** My id is yuck ***\n***\n"
|
52
|
-
|
53
|
-
# Lots of problems if you install as root so we'll use sudo like to docs describe
|
54
|
-
sudo bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
|
55
|
-
sudo env-update
|
56
|
-
source /etc/profile
|
57
|
-
|
58
|
-
# Install ruby and gems into rvm
|
59
|
-
rvm install 1.8.7
|
60
|
-
rvm use 1.8.7 --default
|
61
|
-
rvm gemset create global
|
62
|
-
rvm use @global
|
63
|
-
|
64
|
-
#Installing chef & puppet
|
65
|
-
gem install chef
|
66
|
-
gem install puppet
|
67
|
-
|
68
|
-
# Cleanup
|
69
|
-
sudo chmod 655 /tmp/sshkey
|
70
|
-
sudo rm /tmp/ssh*
|
71
|
-
|
72
|
-
echo -e "\n***\n*** Chef and Puppet installed in RVM ***\n***\n"
|
73
|
-
GEMINST
|
74
|
-
|
75
|
-
chmod 755 /tmp/sshgems
|
76
|
-
sed -i -e 's,yuck,$(id),' /tmp/sshgems
|
77
|
-
ssh -F /tmp/sshvagrant me /tmp/sshgems
|
78
|
-
|
79
|
-
# Sometimes you don't get out of the SSH session. Think the EOF bails out both
|
80
|
-
# the ssh login with the vagrant account and the veewee login with the root
|
81
|
-
# account. So we put the RVM stuff last and its no issue.
|
82
|
-
|
83
|
-
echo -e "\n***\n*** SURVIVED SSH EOF! ***\n***\n"
|