veewee-atlassian 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rvmrc +5 -0
- data/CONTRIBUTE.md +37 -0
- data/Gemfile +19 -0
- data/License +21 -0
- data/README.md +47 -0
- data/Rakefile +129 -0
- data/bin/veewee +27 -0
- data/doc/TODO +60 -0
- data/doc/customize.md +152 -0
- data/doc/definition.md +165 -0
- data/doc/fusion.md +2 -0
- data/doc/installation.md +44 -0
- data/doc/kvm.md +91 -0
- data/doc/providers.md +44 -0
- data/doc/requirements.md +36 -0
- data/doc/running.md +67 -0
- data/doc/vagrant.md +48 -0
- data/doc/vbox.md +2 -0
- data/lib/fission.rb +39 -0
- data/lib/fission/config.rb +76 -0
- data/lib/java/README.txt +5 -0
- data/lib/java/dir2floppy.jar +0 -0
- data/lib/java/dir2floppy.java +137 -0
- data/lib/net/vnc/vnc.rb +341 -0
- data/lib/python/parallels_sdk_check.py +19 -0
- data/lib/python/parallels_send_key.py +73 -0
- data/lib/python/parallels_send_string.py +76 -0
- data/lib/vagrant_init.rb +8 -0
- data/lib/veewee.rb +23 -0
- data/lib/veewee/cli.rb +55 -0
- data/lib/veewee/command.rb +15 -0
- data/lib/veewee/command/base.rb +106 -0
- data/lib/veewee/command/fusion.rb +170 -0
- data/lib/veewee/command/group_base.rb +108 -0
- data/lib/veewee/command/helpers.rb +13 -0
- data/lib/veewee/command/kvm.rb +130 -0
- data/lib/veewee/command/named_base.rb +14 -0
- data/lib/veewee/command/parallels.rb +126 -0
- data/lib/veewee/command/vagrant.rb +4 -0
- data/lib/veewee/command/vagrant/basebox.rb +88 -0
- data/lib/veewee/command/vagrant/build.rb +67 -0
- data/lib/veewee/command/vagrant/define.rb +48 -0
- data/lib/veewee/command/vagrant/destroy.rb +47 -0
- data/lib/veewee/command/vagrant/export.rb +54 -0
- data/lib/veewee/command/vagrant/halt.rb +43 -0
- data/lib/veewee/command/vagrant/list.rb +38 -0
- data/lib/veewee/command/vagrant/ostypes.rb +38 -0
- data/lib/veewee/command/vagrant/screenshot.rb +45 -0
- data/lib/veewee/command/vagrant/ssh.rb +38 -0
- data/lib/veewee/command/vagrant/templates.rb +39 -0
- data/lib/veewee/command/vagrant/undefine.rb +41 -0
- data/lib/veewee/command/vagrant/up.rb +44 -0
- data/lib/veewee/command/vagrant/validate.rb +46 -0
- data/lib/veewee/command/vagrant/winrm.rb +39 -0
- data/lib/veewee/command/vbox.rb +171 -0
- data/lib/veewee/command/version.rb +13 -0
- data/lib/veewee/config.rb +61 -0
- data/lib/veewee/config/collection.rb +82 -0
- data/lib/veewee/config/component.rb +19 -0
- data/lib/veewee/config/definition.rb +44 -0
- data/lib/veewee/config/ostypes.yml +340 -0
- data/lib/veewee/config/veewee.rb +21 -0
- data/lib/veewee/config/vmfusion-ostypes.txt +1 -0
- data/lib/veewee/definition.rb +231 -0
- data/lib/veewee/definitions.rb +172 -0
- data/lib/veewee/environment.rb +213 -0
- data/lib/veewee/error.rb +38 -0
- data/lib/veewee/provider/core/box.rb +104 -0
- data/lib/veewee/provider/core/box/build.rb +287 -0
- data/lib/veewee/provider/core/box/copy.rb +17 -0
- data/lib/veewee/provider/core/box/exec.rb +53 -0
- data/lib/veewee/provider/core/box/floppy.rb +32 -0
- data/lib/veewee/provider/core/box/halt.rb +28 -0
- data/lib/veewee/provider/core/box/issh.rb +15 -0
- data/lib/veewee/provider/core/box/poweroff.rb +12 -0
- data/lib/veewee/provider/core/box/scp.rb +29 -0
- data/lib/veewee/provider/core/box/ssh.rb +95 -0
- data/lib/veewee/provider/core/box/sudo.rb +21 -0
- data/lib/veewee/provider/core/box/validate_tags.rb +64 -0
- data/lib/veewee/provider/core/box/vnc.rb +122 -0
- data/lib/veewee/provider/core/box/wincp.rb +120 -0
- data/lib/veewee/provider/core/box/winrm.rb +59 -0
- data/lib/veewee/provider/core/helper/comm.rb +47 -0
- data/lib/veewee/provider/core/helper/iso.rb +162 -0
- data/lib/veewee/provider/core/helper/scancode.rb +97 -0
- data/lib/veewee/provider/core/helper/shell.rb +56 -0
- data/lib/veewee/provider/core/helper/ssh.rb +165 -0
- data/lib/veewee/provider/core/helper/tcp.rb +102 -0
- data/lib/veewee/provider/core/helper/web.rb +83 -0
- data/lib/veewee/provider/core/helper/winrm.rb +167 -0
- data/lib/veewee/provider/core/provider.rb +85 -0
- data/lib/veewee/provider/core/provider/transaction.rb +25 -0
- data/lib/veewee/provider/core/provider/tunnel.rb +46 -0
- data/lib/veewee/provider/kvm/box.rb +47 -0
- data/lib/veewee/provider/kvm/box/build.rb +11 -0
- data/lib/veewee/provider/kvm/box/create.rb +184 -0
- data/lib/veewee/provider/kvm/box/destroy.rb +32 -0
- data/lib/veewee/provider/kvm/box/halt.rb +19 -0
- data/lib/veewee/provider/kvm/box/helper/console_type.rb +20 -0
- data/lib/veewee/provider/kvm/box/helper/ip.rb +14 -0
- data/lib/veewee/provider/kvm/box/helper/ssh_options.rb +19 -0
- data/lib/veewee/provider/kvm/box/helper/status.rb +32 -0
- data/lib/veewee/provider/kvm/box/poweroff.rb +14 -0
- data/lib/veewee/provider/kvm/box/up.rb +14 -0
- data/lib/veewee/provider/kvm/box/validate_kvm.rb +15 -0
- data/lib/veewee/provider/kvm/provider.rb +62 -0
- data/lib/veewee/provider/parallels/box.rb +35 -0
- data/lib/veewee/provider/parallels/box/build.rb +13 -0
- data/lib/veewee/provider/parallels/box/create.rb +63 -0
- data/lib/veewee/provider/parallels/box/destroy.rb +23 -0
- data/lib/veewee/provider/parallels/box/halt.rb +14 -0
- data/lib/veewee/provider/parallels/box/helper/buildinfo.rb +45 -0
- data/lib/veewee/provider/parallels/box/helper/console_type.rb +181 -0
- data/lib/veewee/provider/parallels/box/helper/ip.rb +23 -0
- data/lib/veewee/provider/parallels/box/helper/ssh_options.rb +20 -0
- data/lib/veewee/provider/parallels/box/helper/status.rb +28 -0
- data/lib/veewee/provider/parallels/box/poweroff.rb +14 -0
- data/lib/veewee/provider/parallels/box/ssh.rb +12 -0
- data/lib/veewee/provider/parallels/box/up.rb +15 -0
- data/lib/veewee/provider/parallels/box/validate_parallels.rb +13 -0
- data/lib/veewee/provider/parallels/notes/parallels-sdk.txt +116 -0
- data/lib/veewee/provider/parallels/provider.rb +33 -0
- data/lib/veewee/provider/virtualbox/box.rb +48 -0
- data/lib/veewee/provider/virtualbox/box/build.rb +23 -0
- data/lib/veewee/provider/virtualbox/box/create.rb +78 -0
- data/lib/veewee/provider/virtualbox/box/destroy.rb +64 -0
- data/lib/veewee/provider/virtualbox/box/export_vagrant.rb +100 -0
- data/lib/veewee/provider/virtualbox/box/halt.rb +13 -0
- data/lib/veewee/provider/virtualbox/box/helper/buildinfo.rb +28 -0
- data/lib/veewee/provider/virtualbox/box/helper/console_type.rb +62 -0
- data/lib/veewee/provider/virtualbox/box/helper/create.rb +200 -0
- data/lib/veewee/provider/virtualbox/box/helper/forwarding.rb +38 -0
- data/lib/veewee/provider/virtualbox/box/helper/guest_additions.rb +16 -0
- data/lib/veewee/provider/virtualbox/box/helper/ip.rb +19 -0
- data/lib/veewee/provider/virtualbox/box/helper/natinterface.rb +17 -0
- data/lib/veewee/provider/virtualbox/box/helper/ssh_options.rb +28 -0
- data/lib/veewee/provider/virtualbox/box/helper/status.rb +29 -0
- data/lib/veewee/provider/virtualbox/box/helper/version.rb +28 -0
- data/lib/veewee/provider/virtualbox/box/helper/winrm_options.rb +31 -0
- data/lib/veewee/provider/virtualbox/box/poweroff.rb +19 -0
- data/lib/veewee/provider/virtualbox/box/screenshot.rb +24 -0
- data/lib/veewee/provider/virtualbox/box/ssh.rb +13 -0
- data/lib/veewee/provider/virtualbox/box/up.rb +68 -0
- data/lib/veewee/provider/virtualbox/box/validate_vagrant.rb +13 -0
- data/lib/veewee/provider/virtualbox/box/winrm.rb +13 -0
- data/lib/veewee/provider/virtualbox/provider.rb +19 -0
- data/lib/veewee/provider/vmfusion/box.rb +61 -0
- data/lib/veewee/provider/vmfusion/box/add_share.rb +18 -0
- data/lib/veewee/provider/vmfusion/box/build.rb +15 -0
- data/lib/veewee/provider/vmfusion/box/create.rb +64 -0
- data/lib/veewee/provider/vmfusion/box/destroy.rb +19 -0
- data/lib/veewee/provider/vmfusion/box/export_ova.rb +49 -0
- data/lib/veewee/provider/vmfusion/box/halt.rb +13 -0
- data/lib/veewee/provider/vmfusion/box/helper/buildinfo.rb +62 -0
- data/lib/veewee/provider/vmfusion/box/helper/console_type.rb +18 -0
- data/lib/veewee/provider/vmfusion/box/helper/ip.rb +64 -0
- data/lib/veewee/provider/vmfusion/box/helper/ssh_options.rb +20 -0
- data/lib/veewee/provider/vmfusion/box/helper/status.rb +20 -0
- data/lib/veewee/provider/vmfusion/box/helper/vnc.rb +61 -0
- data/lib/veewee/provider/vmfusion/box/helper/winrm_options.rb +21 -0
- data/lib/veewee/provider/vmfusion/box/poweroff.rb +13 -0
- data/lib/veewee/provider/vmfusion/box/ssh.rb +12 -0
- data/lib/veewee/provider/vmfusion/box/template.rb +61 -0
- data/lib/veewee/provider/vmfusion/box/template.vmx.erb +91 -0
- data/lib/veewee/provider/vmfusion/box/up.rb +18 -0
- data/lib/veewee/provider/vmfusion/box/validate_vmfusion.rb +13 -0
- data/lib/veewee/provider/vmfusion/box/winrm.rb +12 -0
- data/lib/veewee/provider/vmfusion/info/export_ovf.info +103 -0
- data/lib/veewee/provider/vmfusion/provider.rb +43 -0
- data/lib/veewee/providers.rb +32 -0
- data/lib/veewee/template.rb +26 -0
- data/lib/veewee/templates.rb +69 -0
- data/lib/veewee/templates/locales/en.yml +30 -0
- data/lib/veewee/ui.rb +87 -0
- data/lib/veewee/version.rb +8 -0
- data/templates/CentOS-4.8-i386/definition.rb +14 -0
- data/templates/CentOS-4.8-i386/ks.cfg +45 -0
- data/templates/CentOS-4.8-i386/postinstall.sh +55 -0
- data/templates/CentOS-5.5-i386-netboot/definition.rb +16 -0
- data/templates/CentOS-5.5-i386-netboot/ks.cfg +46 -0
- data/templates/CentOS-5.5-i386-netboot/postinstall.sh +60 -0
- data/templates/CentOS-5.5-x86_64-netboot/definition.rb +16 -0
- data/templates/CentOS-5.5-x86_64-netboot/ks.cfg +46 -0
- data/templates/CentOS-5.5-x86_64-netboot/postinstall.sh +61 -0
- data/templates/CentOS-5.6-i386-netboot/definition.rb +16 -0
- data/templates/CentOS-5.6-i386-netboot/ks.cfg +45 -0
- data/templates/CentOS-5.6-i386-netboot/postinstall.sh +64 -0
- data/templates/CentOS-5.6-i386/definition.rb +17 -0
- data/templates/CentOS-5.6-i386/ks.cfg +45 -0
- data/templates/CentOS-5.6-i386/postinstall.sh +50 -0
- data/templates/CentOS-5.6-x86_64-netboot-packages/definition.rb +16 -0
- data/templates/CentOS-5.6-x86_64-netboot-packages/ks.cfg +47 -0
- data/templates/CentOS-5.6-x86_64-netboot-packages/postinstall.sh +61 -0
- data/templates/CentOS-5.6-x86_64-netboot/definition.rb +16 -0
- data/templates/CentOS-5.6-x86_64-netboot/ks.cfg +45 -0
- data/templates/CentOS-5.6-x86_64-netboot/postinstall.sh +61 -0
- data/templates/CentOS-5.7-i386-netboot/definition.rb +16 -0
- data/templates/CentOS-5.7-i386-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.7-i386-netboot/postinstall.sh +53 -0
- data/templates/CentOS-5.7-x86_64-netboot/definition.rb +16 -0
- data/templates/CentOS-5.7-x86_64-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.7-x86_64-netboot/postinstall.sh +60 -0
- data/templates/CentOS-5.8-i386-netboot/definition.rb +16 -0
- data/templates/CentOS-5.8-i386-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.8-i386-netboot/postinstall.sh +53 -0
- data/templates/CentOS-5.8-i386/definition.rb +16 -0
- data/templates/CentOS-5.8-i386/ks.cfg +47 -0
- data/templates/CentOS-5.8-i386/postinstall.sh +53 -0
- data/templates/CentOS-5.8-x86_64-netboot/definition.rb +16 -0
- data/templates/CentOS-5.8-x86_64-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.8-x86_64-netboot/postinstall.sh +53 -0
- data/templates/CentOS-5.8-x86_64/definition.rb +16 -0
- data/templates/CentOS-5.8-x86_64/ks.cfg +47 -0
- data/templates/CentOS-5.8-x86_64/postinstall.sh +60 -0
- data/templates/CentOS-5.9-i386-netboot/definition.rb +16 -0
- data/templates/CentOS-5.9-i386-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.9-i386-netboot/postinstall.sh +56 -0
- data/templates/CentOS-5.9-i386/definition.rb +16 -0
- data/templates/CentOS-5.9-i386/ks.cfg +47 -0
- data/templates/CentOS-5.9-i386/postinstall.sh +56 -0
- data/templates/CentOS-5.9-x86_64-netboot/definition.rb +16 -0
- data/templates/CentOS-5.9-x86_64-netboot/ks.cfg +47 -0
- data/templates/CentOS-5.9-x86_64-netboot/postinstall.sh +56 -0
- data/templates/CentOS-5.9-x86_64/definition.rb +16 -0
- data/templates/CentOS-5.9-x86_64/ks.cfg +47 -0
- data/templates/CentOS-5.9-x86_64/postinstall.sh +63 -0
- data/templates/CentOS-6.0-i386-netboot/base.sh +14 -0
- data/templates/CentOS-6.0-i386-netboot/chef.sh +3 -0
- data/templates/CentOS-6.0-i386-netboot/cleanup.sh +5 -0
- data/templates/CentOS-6.0-i386-netboot/definition.rb +40 -0
- data/templates/CentOS-6.0-i386-netboot/ks.cfg +42 -0
- data/templates/CentOS-6.0-i386-netboot/puppet.sh +12 -0
- data/templates/CentOS-6.0-i386-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.0-i386-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.0-i386-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.0-i386-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-6.0-i386/base.sh +22 -0
- data/templates/CentOS-6.0-i386/chef.sh +3 -0
- data/templates/CentOS-6.0-i386/cleanup.sh +5 -0
- data/templates/CentOS-6.0-i386/definition.rb +40 -0
- data/templates/CentOS-6.0-i386/ks.cfg +42 -0
- data/templates/CentOS-6.0-i386/puppet.sh +12 -0
- data/templates/CentOS-6.0-i386/ruby.sh +3 -0
- data/templates/CentOS-6.0-i386/vagrant.sh +18 -0
- data/templates/CentOS-6.0-i386/virtualbox.sh +8 -0
- data/templates/CentOS-6.0-i386/zerodisk.sh +3 -0
- data/templates/CentOS-6.0-x86_64-minimal/base.sh +22 -0
- data/templates/CentOS-6.0-x86_64-minimal/chef.sh +3 -0
- data/templates/CentOS-6.0-x86_64-minimal/cleanup.sh +5 -0
- data/templates/CentOS-6.0-x86_64-minimal/definition.rb +40 -0
- data/templates/CentOS-6.0-x86_64-minimal/ks.cfg +42 -0
- data/templates/CentOS-6.0-x86_64-minimal/puppet.sh +12 -0
- data/templates/CentOS-6.0-x86_64-minimal/ruby.sh +3 -0
- data/templates/CentOS-6.0-x86_64-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.0-x86_64-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.0-x86_64-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.0-x86_64-netboot/base.sh +14 -0
- data/templates/CentOS-6.0-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-6.0-x86_64-netboot/cleanup.sh +5 -0
- data/templates/CentOS-6.0-x86_64-netboot/definition.rb +40 -0
- data/templates/CentOS-6.0-x86_64-netboot/ks.cfg +42 -0
- data/templates/CentOS-6.0-x86_64-netboot/puppet.sh +12 -0
- data/templates/CentOS-6.0-x86_64-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.0-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.0-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.0-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-6.0-x86_64/base.sh +22 -0
- data/templates/CentOS-6.0-x86_64/chef.sh +3 -0
- data/templates/CentOS-6.0-x86_64/cleanup.sh +5 -0
- data/templates/CentOS-6.0-x86_64/definition.rb +40 -0
- data/templates/CentOS-6.0-x86_64/ks.cfg +42 -0
- data/templates/CentOS-6.0-x86_64/puppet.sh +12 -0
- data/templates/CentOS-6.0-x86_64/ruby.sh +3 -0
- data/templates/CentOS-6.0-x86_64/vagrant.sh +18 -0
- data/templates/CentOS-6.0-x86_64/virtualbox.sh +8 -0
- data/templates/CentOS-6.0-x86_64/zerodisk.sh +3 -0
- data/templates/CentOS-6.1-x86_64-minimal/base.sh +22 -0
- data/templates/CentOS-6.1-x86_64-minimal/chef.sh +3 -0
- data/templates/CentOS-6.1-x86_64-minimal/cleanup.sh +5 -0
- data/templates/CentOS-6.1-x86_64-minimal/definition.rb +40 -0
- data/templates/CentOS-6.1-x86_64-minimal/ks.cfg +42 -0
- data/templates/CentOS-6.1-x86_64-minimal/puppet.sh +12 -0
- data/templates/CentOS-6.1-x86_64-minimal/ruby.sh +3 -0
- data/templates/CentOS-6.1-x86_64-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.1-x86_64-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.1-x86_64-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.1-x86_64-netboot/base.sh +14 -0
- data/templates/CentOS-6.1-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-6.1-x86_64-netboot/cleanup.sh +5 -0
- data/templates/CentOS-6.1-x86_64-netboot/definition.rb +40 -0
- data/templates/CentOS-6.1-x86_64-netboot/ks.cfg +42 -0
- data/templates/CentOS-6.1-x86_64-netboot/puppet.sh +12 -0
- data/templates/CentOS-6.1-x86_64-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.1-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.1-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.1-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-6.2-i386-minimal/base.sh +22 -0
- data/templates/CentOS-6.2-i386-minimal/chef.sh +3 -0
- data/templates/CentOS-6.2-i386-minimal/cleanup.sh +5 -0
- data/templates/CentOS-6.2-i386-minimal/definition.rb +40 -0
- data/templates/CentOS-6.2-i386-minimal/ks.cfg +42 -0
- data/templates/CentOS-6.2-i386-minimal/puppet.sh +12 -0
- data/templates/CentOS-6.2-i386-minimal/ruby.sh +3 -0
- data/templates/CentOS-6.2-i386-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.2-i386-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.2-i386-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.2-x86_64-minimal/base.sh +22 -0
- data/templates/CentOS-6.2-x86_64-minimal/chef.sh +3 -0
- data/templates/CentOS-6.2-x86_64-minimal/cleanup.sh +5 -0
- data/templates/CentOS-6.2-x86_64-minimal/definition.rb +40 -0
- data/templates/CentOS-6.2-x86_64-minimal/ks.cfg +42 -0
- data/templates/CentOS-6.2-x86_64-minimal/puppet.sh +12 -0
- data/templates/CentOS-6.2-x86_64-minimal/ruby.sh +3 -0
- data/templates/CentOS-6.2-x86_64-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.2-x86_64-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.2-x86_64-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.2-x86_64-netboot/base.sh +14 -0
- data/templates/CentOS-6.2-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-6.2-x86_64-netboot/cleanup.sh +5 -0
- data/templates/CentOS-6.2-x86_64-netboot/definition.rb +40 -0
- data/templates/CentOS-6.2-x86_64-netboot/ks.cfg +42 -0
- data/templates/CentOS-6.2-x86_64-netboot/puppet.sh +12 -0
- data/templates/CentOS-6.2-x86_64-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.2-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.2-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.2-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/CentOS-6.3-i386-minimal/base.sh +14 -0
- data/templates/CentOS-6.3-i386-minimal/chef.sh +3 -0
- data/templates/CentOS-6.3-i386-minimal/cleanup.sh +5 -0
- data/templates/CentOS-6.3-i386-minimal/definition.rb +49 -0
- data/templates/CentOS-6.3-i386-minimal/ks.cfg +78 -0
- data/templates/CentOS-6.3-i386-minimal/puppet.sh +12 -0
- data/templates/CentOS-6.3-i386-minimal/ruby.sh +3 -0
- data/templates/CentOS-6.3-i386-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.3-i386-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.3-i386-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.3-x86_64-minimal/base.sh +14 -0
- data/templates/CentOS-6.3-x86_64-minimal/chef.sh +3 -0
- data/templates/CentOS-6.3-x86_64-minimal/cleanup.sh +5 -0
- data/templates/CentOS-6.3-x86_64-minimal/definition.rb +40 -0
- data/templates/CentOS-6.3-x86_64-minimal/ks.cfg +42 -0
- data/templates/CentOS-6.3-x86_64-minimal/puppet.sh +12 -0
- data/templates/CentOS-6.3-x86_64-minimal/ruby.sh +3 -0
- data/templates/CentOS-6.3-x86_64-minimal/vagrant.sh +18 -0
- data/templates/CentOS-6.3-x86_64-minimal/virtualbox.sh +8 -0
- data/templates/CentOS-6.3-x86_64-minimal/zerodisk.sh +3 -0
- data/templates/CentOS-6.3-x86_64-netboot/base.sh +14 -0
- data/templates/CentOS-6.3-x86_64-netboot/cfengine.sh +69 -0
- data/templates/CentOS-6.3-x86_64-netboot/chef.sh +3 -0
- data/templates/CentOS-6.3-x86_64-netboot/cleanup.sh +5 -0
- data/templates/CentOS-6.3-x86_64-netboot/definition.rb +40 -0
- data/templates/CentOS-6.3-x86_64-netboot/ks.cfg +41 -0
- data/templates/CentOS-6.3-x86_64-netboot/puppet.sh +12 -0
- data/templates/CentOS-6.3-x86_64-netboot/ruby.sh +3 -0
- data/templates/CentOS-6.3-x86_64-netboot/vagrant.sh +18 -0
- data/templates/CentOS-6.3-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/CentOS-6.3-x86_64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-5.0.10-amd64-netboot/base.sh +9 -0
- data/templates/Debian-5.0.10-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-5.0.10-amd64-netboot/cleanup.sh +10 -0
- data/templates/Debian-5.0.10-amd64-netboot/definition.rb +39 -0
- data/templates/Debian-5.0.10-amd64-netboot/postinstall.sh +60 -0
- data/templates/Debian-5.0.10-amd64-netboot/preseed.cfg +312 -0
- data/templates/Debian-5.0.10-amd64-netboot/puppet.sh +2 -0
- data/templates/Debian-5.0.10-amd64-netboot/ruby.sh +11 -0
- data/templates/Debian-5.0.10-amd64-netboot/vagrant.sh +14 -0
- data/templates/Debian-5.0.10-amd64-netboot/virtualbox.sh +15 -0
- data/templates/Debian-5.0.10-i386-netboot/base.sh +9 -0
- data/templates/Debian-5.0.10-i386-netboot/chef.sh +2 -0
- data/templates/Debian-5.0.10-i386-netboot/cleanup.sh +10 -0
- data/templates/Debian-5.0.10-i386-netboot/definition.rb +39 -0
- data/templates/Debian-5.0.10-i386-netboot/postinstall.sh +60 -0
- data/templates/Debian-5.0.10-i386-netboot/preseed.cfg +312 -0
- data/templates/Debian-5.0.10-i386-netboot/puppet.sh +2 -0
- data/templates/Debian-5.0.10-i386-netboot/ruby.sh +11 -0
- data/templates/Debian-5.0.10-i386-netboot/vagrant.sh +14 -0
- data/templates/Debian-5.0.10-i386-netboot/virtualbox.sh +15 -0
- data/templates/Debian-5.0.8-amd64-netboot/base.sh +9 -0
- data/templates/Debian-5.0.8-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-5.0.8-amd64-netboot/cleanup.sh +10 -0
- data/templates/Debian-5.0.8-amd64-netboot/definition.rb +39 -0
- data/templates/Debian-5.0.8-amd64-netboot/postinstall.sh +60 -0
- data/templates/Debian-5.0.8-amd64-netboot/preseed.cfg +312 -0
- data/templates/Debian-5.0.8-amd64-netboot/puppet.sh +2 -0
- data/templates/Debian-5.0.8-amd64-netboot/ruby.sh +11 -0
- data/templates/Debian-5.0.8-amd64-netboot/vagrant.sh +14 -0
- data/templates/Debian-5.0.8-amd64-netboot/virtualbox.sh +15 -0
- data/templates/Debian-5.0.8-i386-netboot/base.sh +9 -0
- data/templates/Debian-5.0.8-i386-netboot/chef.sh +2 -0
- data/templates/Debian-5.0.8-i386-netboot/cleanup.sh +10 -0
- data/templates/Debian-5.0.8-i386-netboot/definition.rb +39 -0
- data/templates/Debian-5.0.8-i386-netboot/postinstall.sh +60 -0
- data/templates/Debian-5.0.8-i386-netboot/preseed.cfg +312 -0
- data/templates/Debian-5.0.8-i386-netboot/puppet.sh +2 -0
- data/templates/Debian-5.0.8-i386-netboot/ruby.sh +11 -0
- data/templates/Debian-5.0.8-i386-netboot/vagrant.sh +14 -0
- data/templates/Debian-5.0.8-i386-netboot/virtualbox.sh +15 -0
- data/templates/Debian-6.0.3-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.3-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.3-amd64-netboot/cleanup-virtualbox.sh +2 -0
- data/templates/Debian-6.0.3-amd64-netboot/cleanup.sh +18 -0
- data/templates/Debian-6.0.3-amd64-netboot/definition.rb +40 -0
- data/templates/Debian-6.0.3-amd64-netboot/postinstall.sh +80 -0
- data/templates/Debian-6.0.3-amd64-netboot/preseed.cfg +312 -0
- data/templates/Debian-6.0.3-amd64-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.3-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.3-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.3-amd64-netboot/virtualbox.sh +15 -0
- data/templates/Debian-6.0.3-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.3-i386-netboot/base.sh +27 -0
- data/templates/Debian-6.0.3-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.3-i386-netboot/cleanup-virtualbox.sh +2 -0
- data/templates/Debian-6.0.3-i386-netboot/cleanup.sh +18 -0
- data/templates/Debian-6.0.3-i386-netboot/definition.rb +41 -0
- data/templates/Debian-6.0.3-i386-netboot/postinstall.sh +80 -0
- data/templates/Debian-6.0.3-i386-netboot/preseed.cfg +312 -0
- data/templates/Debian-6.0.3-i386-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.3-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.3-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.3-i386-netboot/virtualbox.sh +15 -0
- data/templates/Debian-6.0.3-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.4-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.4-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.4-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.4-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.4-amd64-netboot/definition.rb +49 -0
- data/templates/Debian-6.0.4-amd64-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.4-amd64-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.4-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.4-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.4-amd64-netboot/virtualbox.sh +13 -0
- data/templates/Debian-6.0.4-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.4-i386-netboot/base.sh +27 -0
- data/templates/Debian-6.0.4-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.4-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.4-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.4-i386-netboot/definition.rb +51 -0
- data/templates/Debian-6.0.4-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.4-i386-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.4-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.4-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.4-i386-netboot/virtualbox.sh +13 -0
- data/templates/Debian-6.0.4-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.5-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.5-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.5-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.5-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.5-amd64-netboot/definition.rb +49 -0
- data/templates/Debian-6.0.5-amd64-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.5-amd64-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.5-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.5-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.5-amd64-netboot/virtualbox.sh +13 -0
- data/templates/Debian-6.0.5-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.5-i386-netboot/base.sh +27 -0
- data/templates/Debian-6.0.5-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.5-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.5-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.5-i386-netboot/definition.rb +51 -0
- data/templates/Debian-6.0.5-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.5-i386-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.5-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.5-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.5-i386-netboot/virtualbox.sh +13 -0
- data/templates/Debian-6.0.5-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.6-amd64-netboot/base.sh +27 -0
- data/templates/Debian-6.0.6-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.6-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.6-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.6-amd64-netboot/definition.rb +49 -0
- data/templates/Debian-6.0.6-amd64-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.6-amd64-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.6-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.6-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.6-amd64-netboot/virtualbox.sh +14 -0
- data/templates/Debian-6.0.6-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-6.0.6-i386-netboot/base.sh +27 -0
- data/templates/Debian-6.0.6-i386-netboot/chef.sh +2 -0
- data/templates/Debian-6.0.6-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-6.0.6-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-6.0.6-i386-netboot/definition.rb +58 -0
- data/templates/Debian-6.0.6-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-6.0.6-i386-netboot/puppet.sh +2 -0
- data/templates/Debian-6.0.6-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-6.0.6-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-6.0.6-i386-netboot/virtualbox.sh +13 -0
- data/templates/Debian-6.0.6-i386-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.0-b4-amd64-netboot/base.sh +26 -0
- data/templates/Debian-7.0-b4-amd64-netboot/chef.sh +2 -0
- data/templates/Debian-7.0-b4-amd64-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.0-b4-amd64-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.0-b4-amd64-netboot/definition.rb +51 -0
- data/templates/Debian-7.0-b4-amd64-netboot/preseed.cfg +313 -0
- data/templates/Debian-7.0-b4-amd64-netboot/puppet.sh +2 -0
- data/templates/Debian-7.0-b4-amd64-netboot/ruby.sh +10 -0
- data/templates/Debian-7.0-b4-amd64-netboot/vagrant.sh +25 -0
- data/templates/Debian-7.0-b4-amd64-netboot/virtualbox.sh +13 -0
- data/templates/Debian-7.0-b4-amd64-netboot/zerodisk.sh +3 -0
- data/templates/Debian-7.0-b4-i386-netboot/base.sh +26 -0
- data/templates/Debian-7.0-b4-i386-netboot/chef.sh +2 -0
- data/templates/Debian-7.0-b4-i386-netboot/cleanup-virtualbox.sh +4 -0
- data/templates/Debian-7.0-b4-i386-netboot/cleanup.sh +17 -0
- data/templates/Debian-7.0-b4-i386-netboot/definition.rb +52 -0
- data/templates/Debian-7.0-b4-i386-netboot/preseed.cfg +315 -0
- data/templates/Debian-7.0-b4-i386-netboot/puppet.sh +2 -0
- data/templates/Debian-7.0-b4-i386-netboot/ruby.sh +10 -0
- data/templates/Debian-7.0-b4-i386-netboot/vagrant.sh +25 -0
- data/templates/Debian-7.0-b4-i386-netboot/virtualbox.sh +13 -0
- data/templates/Debian-7.0-b4-i386-netboot/zerodisk.sh +3 -0
- data/templates/Fedora-14-amd64-netboot/definition.rb +16 -0
- data/templates/Fedora-14-amd64-netboot/ks.cfg +40 -0
- data/templates/Fedora-14-amd64-netboot/postinstall.sh +54 -0
- data/templates/Fedora-14-amd64/definition.rb +16 -0
- data/templates/Fedora-14-amd64/ks.cfg +41 -0
- data/templates/Fedora-14-amd64/postinstall.sh +54 -0
- data/templates/Fedora-14-i386-netboot/definition.rb +16 -0
- data/templates/Fedora-14-i386-netboot/ks.cfg +40 -0
- data/templates/Fedora-14-i386-netboot/postinstall.sh +54 -0
- data/templates/Fedora-14-i386/definition.rb +16 -0
- data/templates/Fedora-14-i386/ks.cfg +41 -0
- data/templates/Fedora-14-i386/postinstall.sh +54 -0
- data/templates/Fedora-15-i386-netboot/definition.rb +17 -0
- data/templates/Fedora-15-i386-netboot/ks.cfg +82 -0
- data/templates/Fedora-15-i386-netboot/postinstall.sh +18 -0
- data/templates/Fedora-15-i386/definition.rb +17 -0
- data/templates/Fedora-15-i386/ks.cfg +64 -0
- data/templates/Fedora-15-i386/postinstall.sh +33 -0
- data/templates/Fedora-15-x86_64-netboot/definition.rb +29 -0
- data/templates/Fedora-15-x86_64-netboot/ks.cfg +64 -0
- data/templates/Fedora-15-x86_64-netboot/postinstall.sh +33 -0
- data/templates/Fedora-15-x86_64/definition.rb +17 -0
- data/templates/Fedora-15-x86_64/ks.cfg +64 -0
- data/templates/Fedora-15-x86_64/postinstall.sh +33 -0
- data/templates/Fedora-16-i386/definition.rb +17 -0
- data/templates/Fedora-16-i386/ks.cfg +72 -0
- data/templates/Fedora-16-i386/postinstall.sh +35 -0
- data/templates/Fedora-16-x86_64-netboot/definition.rb +29 -0
- data/templates/Fedora-16-x86_64-netboot/ks.cfg +70 -0
- data/templates/Fedora-16-x86_64-netboot/postinstall.sh +26 -0
- data/templates/Fedora-16-x86_64/definition.rb +17 -0
- data/templates/Fedora-16-x86_64/ks.cfg +72 -0
- data/templates/Fedora-16-x86_64/postinstall.sh +35 -0
- data/templates/Fedora-17-i386/definition.rb +17 -0
- data/templates/Fedora-17-i386/ks.cfg +76 -0
- data/templates/Fedora-17-i386/postinstall.sh +35 -0
- data/templates/Fedora-17-x86_64/definition.rb +17 -0
- data/templates/Fedora-17-x86_64/ks.cfg +76 -0
- data/templates/Fedora-17-x86_64/postinstall.sh +35 -0
- data/templates/Fedora-18-i386/definition.rb +17 -0
- data/templates/Fedora-18-i386/ks.cfg +75 -0
- data/templates/Fedora-18-i386/postinstall.sh +40 -0
- data/templates/Fedora-18-x86_64/definition.rb +17 -0
- data/templates/Fedora-18-x86_64/ks.cfg +75 -0
- data/templates/Fedora-18-x86_64/postinstall.sh +43 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/base.sh +30 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/chef.sh +3 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/cleanup.sh +5 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/definition.rb +41 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/ks.cfg +42 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/nfs.sh +2 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/puppet.sh +12 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/ruby.sh +3 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/vagrant.sh +18 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/virtualbox.sh +8 -0
- data/templates/OracleLinux-6.3-x86_64-DVD/zerodisk.sh +3 -0
- data/templates/SLES-11-SP1-DVD-i586-GM/autoinst_de.xml +1127 -0
- data/templates/SLES-11-SP1-DVD-i586-GM/autoinst_en.xml +1127 -0
- data/templates/SLES-11-SP1-DVD-i586-GM/definition.rb +37 -0
- data/templates/SLES-11-SP1-DVD-i586-GM/postinstall.sh +46 -0
- data/templates/SLES-11-SP1-DVD-x86_64-GM/autoinst_de.xml +1171 -0
- data/templates/SLES-11-SP1-DVD-x86_64-GM/autoinst_en.xml +1171 -0
- data/templates/SLES-11-SP1-DVD-x86_64-GM/definition.rb +37 -0
- data/templates/SLES-11-SP1-DVD-x86_64-GM/postinstall.sh +46 -0
- data/templates/SLES-11-SP2-DVD-x86_64-GM/autoinst.xml +2578 -0
- data/templates/SLES-11-SP2-DVD-x86_64-GM/definition.rb +33 -0
- data/templates/SLES-11-SP2-DVD-x86_64-GM/postinstall.sh +51 -0
- data/templates/Sysrescuecd-2.0.0-experimental/autorun0 +3 -0
- data/templates/Sysrescuecd-2.0.0-experimental/definition.rb +20 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/definition.rb +26 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/ks.cfg +63 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/vagrant_key.py +6 -0
- data/templates/VMware-ESXi-5.0u2-x86_64/vnc_enable.sh +40 -0
- data/templates/VMware-ESXi-5.1-x86_64/definition.rb +27 -0
- data/templates/VMware-ESXi-5.1-x86_64/ks.cfg +63 -0
- data/templates/VMware-ESXi-5.1-x86_64/vagrant_key.py +6 -0
- data/templates/VMware-ESXi-5.1-x86_64/vnc_enable.sh +39 -0
- data/templates/archlinux-i386-netboot/aif.cfg +28 -0
- data/templates/archlinux-i386-netboot/definition.rb +26 -0
- data/templates/archlinux-i386-netboot/postinstall.sh +75 -0
- data/templates/archlinux-i386-netboot/postinstall2.sh +30 -0
- data/templates/archlinux-i386/aif.cfg +33 -0
- data/templates/archlinux-i386/definition.rb +29 -0
- data/templates/archlinux-i386/postinstall.sh +106 -0
- data/templates/archlinux-x86_64-netboot/aif.cfg +28 -0
- data/templates/archlinux-x86_64-netboot/definition.rb +26 -0
- data/templates/archlinux-x86_64-netboot/postinstall.sh +75 -0
- data/templates/archlinux-x86_64-netboot/postinstall2.sh +30 -0
- data/templates/archlinux-x86_64/definition.rb +25 -0
- data/templates/archlinux-x86_64/postinstall.sh +104 -0
- data/templates/archlinux-x86_64/postinstall2.sh +37 -0
- data/templates/freebsd-8.2-experimental/definition.rb +19 -0
- data/templates/freebsd-8.2-experimental/postinstall.sh +191 -0
- data/templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb +31 -0
- data/templates/freebsd-8.2-pcbsd-i386-netboot/pcinstall.fbg.cfg +58 -0
- data/templates/freebsd-8.2-pcbsd-i386-netboot/postinstall.sh +93 -0
- data/templates/freebsd-8.2-pcbsd-i386/definition.rb +32 -0
- data/templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg +57 -0
- data/templates/freebsd-8.2-pcbsd-i386/postinstall.sh +93 -0
- data/templates/freebsd-9.0-RELEASE-amd64/definition.rb +19 -0
- data/templates/freebsd-9.0-RELEASE-amd64/postinstall.sh +93 -0
- data/templates/funtoo-latest-generic_64-stable/definition.rb +34 -0
- data/templates/funtoo-latest-generic_64-stable/postinstall.sh +177 -0
- data/templates/funtoo-latest-generic_64-stable/postinstall2.sh +83 -0
- data/templates/funtoo-latest-x86_64/definition.rb +37 -0
- data/templates/funtoo-latest-x86_64/postinstall.sh +401 -0
- data/templates/gentoo-latest-i386-experimental/definition.rb +45 -0
- data/templates/gentoo-latest-i386-experimental/postinstall.sh +184 -0
- data/templates/gentoo-latest-i686-experimental/base.sh +83 -0
- data/templates/gentoo-latest-i686-experimental/chef.sh +7 -0
- data/templates/gentoo-latest-i686-experimental/cleanup.sh +23 -0
- data/templates/gentoo-latest-i686-experimental/cron.sh +8 -0
- data/templates/gentoo-latest-i686-experimental/definition.rb +61 -0
- data/templates/gentoo-latest-i686-experimental/grub.sh +24 -0
- data/templates/gentoo-latest-i686-experimental/kernel.sh +108 -0
- data/templates/gentoo-latest-i686-experimental/nfs.sh +5 -0
- data/templates/gentoo-latest-i686-experimental/puppet.sh +7 -0
- data/templates/gentoo-latest-i686-experimental/reboot.sh +4 -0
- data/templates/gentoo-latest-i686-experimental/ruby_portage.sh +17 -0
- data/templates/gentoo-latest-i686-experimental/ruby_source.sh +15 -0
- data/templates/gentoo-latest-i686-experimental/settings.sh +36 -0
- data/templates/gentoo-latest-i686-experimental/syslog.sh +8 -0
- data/templates/gentoo-latest-i686-experimental/vagrant.sh +57 -0
- data/templates/gentoo-latest-i686-experimental/virtualbox.sh +18 -0
- data/templates/gentoo-latest-i686-experimental/zerodisk.sh +15 -0
- data/templates/gentoo-latest-x86_64-experimental/base.sh +83 -0
- data/templates/gentoo-latest-x86_64-experimental/chef.sh +7 -0
- data/templates/gentoo-latest-x86_64-experimental/cleanup.sh +23 -0
- data/templates/gentoo-latest-x86_64-experimental/cron.sh +8 -0
- data/templates/gentoo-latest-x86_64-experimental/definition.rb +58 -0
- data/templates/gentoo-latest-x86_64-experimental/grub.sh +24 -0
- data/templates/gentoo-latest-x86_64-experimental/kernel.sh +108 -0
- data/templates/gentoo-latest-x86_64-experimental/nfs.sh +5 -0
- data/templates/gentoo-latest-x86_64-experimental/puppet.sh +7 -0
- data/templates/gentoo-latest-x86_64-experimental/ruby.sh +17 -0
- data/templates/gentoo-latest-x86_64-experimental/settings.sh +33 -0
- data/templates/gentoo-latest-x86_64-experimental/syslog.sh +8 -0
- data/templates/gentoo-latest-x86_64-experimental/vagrant.sh +57 -0
- data/templates/gentoo-latest-x86_64-experimental/virtualbox.sh +18 -0
- data/templates/gentoo-latest-x86_64-experimental/zerodisk.sh +15 -0
- data/templates/openSUSE-11.4-DVD-i586/autoinst_de.xml +1284 -0
- data/templates/openSUSE-11.4-DVD-i586/autoinst_en.xml +1284 -0
- data/templates/openSUSE-11.4-DVD-i586/definition.rb +28 -0
- data/templates/openSUSE-11.4-DVD-i586/postinstall.sh +48 -0
- data/templates/openSUSE-11.4-DVD-x86_64/autoinst_de.xml +1459 -0
- data/templates/openSUSE-11.4-DVD-x86_64/autoinst_en.xml +1459 -0
- data/templates/openSUSE-11.4-DVD-x86_64/definition.rb +28 -0
- data/templates/openSUSE-11.4-DVD-x86_64/postinstall.sh +48 -0
- data/templates/openSUSE-11.4-NET-i586/autoinst_de.xml +1278 -0
- data/templates/openSUSE-11.4-NET-i586/autoinst_en.xml +1278 -0
- data/templates/openSUSE-11.4-NET-i586/definition.rb +28 -0
- data/templates/openSUSE-11.4-NET-i586/postinstall.sh +48 -0
- data/templates/openSUSE-11.4-NET-x86_64/autoinst_de.xml +1453 -0
- data/templates/openSUSE-11.4-NET-x86_64/autoinst_en.xml +1453 -0
- data/templates/openSUSE-11.4-NET-x86_64/definition.rb +28 -0
- data/templates/openSUSE-11.4-NET-x86_64/postinstall.sh +48 -0
- data/templates/openSUSE-12.1-DVD+NET-i586/autoinst_de.xml +1483 -0
- data/templates/openSUSE-12.1-DVD+NET-i586/autoinst_en.xml +1483 -0
- data/templates/openSUSE-12.1-DVD+NET-i586/definition.rb +44 -0
- data/templates/openSUSE-12.1-DVD+NET-i586/postinstall.sh +48 -0
- data/templates/openSUSE-12.1-DVD+NET-x86_64/autoinst_de.xml +1727 -0
- data/templates/openSUSE-12.1-DVD+NET-x86_64/autoinst_en.xml +1727 -0
- data/templates/openSUSE-12.1-DVD+NET-x86_64/definition.rb +44 -0
- data/templates/openSUSE-12.1-DVD+NET-x86_64/postinstall.sh +48 -0
- data/templates/openbsd50_amd64/README +28 -0
- data/templates/openbsd50_amd64/definition.rb +85 -0
- data/templates/openbsd50_amd64/postinstall.sh +81 -0
- data/templates/openbsd50_i386/README +28 -0
- data/templates/openbsd50_i386/definition.rb +84 -0
- data/templates/openbsd50_i386/postinstall.sh +80 -0
- data/templates/openbsd52_amd64/README +28 -0
- data/templates/openbsd52_amd64/definition.rb +85 -0
- data/templates/openbsd52_amd64/postinstall.sh +81 -0
- data/templates/openbsd52_i386/README +28 -0
- data/templates/openbsd52_i386/definition.rb +81 -0
- data/templates/openbsd52_i386/postinstall.sh +81 -0
- data/templates/openbsd52_i386_snap/README +28 -0
- data/templates/openbsd52_i386_snap/definition.rb +81 -0
- data/templates/openbsd52_i386_snap/postinstall.sh +81 -0
- data/templates/openindiana-148-ai-x86/auto_install/ai.dtd +58 -0
- data/templates/openindiana-148-ai-x86/auto_install/ai_manifest.xml +241 -0
- data/templates/openindiana-148-ai-x86/auto_install/configuration.dtd +44 -0
- data/templates/openindiana-148-ai-x86/auto_install/default.xml +121 -0
- data/templates/openindiana-148-ai-x86/auto_install/default.xml.orig +124 -0
- data/templates/openindiana-148-ai-x86/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/openindiana-148-ai-x86/auto_install/software.dtd +105 -0
- data/templates/openindiana-148-ai-x86/auto_install/target.dtd +196 -0
- data/templates/openindiana-148-ai-x86/default.xml +121 -0
- data/templates/openindiana-148-ai-x86/definition.rb +59 -0
- data/templates/openindiana-148-ai-x86/postinstall.sh +103 -0
- data/templates/openindiana-151a7-text-x86/auto_install/ai.dtd +58 -0
- data/templates/openindiana-151a7-text-x86/auto_install/ai_manifest.xml +241 -0
- data/templates/openindiana-151a7-text-x86/auto_install/configuration.dtd +44 -0
- data/templates/openindiana-151a7-text-x86/auto_install/default.xml +121 -0
- data/templates/openindiana-151a7-text-x86/auto_install/default.xml.orig +124 -0
- data/templates/openindiana-151a7-text-x86/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/openindiana-151a7-text-x86/auto_install/software.dtd +105 -0
- data/templates/openindiana-151a7-text-x86/auto_install/target.dtd +196 -0
- data/templates/openindiana-151a7-text-x86/default.xml +121 -0
- data/templates/openindiana-151a7-text-x86/definition.rb +56 -0
- data/templates/openindiana-151a7-text-x86/postinstall.sh +103 -0
- data/templates/opensuse-11.4-i386-experimental/README +11 -0
- data/templates/opensuse-11.4-i386-experimental/autoinst.xml +1269 -0
- data/templates/opensuse-11.4-i386-experimental/autoinst.xml.generated +1269 -0
- data/templates/opensuse-11.4-i386-experimental/autoinst.xml.tweaked +1269 -0
- data/templates/opensuse-11.4-i386-experimental/definition.rb +31 -0
- data/templates/opensuse-11.4-i386-experimental/postinstall.sh +90 -0
- data/templates/scientificlinux-5.9-i386/definition.rb +16 -0
- data/templates/scientificlinux-5.9-i386/ks.cfg +75 -0
- data/templates/scientificlinux-5.9-i386/postinstall.sh +39 -0
- data/templates/scientificlinux-5.9-x86_64/definition.rb +16 -0
- data/templates/scientificlinux-5.9-x86_64/ks.cfg +75 -0
- data/templates/scientificlinux-5.9-x86_64/postinstall.sh +39 -0
- data/templates/scientificlinux-6.1-i386-netboot/base.sh +1 -0
- data/templates/scientificlinux-6.1-i386-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.1-i386-netboot/cleanup.sh +4 -0
- data/templates/scientificlinux-6.1-i386-netboot/definition.rb +34 -0
- data/templates/scientificlinux-6.1-i386-netboot/ks.cfg +53 -0
- data/templates/scientificlinux-6.1-i386-netboot/postinstall.sh +30 -0
- data/templates/scientificlinux-6.1-i386-netboot/puppet.sh +1 -0
- data/templates/scientificlinux-6.1-i386-netboot/vagrant.sh +8 -0
- data/templates/scientificlinux-6.1-i386-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/base.sh +1 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/cleanup.sh +4 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/definition.rb +35 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/ks.cfg +53 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/postinstall.sh +30 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/puppet.sh +1 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/vagrant.sh +8 -0
- data/templates/scientificlinux-6.1-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.2-i386-netboot/base.sh +1 -0
- data/templates/scientificlinux-6.2-i386-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.2-i386-netboot/cleanup.sh +4 -0
- data/templates/scientificlinux-6.2-i386-netboot/definition.rb +36 -0
- data/templates/scientificlinux-6.2-i386-netboot/ks.cfg +53 -0
- data/templates/scientificlinux-6.2-i386-netboot/postinstall.sh +30 -0
- data/templates/scientificlinux-6.2-i386-netboot/puppet.sh +1 -0
- data/templates/scientificlinux-6.2-i386-netboot/vagrant.sh +8 -0
- data/templates/scientificlinux-6.2-i386-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/base.sh +1 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/cleanup.sh +4 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/definition.rb +36 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/ks.cfg +53 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/postinstall.sh +30 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/puppet.sh +1 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/vagrant.sh +8 -0
- data/templates/scientificlinux-6.2-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.3-i386-netboot/base.sh +1 -0
- data/templates/scientificlinux-6.3-i386-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.3-i386-netboot/cleanup.sh +4 -0
- data/templates/scientificlinux-6.3-i386-netboot/definition.rb +37 -0
- data/templates/scientificlinux-6.3-i386-netboot/ks.cfg +53 -0
- data/templates/scientificlinux-6.3-i386-netboot/postinstall.sh +30 -0
- data/templates/scientificlinux-6.3-i386-netboot/puppet.sh +1 -0
- data/templates/scientificlinux-6.3-i386-netboot/ruby.sh +1 -0
- data/templates/scientificlinux-6.3-i386-netboot/vagrant.sh +8 -0
- data/templates/scientificlinux-6.3-i386-netboot/virtualbox.sh +8 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/base.sh +1 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/chef.sh +1 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/cleanup.sh +4 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/definition.rb +37 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/ks.cfg +53 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/postinstall.sh +30 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/puppet.sh +1 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/ruby.sh +1 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/rvm-ruby.sh +9 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/vagrant.sh +8 -0
- data/templates/scientificlinux-6.3-x86_64-netboot/virtualbox.sh +8 -0
- data/templates/solaris-11-express-i386/auto_install/ai.dtd +58 -0
- data/templates/solaris-11-express-i386/auto_install/ai_manifest.xml +241 -0
- data/templates/solaris-11-express-i386/auto_install/configuration.dtd +44 -0
- data/templates/solaris-11-express-i386/auto_install/default.xml +124 -0
- data/templates/solaris-11-express-i386/auto_install/default.xml.orig +124 -0
- data/templates/solaris-11-express-i386/auto_install/sc_profiles/static_network.xml +105 -0
- data/templates/solaris-11-express-i386/auto_install/software.dtd +105 -0
- data/templates/solaris-11-express-i386/auto_install/target.dtd +196 -0
- data/templates/solaris-11-express-i386/default.xml +121 -0
- data/templates/solaris-11-express-i386/definition.rb +65 -0
- data/templates/solaris-11-express-i386/postinstall.sh +98 -0
- data/templates/ubuntu-10.04.2-amd64-netboot/definition.rb +23 -0
- data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +91 -0
- data/templates/ubuntu-10.04.2-amd64-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/definition.rb +23 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +91 -0
- data/templates/ubuntu-10.04.2-server-i386-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.04.3-server-amd64-alt/definition.rb +57 -0
- data/templates/ubuntu-10.04.3-server-amd64-alt/postinstall.sh +250 -0
- data/templates/ubuntu-10.04.3-server-amd64-alt/preseed.cfg +124 -0
- data/templates/ubuntu-10.04.3-server-amd64/base.sh +11 -0
- data/templates/ubuntu-10.04.3-server-amd64/chef.sh +2 -0
- data/templates/ubuntu-10.04.3-server-amd64/cleanup.sh +19 -0
- data/templates/ubuntu-10.04.3-server-amd64/definition.rb +62 -0
- data/templates/ubuntu-10.04.3-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-10.04.3-server-amd64/puppet.sh +1 -0
- data/templates/ubuntu-10.04.3-server-amd64/ruby.sh +24 -0
- data/templates/ubuntu-10.04.3-server-amd64/vagrant.sh +27 -0
- data/templates/ubuntu-10.04.3-server-amd64/virtualbox.sh +12 -0
- data/templates/ubuntu-10.04.3-server-i386/definition.rb +24 -0
- data/templates/ubuntu-10.04.3-server-i386/postinstall.sh +92 -0
- data/templates/ubuntu-10.04.3-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-10.04.4-server-amd64/definition.rb +24 -0
- data/templates/ubuntu-10.04.4-server-amd64/postinstall.sh +101 -0
- data/templates/ubuntu-10.04.4-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-10.04.4-server-i386/definition.rb +24 -0
- data/templates/ubuntu-10.04.4-server-i386/postinstall.sh +92 -0
- data/templates/ubuntu-10.04.4-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/definition.rb +24 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +91 -0
- data/templates/ubuntu-10.10-server-amd64-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.10-server-amd64/base.sh +11 -0
- data/templates/ubuntu-10.10-server-amd64/chef.sh +2 -0
- data/templates/ubuntu-10.10-server-amd64/cleanup.sh +19 -0
- data/templates/ubuntu-10.10-server-amd64/definition.rb +36 -0
- data/templates/ubuntu-10.10-server-amd64/postinstall.sh +91 -0
- data/templates/ubuntu-10.10-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-10.10-server-amd64/puppet.sh +1 -0
- data/templates/ubuntu-10.10-server-amd64/ruby.sh +24 -0
- data/templates/ubuntu-10.10-server-amd64/vagrant.sh +27 -0
- data/templates/ubuntu-10.10-server-amd64/virtualbox.sh +12 -0
- data/templates/ubuntu-10.10-server-i386-netboot/definition.rb +24 -0
- data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +91 -0
- data/templates/ubuntu-10.10-server-i386-netboot/preseed.cfg +89 -0
- data/templates/ubuntu-10.10-server-i386/definition.rb +24 -0
- data/templates/ubuntu-10.10-server-i386/postinstall.sh +91 -0
- data/templates/ubuntu-10.10-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-11.04-server-amd64/apt-upgrade.sh +4 -0
- data/templates/ubuntu-11.04-server-amd64/chef.sh +1 -0
- data/templates/ubuntu-11.04-server-amd64/definition.rb +47 -0
- data/templates/ubuntu-11.04-server-amd64/network-cleanup.sh +14 -0
- data/templates/ubuntu-11.04-server-amd64/nfs-client.sh +3 -0
- data/templates/ubuntu-11.04-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-11.04-server-amd64/puppet.sh +1 -0
- data/templates/ubuntu-11.04-server-amd64/remove-build-essentials.sh +3 -0
- data/templates/ubuntu-11.04-server-amd64/ruby.sh +29 -0
- data/templates/ubuntu-11.04-server-amd64/ssh-keys.sh +7 -0
- data/templates/ubuntu-11.04-server-amd64/sudo.sh +4 -0
- data/templates/ubuntu-11.04-server-amd64/timestamp.sh +1 -0
- data/templates/ubuntu-11.04-server-amd64/vbox_additions.sh +11 -0
- data/templates/ubuntu-11.04-server-amd64/zero-disk.sh +3 -0
- data/templates/ubuntu-11.04-server-i386/definition.rb +24 -0
- data/templates/ubuntu-11.04-server-i386/postinstall.sh +91 -0
- data/templates/ubuntu-11.04-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-11.10-server-amd64-ishaya/definition.rb +24 -0
- data/templates/ubuntu-11.10-server-amd64-ishaya/postinstall.sh +91 -0
- data/templates/ubuntu-11.10-server-amd64-ishaya/preseed.cfg +87 -0
- data/templates/ubuntu-11.10-server-amd64-ruby192/definition.rb +24 -0
- data/templates/ubuntu-11.10-server-amd64-ruby192/postinstall.sh +91 -0
- data/templates/ubuntu-11.10-server-amd64-ruby192/preseed.cfg +87 -0
- data/templates/ubuntu-11.10-server-amd64-rvm/definition.rb +35 -0
- data/templates/ubuntu-11.10-server-amd64-rvm/postinstall.sh +85 -0
- data/templates/ubuntu-11.10-server-amd64-rvm/preseed.cfg +93 -0
- data/templates/ubuntu-11.10-server-amd64/definition.rb +35 -0
- data/templates/ubuntu-11.10-server-amd64/postinstall.sh +89 -0
- data/templates/ubuntu-11.10-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-11.10-server-i386/definition.rb +35 -0
- data/templates/ubuntu-11.10-server-i386/postinstall.sh +89 -0
- data/templates/ubuntu-11.10-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.1-server-amd64-packages/definition.rb +35 -0
- data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +74 -0
- data/templates/ubuntu-12.04.1-server-amd64-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.1-server-amd64/definition.rb +35 -0
- data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +95 -0
- data/templates/ubuntu-12.04.1-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.1-server-i386-packages/definition.rb +35 -0
- data/templates/ubuntu-12.04.1-server-i386-packages/postinstall.sh +75 -0
- data/templates/ubuntu-12.04.1-server-i386-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.1-server-i386/definition.rb +35 -0
- data/templates/ubuntu-12.04.1-server-i386/postinstall.sh +96 -0
- data/templates/ubuntu-12.04.1-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.2-server-amd64-packages/definition.rb +35 -0
- data/templates/ubuntu-12.04.2-server-amd64-packages/postinstall.sh +78 -0
- data/templates/ubuntu-12.04.2-server-amd64-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.2-server-amd64/definition.rb +35 -0
- data/templates/ubuntu-12.04.2-server-amd64/postinstall.sh +97 -0
- data/templates/ubuntu-12.04.2-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.2-server-i386-packages/definition.rb +35 -0
- data/templates/ubuntu-12.04.2-server-i386-packages/postinstall.sh +75 -0
- data/templates/ubuntu-12.04.2-server-i386-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.04.2-server-i386/definition.rb +35 -0
- data/templates/ubuntu-12.04.2-server-i386/postinstall.sh +96 -0
- data/templates/ubuntu-12.04.2-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-12.10-server-amd64-packages/definition.rb +35 -0
- data/templates/ubuntu-12.10-server-amd64-packages/postinstall.sh +75 -0
- data/templates/ubuntu-12.10-server-amd64-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.10-server-amd64/definition.rb +35 -0
- data/templates/ubuntu-12.10-server-amd64/postinstall.sh +97 -0
- data/templates/ubuntu-12.10-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-12.10-server-i386-packages/definition.rb +35 -0
- data/templates/ubuntu-12.10-server-i386-packages/postinstall.sh +75 -0
- data/templates/ubuntu-12.10-server-i386-packages/preseed.cfg +87 -0
- data/templates/ubuntu-12.10-server-i386/definition.rb +35 -0
- data/templates/ubuntu-12.10-server-i386/postinstall.sh +98 -0
- data/templates/ubuntu-12.10-server-i386/preseed.cfg +87 -0
- data/templates/ubuntu-8.04.4-server-amd64/definition.rb +26 -0
- data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +70 -0
- data/templates/ubuntu-8.04.4-server-amd64/preseed.cfg +87 -0
- data/templates/ubuntu-8.04.4-server-i386/definition.rb +25 -0
- data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +70 -0
- data/templates/ubuntu-8.04.4-server-i386/preseed.cfg +87 -0
- data/templates/windows-2008R1-serverstandard-amd64/Autounattend.xml +146 -0
- data/templates/windows-2008R1-serverstandard-amd64/README.md +134 -0
- data/templates/windows-2008R1-serverstandard-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-2008R1-serverstandard-amd64/definition.rb +114 -0
- data/templates/windows-2008R1-serverstandard-amd64/install-cygwin-sshd.bat +41 -0
- data/templates/windows-2008R1-serverstandard-amd64/install-guest-additions.bat +5 -0
- data/templates/windows-2008R1-serverstandard-amd64/install-winrm.bat +16 -0
- data/templates/windows-2008R1-serverstandard-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R1-serverstandard-amd64/postinstall.sh +75 -0
- data/templates/windows-2008R1-serverstandard-amd64/sudo +2 -0
- data/templates/windows-2008R1-serverstandard-amd64/winrm.rb +8 -0
- data/templates/windows-2008R1-serverweb-amd64/Autounattend.xml +162 -0
- data/templates/windows-2008R1-serverweb-amd64/README.md +134 -0
- data/templates/windows-2008R1-serverweb-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-2008R1-serverweb-amd64/definition.rb +131 -0
- data/templates/windows-2008R1-serverweb-amd64/install-cygwin-sshd.bat +40 -0
- data/templates/windows-2008R1-serverweb-amd64/install-guest-additions.bat +5 -0
- data/templates/windows-2008R1-serverweb-amd64/install-vbox-guest.bat +2 -0
- data/templates/windows-2008R1-serverweb-amd64/install-winrm.bat +16 -0
- data/templates/windows-2008R1-serverweb-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R1-serverweb-amd64/postinstall.sh +74 -0
- data/templates/windows-2008R1-serverweb-amd64/sudo +2 -0
- data/templates/windows-2008R1-serverweb-amd64/winrm.rb +8 -0
- data/templates/windows-2008R1-serverweb-i386/Autounattend.xml +142 -0
- data/templates/windows-2008R1-serverweb-i386/README.md +136 -0
- data/templates/windows-2008R1-serverweb-i386/cygwin-setup.exe +0 -0
- data/templates/windows-2008R1-serverweb-i386/definition.rb +132 -0
- data/templates/windows-2008R1-serverweb-i386/install-cygwin-sshd.bat +40 -0
- data/templates/windows-2008R1-serverweb-i386/install-vbox-guest.bat +2 -0
- data/templates/windows-2008R1-serverweb-i386/install-winrm.bat +14 -0
- data/templates/windows-2008R1-serverweb-i386/oracle-cert.cer +0 -0
- data/templates/windows-2008R1-serverweb-i386/postinstall.sh +74 -0
- data/templates/windows-2008R1-serverweb-i386/sudo +2 -0
- data/templates/windows-2008R1-serverweb-i386/winrm.rb +8 -0
- data/templates/windows-2008R1-serverwebcore-amd64/Autounattend.xml +162 -0
- data/templates/windows-2008R1-serverwebcore-amd64/README.md +134 -0
- data/templates/windows-2008R1-serverwebcore-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-2008R1-serverwebcore-amd64/definition.rb +132 -0
- data/templates/windows-2008R1-serverwebcore-amd64/install-cygwin-sshd.bat +41 -0
- data/templates/windows-2008R1-serverwebcore-amd64/install-vbox-guest.bat +2 -0
- data/templates/windows-2008R1-serverwebcore-amd64/install-winrm.bat +14 -0
- data/templates/windows-2008R1-serverwebcore-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R1-serverwebcore-amd64/postinstall.sh +74 -0
- data/templates/windows-2008R1-serverwebcore-amd64/sudo +2 -0
- data/templates/windows-2008R1-serverwebcore-amd64/winrm.rb +8 -0
- data/templates/windows-2008R2-amd64/Autounattend.xml +132 -0
- data/templates/windows-2008R2-amd64/README.md +68 -0
- data/templates/windows-2008R2-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-2008R2-amd64/definition.rb +16 -0
- data/templates/windows-2008R2-amd64/install-cygwin-sshd.bat +38 -0
- data/templates/windows-2008R2-amd64/install-winrm.bat +8 -0
- data/templates/windows-2008R2-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R2-amd64/postinstall.sh +122 -0
- data/templates/windows-2008R2-amd64/win7/Autounattend.xml +180 -0
- data/templates/windows-2008R2-amd64/winrm.rb +8 -0
- data/templates/windows-2008R2-serverstandard-amd64-winrm/Autounattend.xml +230 -0
- data/templates/windows-2008R2-serverstandard-amd64-winrm/README.md +87 -0
- data/templates/windows-2008R2-serverstandard-amd64-winrm/definition.rb +33 -0
- data/templates/windows-2008R2-serverstandard-amd64-winrm/install-chef.bat +2 -0
- data/templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat +4 -0
- data/templates/windows-2008R2-serverstandard-amd64-winrm/oracle-cert.cer +0 -0
- data/templates/windows-2008R2-serverstandard-amd64-winrm/postinstall.sh +74 -0
- data/templates/windows-2008R2-serverstandard-amd64/Autounattend.xml +147 -0
- data/templates/windows-2008R2-serverstandard-amd64/README.md +142 -0
- data/templates/windows-2008R2-serverstandard-amd64/definition.rb +43 -0
- data/templates/windows-2008R2-serverstandard-amd64/install-cygwin-sshd.bat +41 -0
- data/templates/windows-2008R2-serverstandard-amd64/install-winrm.bat +11 -0
- data/templates/windows-2008R2-serverstandard-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R2-serverstandard-amd64/postinstall.sh +74 -0
- data/templates/windows-2008R2-serverweb-amd64/Autounattend.xml +151 -0
- data/templates/windows-2008R2-serverweb-amd64/README.md +142 -0
- data/templates/windows-2008R2-serverweb-amd64/definition.rb +38 -0
- data/templates/windows-2008R2-serverweb-amd64/install-cygwin-sshd.bat +40 -0
- data/templates/windows-2008R2-serverweb-amd64/install-vbox-guest.bat +2 -0
- data/templates/windows-2008R2-serverweb-amd64/install-winrm.bat +11 -0
- data/templates/windows-2008R2-serverweb-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R2-serverweb-amd64/postinstall.sh +74 -0
- data/templates/windows-2008R2-serverwebcore-amd64/Autounattend.xml +145 -0
- data/templates/windows-2008R2-serverwebcore-amd64/README.md +142 -0
- data/templates/windows-2008R2-serverwebcore-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-2008R2-serverwebcore-amd64/definition.rb +46 -0
- data/templates/windows-2008R2-serverwebcore-amd64/install-cygwin-sshd.bat +41 -0
- data/templates/windows-2008R2-serverwebcore-amd64/install-vbox-guest.bat +2 -0
- data/templates/windows-2008R2-serverwebcore-amd64/install-winrm.bat +11 -0
- data/templates/windows-2008R2-serverwebcore-amd64/oracle-cert.cer +0 -0
- data/templates/windows-2008R2-serverwebcore-amd64/postinstall.sh +74 -0
- data/templates/windows-7-enterprise-amd64-winrm/Autounattend.xml +233 -0
- data/templates/windows-7-enterprise-amd64-winrm/README.md +52 -0
- data/templates/windows-7-enterprise-amd64-winrm/definition.rb +27 -0
- data/templates/windows-7-enterprise-amd64-winrm/install-chef.bat +2 -0
- data/templates/windows-7-enterprise-amd64-winrm/install-fusion.bat +18 -0
- data/templates/windows-7-enterprise-amd64-winrm/install-puppet.bat +4 -0
- data/templates/windows-7-enterprise-amd64-winrm/install-vbox.bat +4 -0
- data/templates/windows-7-enterprise-amd64-winrm/oracle-cert.cer +0 -0
- data/templates/windows-7-enterprise-amd64-winrm/postinstall.bat +74 -0
- data/templates/windows-7-enterprise-amd64/Autounattend.xml +155 -0
- data/templates/windows-7-enterprise-amd64/README.md +52 -0
- data/templates/windows-7-enterprise-amd64/definition.rb +40 -0
- data/templates/windows-7-enterprise-amd64/install-cygwin-sshd.bat +40 -0
- data/templates/windows-7-enterprise-amd64/install-vbox-guest.bat +2 -0
- data/templates/windows-7-enterprise-amd64/install-winrm.bat +14 -0
- data/templates/windows-7-enterprise-amd64/oracle-cert.cer +0 -0
- data/templates/windows-7-enterprise-amd64/postinstall.sh +74 -0
- data/templates/windows-7-enterprise-i386/Autounattend.xml +151 -0
- data/templates/windows-7-enterprise-i386/README.md +169 -0
- data/templates/windows-7-enterprise-i386/definition.rb +40 -0
- data/templates/windows-7-enterprise-i386/install-cygwin-sshd.bat +40 -0
- data/templates/windows-7-enterprise-i386/install-winrm.bat +14 -0
- data/templates/windows-7-enterprise-i386/oracle-cert.cer +0 -0
- data/templates/windows-7-enterprise-i386/postinstall.sh +74 -0
- data/templates/windows-7-premium-amd64/Autounattend.xml +152 -0
- data/templates/windows-7-premium-amd64/README.md +171 -0
- data/templates/windows-7-premium-amd64/definition.rb +38 -0
- data/templates/windows-7-premium-amd64/install-chefclient.bat +44 -0
- data/templates/windows-7-premium-amd64/install-winrm.bat +11 -0
- data/templates/windows-7-premium-amd64/oracle-cert.cer +0 -0
- data/templates/windows-7-premium-amd64/postinstall.sh +124 -0
- data/templates/windows-7-premium-amd64/winrm.rb +8 -0
- data/templates/windows-7-professional-amd64/Autounattend.xml +152 -0
- data/templates/windows-7-professional-amd64/README.md +171 -0
- data/templates/windows-7-professional-amd64/definition.rb +41 -0
- data/templates/windows-7-professional-amd64/install-cygwin-sshd.bat +40 -0
- data/templates/windows-7-professional-amd64/install-winrm.bat +14 -0
- data/templates/windows-7-professional-amd64/oracle-cert.cer +0 -0
- data/templates/windows-7-professional-amd64/postinstall.sh +74 -0
- data/templates/windows-7-ultimate-amd64/Autounattend.xml +152 -0
- data/templates/windows-7-ultimate-amd64/README.md +89 -0
- data/templates/windows-7-ultimate-amd64/definition.rb +41 -0
- data/templates/windows-7-ultimate-amd64/install-cygwin-sshd.bat +40 -0
- data/templates/windows-7-ultimate-amd64/install-winrm.bat +14 -0
- data/templates/windows-7-ultimate-amd64/oracle-cert.cer +0 -0
- data/templates/windows-7-ultimate-amd64/postinstall.sh +74 -0
- data/templates/windows-7sp1-ultimate-amd64/Autounattend.xml +149 -0
- data/templates/windows-7sp1-ultimate-amd64/README.md +89 -0
- data/templates/windows-7sp1-ultimate-amd64/definition.rb +42 -0
- data/templates/windows-7sp1-ultimate-amd64/install-cygwin-sshd.bat +40 -0
- data/templates/windows-7sp1-ultimate-amd64/install-winrm.bat +14 -0
- data/templates/windows-7sp1-ultimate-amd64/oracle-cert.cer +0 -0
- data/templates/windows-7sp1-ultimate-amd64/postinstall.sh +74 -0
- data/templates/windows-8-amd64/Autounattend.xml +140 -0
- data/templates/windows-8-amd64/README.md +134 -0
- data/templates/windows-8-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-8-amd64/definition.rb +101 -0
- data/templates/windows-8-amd64/install-cygwin-sshd.bat +38 -0
- data/templates/windows-8-amd64/install-winrm.bat +11 -0
- data/templates/windows-8-amd64/oracle-cert.cer +0 -0
- data/templates/windows-8-amd64/postinstall.sh +122 -0
- data/templates/windows-8-amd64/winrm.rb +8 -0
- data/templates/windows-8-i386/Autounattend.xml +140 -0
- data/templates/windows-8-i386/README.md +134 -0
- data/templates/windows-8-i386/cygwin-setup.exe +0 -0
- data/templates/windows-8-i386/definition.rb +101 -0
- data/templates/windows-8-i386/install-cygwin-sshd.bat +38 -0
- data/templates/windows-8-i386/install-winrm.bat +11 -0
- data/templates/windows-8-i386/oracle-cert.cer +0 -0
- data/templates/windows-8-i386/postinstall.sh +122 -0
- data/templates/windows-8-i386/winrm.rb +8 -0
- data/templates/windows-8-preview-amd64/Autounattend.xml +140 -0
- data/templates/windows-8-preview-amd64/README.md +134 -0
- data/templates/windows-8-preview-amd64/cygwin-setup.exe +0 -0
- data/templates/windows-8-preview-amd64/definition.rb +114 -0
- data/templates/windows-8-preview-amd64/install-cygwin-sshd.bat +38 -0
- data/templates/windows-8-preview-amd64/install-winrm.bat +11 -0
- data/templates/windows-8-preview-amd64/oracle-cert.cer +0 -0
- data/templates/windows-8-preview-amd64/postinstall.sh +122 -0
- data/templates/windows-8-preview-amd64/winrm.rb +8 -0
- data/test/build_realtest.rb +72 -0
- data/test/definition_test.rb +11 -0
- data/test/definitions/test_definition/_disabled_postinstall.sh +1 -0
- data/test/definitions/test_definition/autorun0 +3 -0
- data/test/definitions/test_definition/definition.rb +24 -0
- data/test/definitions/test_definition/enabled_postinstall.sh +1 -0
- data/test/environment_test.rb +67 -0
- data/test/veewee/provider/virtualbox/box/helper/guest_additions_test.rb +95 -0
- data/test/veewee/provider/virtualbox/box/helper/version.rb +67 -0
- data/validation/features/steps/ssh_steps.old +170 -0
- data/validation/features/steps/veewee_steps.rb +27 -0
- data/validation/support/env.rb +1 -0
- data/validation/vagrant-private.key +27 -0
- data/validation/vagrant.pub +1 -0
- data/validation/veewee-windows.feature +34 -0
- data/validation/veewee.feature +45 -0
- data/veewee.gemspec +50 -0
- metadata +1403 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
require 'net/http'
|
2
|
+
|
3
|
+
# Name spacing variables as they are executed inside veewee code
|
4
|
+
template_uri = 'http://distfiles.gentoo.org/releases/x86/autobuilds/latest-install-x86-minimal.txt'
|
5
|
+
template_build = Net::HTTP.get_response( URI.parse( template_uri ) ).body
|
6
|
+
template_build = /^(([^#].*)\/(.*))/.match( template_build )
|
7
|
+
template_uri = "http://distfiles.gentoo.org/releases/x86/autobuilds/#{template_build[1]}.DIGESTS"
|
8
|
+
template_digest = Net::HTTP.get_response( URI.parse( template_uri ) ).body
|
9
|
+
template_digest = Regexp.new( '^([a-z0-9]{32})\s+ ' + Regexp.escape( template_build[3] ) + '$').match( template_digest )[1]
|
10
|
+
|
11
|
+
|
12
|
+
Veewee::Definition.declare( {
|
13
|
+
:cpu_count => '1', :memory_size=> '768',
|
14
|
+
:disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
|
15
|
+
:os_type_id => 'Gentoo',
|
16
|
+
:iso_file => template_build[3],
|
17
|
+
:iso_src => "http://distfiles.gentoo.org/releases/x86/autobuilds/#{template_build[1]}",
|
18
|
+
:iso_md5 => template_digest,
|
19
|
+
:iso_download_timeout => "1000",
|
20
|
+
:boot_wait => "10",:boot_cmd_sequence => [
|
21
|
+
'<Wait>'*2,
|
22
|
+
'gentoo-nofb<Enter>',
|
23
|
+
'<Wait>'*10,
|
24
|
+
'<Enter>',
|
25
|
+
'<Wait>'*10,
|
26
|
+
'net-setup eth0<Enter>',
|
27
|
+
'<Wait><Enter>',
|
28
|
+
'2<Enter>',
|
29
|
+
'1<Enter>',
|
30
|
+
'<Wait><Wait>ifconfig -a <Enter>',
|
31
|
+
#'sleep 5 ;curl http://%IP%:%PORT%/stages.sh -o stages.sh &&',
|
32
|
+
#'bash stages.sh &<Enter>',
|
33
|
+
'passwd<Enter><Wait><Wait>',
|
34
|
+
'vagrant<Enter><Wait>',
|
35
|
+
'vagrant<Enter><Wait>',
|
36
|
+
'/etc/init.d/sshd start<Enter>'
|
37
|
+
],
|
38
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000",:kickstart_file => "",
|
39
|
+
:ssh_login_timeout => "10000",:ssh_user => "root", :ssh_password => "vagrant",:ssh_key => "",
|
40
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
41
|
+
:sudo_cmd => "cat '%f'|su -",
|
42
|
+
:shutdown_cmd => "shutdown -p now",
|
43
|
+
:postinstall_files => [ "postinstall.sh"],:postinstall_timeout => "10000"
|
44
|
+
}
|
45
|
+
)
|
@@ -0,0 +1,184 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
date > /etc/vagrant_box_build_time
|
4
|
+
|
5
|
+
#Based on http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
|
6
|
+
|
7
|
+
#Partition the disk
|
8
|
+
#This assumes a predefined layout - customize to your own liking
|
9
|
+
|
10
|
+
#/boot -> /dev/sda1
|
11
|
+
#swap -> /dev/sda2
|
12
|
+
#root -> /dev/sda3
|
13
|
+
|
14
|
+
sfdisk --force /dev/sda <<EOF
|
15
|
+
# partition table of /dev/sda
|
16
|
+
unit: sectors
|
17
|
+
|
18
|
+
/dev/sda1 : start= 2048, size= 409600, Id=83
|
19
|
+
/dev/sda2 : start= 411648, size= 2097152, Id=82
|
20
|
+
/dev/sda3 : start= 2508800, size= 18257920, Id=83
|
21
|
+
/dev/sda4 : start= 0, size= 0, Id= 0
|
22
|
+
EOF
|
23
|
+
|
24
|
+
sleep 2
|
25
|
+
|
26
|
+
#Format the /boot
|
27
|
+
mke2fs /dev/sda1
|
28
|
+
|
29
|
+
#Main partition /
|
30
|
+
mke2fs -j /dev/sda3
|
31
|
+
|
32
|
+
#Format the swap and use it
|
33
|
+
mkswap /dev/sda2
|
34
|
+
swapon /dev/sda2
|
35
|
+
|
36
|
+
#Mount the new disk
|
37
|
+
mkdir /mnt/gentoo
|
38
|
+
mount /dev/sda3 /mnt/gentoo
|
39
|
+
mkdir /mnt/gentoo/boot
|
40
|
+
mount /dev/sda1 /mnt/gentoo/boot
|
41
|
+
cd /mnt/gentoo
|
42
|
+
|
43
|
+
#Note: we retry as sometimes mirrors fail to have the files
|
44
|
+
|
45
|
+
#Download a stage3 archive
|
46
|
+
while true; do
|
47
|
+
wget ftp://distfiles.gentoo.org/gentoo/releases/x86/current-stage3/stage3-i686-*.tar.bz2 && > gotstage3
|
48
|
+
if [ -f "gotstage3" ]
|
49
|
+
then
|
50
|
+
break
|
51
|
+
else
|
52
|
+
echo "trying in 2seconds"
|
53
|
+
sleep 2
|
54
|
+
fi
|
55
|
+
done
|
56
|
+
tar xjpf stage3*
|
57
|
+
|
58
|
+
#Download Portage snapshot
|
59
|
+
cd /mnt/gentoo/usr
|
60
|
+
while true; do
|
61
|
+
wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2 && > gotportage
|
62
|
+
if [ -f "gotportage" ]
|
63
|
+
then
|
64
|
+
break
|
65
|
+
else
|
66
|
+
echo "trying in 2seconds"
|
67
|
+
sleep 2
|
68
|
+
fi
|
69
|
+
done
|
70
|
+
|
71
|
+
tar xjf portage-lat*
|
72
|
+
|
73
|
+
#Chroot
|
74
|
+
cd /
|
75
|
+
mount -t proc proc /mnt/gentoo/proc
|
76
|
+
mount --rbind /dev /mnt/gentoo/dev
|
77
|
+
cp -L /etc/resolv.conf /mnt/gentoo/etc/
|
78
|
+
echo "env-update && source /etc/profile" | chroot /mnt/gentoo /bin/bash -
|
79
|
+
|
80
|
+
# Get the kernel sources
|
81
|
+
echo "emerge gentoo-sources" | chroot /mnt/gentoo /bin/bash -
|
82
|
+
|
83
|
+
# We will use genkernel to automate the kernel compilation
|
84
|
+
# http://www.gentoo.org/doc/en/genkernel.xml
|
85
|
+
echo "emerge grub" | chroot /mnt/gentoo /bin/bash -
|
86
|
+
echo "emerge genkernel" | chroot /mnt/gentoo /bin/bash -
|
87
|
+
echo "genkernel --bootloader=grub --real_root=/dev/sda3 --no-splash --install all" | chroot /mnt/gentoo /bin/bash -
|
88
|
+
|
89
|
+
cat <<EOF | chroot /mnt/gentoo /bin/bash -
|
90
|
+
cat <<FSTAB > /etc/fstab
|
91
|
+
/dev/sda1 /boot ext2 noauto,noatime 1 2
|
92
|
+
/dev/sda3 / ext3 noatime 0 1
|
93
|
+
/dev/sda2 none swap sw 0 0
|
94
|
+
FSTAB
|
95
|
+
EOF
|
96
|
+
|
97
|
+
|
98
|
+
#We need some things to do here
|
99
|
+
#Network
|
100
|
+
cat <<EOF | chroot /mnt/gentoo /bin/bash -
|
101
|
+
cd /etc/conf.d
|
102
|
+
echo 'config_eth0=( "dhcp" )' >> net
|
103
|
+
#echo 'dhcpd_eth0=( "-t 10" )' >> net
|
104
|
+
#echo 'dhcp_eth0=( "release nodns nontp nois" )' >> net
|
105
|
+
rc-update add net.eth0 default
|
106
|
+
#Module?
|
107
|
+
rc-update add sshd default
|
108
|
+
EOF
|
109
|
+
|
110
|
+
#Root password
|
111
|
+
|
112
|
+
# Cron & Syslog
|
113
|
+
echo "emerge syslog-ng vixie-cron" | chroot /mnt/gentoo sh -
|
114
|
+
echo "rc-update add syslog-ng default" | chroot /mnt/gentoo sh -
|
115
|
+
echo "rc-update add vixie-cron default" | chroot /mnt/gentoo sh -
|
116
|
+
|
117
|
+
#Get an editor going
|
118
|
+
echo "emerge vim" | chroot /mnt/gentoo sh -
|
119
|
+
|
120
|
+
#Allow external ssh
|
121
|
+
echo "echo 'sshd:ALL' > /etc/hosts.allow" | chroot /mnt/gentoo sh -
|
122
|
+
echo "echo 'ALL:ALL' > /etc/hosts.deny" | chroot /mnt/gentoo sh -
|
123
|
+
|
124
|
+
#create vagrant user / password vagrant
|
125
|
+
chroot /mnt/gentoo useradd -m -r vagrant -p '$1$MPmczGP9$1SeNO4bw5YgiEJuo/ZkWq1'
|
126
|
+
|
127
|
+
#Configure Sudo
|
128
|
+
chroot /mnt/gentoo emerge sudo
|
129
|
+
echo "echo 'vagrant ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" | chroot /mnt/gentoo sh -
|
130
|
+
|
131
|
+
#Installing vagrant keys
|
132
|
+
chroot /mnt/gentoo emerge wget
|
133
|
+
|
134
|
+
echo "creating vagrant ssh keys"
|
135
|
+
chroot /mnt/gentoo mkdir /home/vagrant/.ssh
|
136
|
+
chroot /mnt/gentoo chmod 700 /home/vagrant/.ssh
|
137
|
+
chroot /mnt/gentoo cd /home/vagrant/.ssh
|
138
|
+
chroot /mnt/gentoo wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
139
|
+
chroot /mnt/gentoo chmod 600 /home/vagrant/.ssh/authorized_keys
|
140
|
+
chroot /mnt/gentoo chown -R vagrant /home/vagrant/.ssh
|
141
|
+
|
142
|
+
#This could be done in postinstall
|
143
|
+
#reboot
|
144
|
+
|
145
|
+
#get some ruby running
|
146
|
+
chroot /mnt/gentoo emerge git curl gcc automake m4
|
147
|
+
chroot /mnt/gentoo emerge libiconv readline zlib openssl curl git libyaml sqlite libxslt
|
148
|
+
echo "bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)"| chroot /mnt/gentoo /bin/bash -
|
149
|
+
echo "/usr/local/rvm/bin/rvm install ruby-1.8.7 "| chroot /mnt/gentoo sh -
|
150
|
+
echo "/usr/local/rvm/bin/rvm use ruby-1.8.7 --default "| chroot /mnt/gentoo sh -
|
151
|
+
|
152
|
+
#Installing chef & Puppet
|
153
|
+
echo ". /usr/local/rvm/scripts/rvm ; gem install chef --no-ri --no-rdoc"| chroot /mnt/gentoo sh -
|
154
|
+
echo ". /usr/local/rvm/scripts/rvm ; gem install puppet --no-ri --no-rdoc"| chroot /mnt/gentoo sh -
|
155
|
+
|
156
|
+
|
157
|
+
echo "adding rvm to global bash rc"
|
158
|
+
echo "echo '. /usr/local/rvm/scripts/rvm' >> /etc/bash/bash.rc" | chroot /mnt/gentoo sh -
|
159
|
+
|
160
|
+
/bin/cp -f /root/.vbox_version /mnt/gentoo/home/vagrant/.vbox_version
|
161
|
+
VBOX_VERSION=$(cat /root/.vbox_version)
|
162
|
+
|
163
|
+
#Kernel headers
|
164
|
+
chroot /mnt/gentoo emerge linux-headers
|
165
|
+
|
166
|
+
#Installing the virtualbox guest additions
|
167
|
+
cat <<EOF | chroot /mnt/gentoo /bin/bash -
|
168
|
+
cd /tmp
|
169
|
+
mkdir /mnt/vbox
|
170
|
+
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
|
171
|
+
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt/vbox
|
172
|
+
sh /mnt/vbox/VBoxLinuxAdditions.run
|
173
|
+
#umount /mnt/vbox
|
174
|
+
#rm VBoxGuestAdditions_$VBOX_VERSION.iso
|
175
|
+
EOF
|
176
|
+
|
177
|
+
echo "sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 rc.vboxadd):' /etc/rc.conf" | chroot /mnt/gentoo sh -
|
178
|
+
|
179
|
+
exit
|
180
|
+
cd /
|
181
|
+
umount /mnt/gentoo/{proc,sys,dev}
|
182
|
+
umount /mnt/gentoo
|
183
|
+
|
184
|
+
reboot
|
@@ -0,0 +1,83 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
source /etc/profile
|
3
|
+
|
4
|
+
# partition the disk (http://www.rodsbooks.com/gdisk/sgdisk.html)
|
5
|
+
sgdisk -n 1:0:+128M -t 1:8300 -c 1:"linux-boot" \
|
6
|
+
-n 2:0:+32M -t 2:ef02 -c 2:"bios-boot" \
|
7
|
+
-n 3:0:+1G -t 3:8200 -c 3:"swap" \
|
8
|
+
-n 4:0:0 -t 4:8300 -c 4:"linux-root" \
|
9
|
+
-p /dev/sda
|
10
|
+
|
11
|
+
sleep 1
|
12
|
+
|
13
|
+
# format partitions, mount swap
|
14
|
+
mkswap /dev/sda3
|
15
|
+
swapon /dev/sda3
|
16
|
+
mkfs.ext2 /dev/sda1
|
17
|
+
mkfs.ext4 /dev/sda4
|
18
|
+
|
19
|
+
# mount other partitions
|
20
|
+
mount /dev/sda4 "$chroot" && cd "$chroot" && mkdir boot && mount /dev/sda1 boot
|
21
|
+
|
22
|
+
# download stage 3, unpack it, delete the stage3 archive file
|
23
|
+
wget -nv --tries=5 "$stage3url"
|
24
|
+
tar xpf "$stage3file" && rm "$stage3file"
|
25
|
+
|
26
|
+
# prepeare chroot, update env
|
27
|
+
mount --bind /proc "$chroot/proc"
|
28
|
+
mount --bind /dev "$chroot/dev"
|
29
|
+
|
30
|
+
# copy nameserver information, save build timestamp
|
31
|
+
cp /etc/resolv.conf "$chroot/etc/"
|
32
|
+
date -u > "$chroot/etc/vagrant_box_build_time"
|
33
|
+
chroot "$chroot" env-update
|
34
|
+
|
35
|
+
# bring up eth0 and sshd on boot
|
36
|
+
chroot "$chroot" /bin/bash <<DATAEOF
|
37
|
+
cd /etc/conf.d
|
38
|
+
echo 'config_eth0=( "dhcp" )' >> net
|
39
|
+
ln -s net.lo /etc/init.d/net.eth0
|
40
|
+
rc-update add net.eth0 default
|
41
|
+
rc-update add sshd default
|
42
|
+
DATAEOF
|
43
|
+
|
44
|
+
# set fstab
|
45
|
+
cat <<DATAEOF > "$chroot/etc/fstab"
|
46
|
+
# <fs> <mountpoint> <type> <opts> <dump/pass>
|
47
|
+
/dev/sda1 /boot ext2 noauto,noatime 1 2
|
48
|
+
/dev/sda3 none swap sw 0 0
|
49
|
+
/dev/sda4 / ext4 noatime 0 1
|
50
|
+
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
51
|
+
DATAEOF
|
52
|
+
|
53
|
+
# set make options
|
54
|
+
cat <<DATAEOF > "$chroot/etc/portage/make.conf"
|
55
|
+
CHOST="$chost"
|
56
|
+
|
57
|
+
CFLAGS="-mtune=generic -O2 -pipe"
|
58
|
+
CXXFLAGS="\${CFLAGS}"
|
59
|
+
|
60
|
+
ACCEPT_KEYWORDS="$accept_keywords"
|
61
|
+
MAKEOPTS="-j$((1 + $nr_cpus)) -l$nr_cpus.5"
|
62
|
+
EMERGE_DEFAULT_OPTS="-j$nr_cpus --quiet-build=y"
|
63
|
+
FEATURES="\${FEATURES} parallel-fetch"
|
64
|
+
|
65
|
+
# english only
|
66
|
+
LINGUAS=""
|
67
|
+
|
68
|
+
# for X support if needed
|
69
|
+
INPUT_DEVICES="evdev"
|
70
|
+
VIDEO_CARDS="virtualbox"
|
71
|
+
DATAEOF
|
72
|
+
|
73
|
+
# set localtime
|
74
|
+
chroot "$chroot" ln -sf "/usr/share/zoneinfo/$timezone" /etc/localtime
|
75
|
+
|
76
|
+
# set locale
|
77
|
+
chroot "$chroot" /bin/bash <<DATAEOF
|
78
|
+
echo LANG=\"$locale\" > /etc/env.d/02locale
|
79
|
+
env-update && source /etc/profile
|
80
|
+
DATAEOF
|
81
|
+
|
82
|
+
# update portage tree to most current state
|
83
|
+
chroot "$chroot" emerge --sync
|
@@ -0,0 +1,23 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
source /etc/profile
|
3
|
+
|
4
|
+
# fix a weird issue with sshd not starting
|
5
|
+
# http://www.linuxquestions.org/questions/linux-networking-3/sshd-fatal-daemon-failed-no-such-device-279664/
|
6
|
+
chroot "$chroot" /bin/bash <<DATAEOF
|
7
|
+
rm -f /dev/null
|
8
|
+
mknod /dev/null c 1 3
|
9
|
+
chmod 0666 /dev/null
|
10
|
+
DATAEOF
|
11
|
+
|
12
|
+
# skip all the news
|
13
|
+
chroot "$chroot" /usr/bin/eselect news read all
|
14
|
+
|
15
|
+
# cleanup
|
16
|
+
chroot "$chroot" /bin/bash <<DATAEOF
|
17
|
+
# delete temp, cached and build artifact data
|
18
|
+
eclean -d distfiles
|
19
|
+
rm /tmp/*
|
20
|
+
rm -rf /var/log/*
|
21
|
+
rm -rf /var/tmp/*
|
22
|
+
rm -rf /root/.gem
|
23
|
+
DATAEOF
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'net/http'
|
2
|
+
|
3
|
+
template_uri = 'http://distfiles.gentoo.org/releases/x86/autobuilds/latest-install-x86-minimal.txt'
|
4
|
+
template_build = Net::HTTP.get_response(URI.parse(template_uri)).body
|
5
|
+
template_build = /^(([^#].*)\/(.*))/.match(template_build)
|
6
|
+
|
7
|
+
Veewee::Definition.declare({
|
8
|
+
:cpu_count => 1,
|
9
|
+
:memory_size => '360',
|
10
|
+
:disk_size => '40140',
|
11
|
+
:disk_format => 'VDI',
|
12
|
+
:hostiocache => 'off',
|
13
|
+
:os_type_id => 'Gentoo',
|
14
|
+
:iso_file => template_build[3],
|
15
|
+
:iso_src => "http://distfiles.gentoo.org/releases/x86/autobuilds/#{template_build[1]}",
|
16
|
+
:iso_download_timeout => 1000,
|
17
|
+
:boot_wait => "10",
|
18
|
+
:boot_cmd_sequence => [
|
19
|
+
'<Wait>' * 2,
|
20
|
+
'gentoo-nofb<Enter>',
|
21
|
+
'<Wait>' * 10,
|
22
|
+
'<Enter>',
|
23
|
+
'<Wait>' * 12,
|
24
|
+
'<Wait><Wait>ifconfig -a<Enter>',
|
25
|
+
'passwd<Enter><Wait><Wait>',
|
26
|
+
'vagrant<Enter><Wait>',
|
27
|
+
'vagrant<Enter><Wait>',
|
28
|
+
'/etc/init.d/sshd start<Enter>'
|
29
|
+
],
|
30
|
+
:kickstart_port => '7122',
|
31
|
+
:kickstart_timeout => 10000,
|
32
|
+
:kickstart_file => '',
|
33
|
+
:ssh_login_timeout => '10000',
|
34
|
+
:ssh_user => 'root',
|
35
|
+
:ssh_password => 'vagrant',
|
36
|
+
:ssh_key => '',
|
37
|
+
:ssh_host_port => '7222',
|
38
|
+
:ssh_guest_port => '22',
|
39
|
+
:sudo_cmd => "cat '%f'|su -",
|
40
|
+
:shutdown_cmd => 'shutdown -h now',
|
41
|
+
:postinstall_files => [
|
42
|
+
'settings.sh',
|
43
|
+
'base.sh',
|
44
|
+
'kernel.sh',
|
45
|
+
'virtualbox.sh',
|
46
|
+
'vagrant.sh',
|
47
|
+
#Choose your ruby way : source or portage?
|
48
|
+
#'ruby_portage.sh',
|
49
|
+
'ruby_source.sh',
|
50
|
+
'chef.sh',
|
51
|
+
'puppet.sh',
|
52
|
+
'cron.sh',
|
53
|
+
'syslog.sh',
|
54
|
+
'nfs.sh',
|
55
|
+
'grub.sh',
|
56
|
+
'cleanup.sh',
|
57
|
+
'zerodisk.sh',
|
58
|
+
'reboot.sh'
|
59
|
+
],
|
60
|
+
:postinstall_timeout => 10000
|
61
|
+
})
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
source /etc/profile
|
3
|
+
|
4
|
+
# install grub
|
5
|
+
chroot "$chroot" emerge grub
|
6
|
+
|
7
|
+
# add installed kernel entry
|
8
|
+
cat <<DATAEOF > "$chroot/boot/grub/grub.conf"
|
9
|
+
default 0
|
10
|
+
timeout 1
|
11
|
+
|
12
|
+
title=Gentoo Linux ($kernel_version-gentoo)
|
13
|
+
root (hd0,0)
|
14
|
+
kernel /boot/kernel-genkernel-x86-$kernel_version-gentoo root=/dev/ram0 real_root=/dev/sda4
|
15
|
+
initrd /boot/initramfs-genkernel-x86-$kernel_version-gentoo
|
16
|
+
DATAEOF
|
17
|
+
|
18
|
+
# make the disk bootable
|
19
|
+
chroot "$chroot" /bin/bash <<DATAEOF
|
20
|
+
source /etc/profile && \
|
21
|
+
env-update && \
|
22
|
+
grep -v rootfs /proc/mounts > /etc/mtab && \
|
23
|
+
grub-install --no-floppy /dev/sda
|
24
|
+
DATAEOF
|