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,75 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# var to determine package source
|
4
|
+
PKGSRC=net
|
5
|
+
|
6
|
+
date > /etc/vagrant_box_build_time
|
7
|
+
|
8
|
+
# launch automated install
|
9
|
+
su -c 'aif -p automatic -c aif.cfg'
|
10
|
+
|
11
|
+
# copy over the vbox version file
|
12
|
+
/bin/cp -f /root/.vbox_version /mnt/root/.vbox_version
|
13
|
+
|
14
|
+
# chroot into the new system
|
15
|
+
mount -o bind /dev /mnt/dev
|
16
|
+
mount -o bind /sys /mnt/sys
|
17
|
+
mount -t proc none /mnt/proc
|
18
|
+
chroot /mnt <<ENDCHROOT
|
19
|
+
|
20
|
+
# make sure network is up and a nameserver is available
|
21
|
+
dhcpcd eth0
|
22
|
+
|
23
|
+
# sudo setup
|
24
|
+
# note: do not use tabs here, it autocompletes and borks the sudoers file
|
25
|
+
cat <<EOF > /etc/sudoers
|
26
|
+
root ALL=(ALL) ALL
|
27
|
+
%wheel ALL=(ALL) NOPASSWD: ALL
|
28
|
+
EOF
|
29
|
+
|
30
|
+
# set up user accounts
|
31
|
+
passwd<<EOF
|
32
|
+
vagrant
|
33
|
+
vagrant
|
34
|
+
EOF
|
35
|
+
useradd -m -G wheel -r vagrant
|
36
|
+
passwd -d vagrant
|
37
|
+
passwd vagrant<<EOF
|
38
|
+
vagrant
|
39
|
+
vagrant
|
40
|
+
EOF
|
41
|
+
|
42
|
+
# create puppet group
|
43
|
+
groupadd puppet
|
44
|
+
|
45
|
+
# make sure sshd starts
|
46
|
+
sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
|
47
|
+
|
48
|
+
# install mitchellh's ssh key
|
49
|
+
mkdir /home/vagrant/.ssh
|
50
|
+
chmod 700 /home/vagrant/.ssh
|
51
|
+
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
52
|
+
chmod 600 /home/vagrant/.ssh/authorized_keys
|
53
|
+
chown -R vagrant /home/vagrant/.ssh
|
54
|
+
|
55
|
+
# choose a mirror
|
56
|
+
sed -i 's/^#\(.*leaseweb.*\)/\1/' /etc/pacman.d/mirrorlist
|
57
|
+
|
58
|
+
# install some packages
|
59
|
+
gem install --no-ri --no-rdoc chef facter
|
60
|
+
cd /tmp
|
61
|
+
git clone https://github.com/puppetlabs/puppet.git
|
62
|
+
cd puppet
|
63
|
+
ruby install.rb --bindir=/usr/bin --sbindir=/sbin 2>/dev/null
|
64
|
+
|
65
|
+
# set up networking
|
66
|
+
[[ $PKGSRC == 'net' ]] && sed -i 's/^\(interface=*\)/\1eth0/' /etc/rc.conf
|
67
|
+
|
68
|
+
# leave the chroot
|
69
|
+
ENDCHROOT
|
70
|
+
|
71
|
+
# take down network to prevent next postinstall.sh from starting too soon
|
72
|
+
/etc/rc.d/network stop
|
73
|
+
|
74
|
+
# and reboot!
|
75
|
+
reboot
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# install virtualbox guest additions
|
2
|
+
VBOX_VERSION=$(cat /root/.vbox_version)
|
3
|
+
cd /tmp
|
4
|
+
wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
|
5
|
+
mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
|
6
|
+
sh /mnt/VBoxLinuxAdditions.run
|
7
|
+
umount /mnt
|
8
|
+
rm VBoxGuestAdditions_"$VBOX_VERSION".iso
|
9
|
+
|
10
|
+
# host-only networking
|
11
|
+
cat >> /etc/rc.local <<EOF
|
12
|
+
# enable DHCP at boot on eth0
|
13
|
+
# See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
|
14
|
+
dhcpcd -k eth0
|
15
|
+
dhcpcd -nd eth0
|
16
|
+
EOF
|
17
|
+
|
18
|
+
# clean out pacman cache
|
19
|
+
pacman -Scc<<EOF
|
20
|
+
y
|
21
|
+
y
|
22
|
+
EOF
|
23
|
+
|
24
|
+
# zero out the fs
|
25
|
+
dd if=/dev/zero of=/clean bs=4M|| rm /clean
|
26
|
+
dd if=/dev/zero of=/tmp/clean bs=4M|| rm /tmp/clean
|
27
|
+
dd if=/dev/zero of=/boot/clean bs=4M|| rm /boot/clean
|
28
|
+
|
29
|
+
# and the final reboot!
|
30
|
+
#reboot
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Archlinux AIF config file
|
2
|
+
# created by Dave Simons
|
3
|
+
# 11/07/2011
|
4
|
+
|
5
|
+
# install source
|
6
|
+
SOURCE=cd
|
7
|
+
FILE_URL=file:///src/core/pkg
|
8
|
+
|
9
|
+
# time/date
|
10
|
+
HARDWARECLOCK=localtime
|
11
|
+
TIMEZONE=Europe/Brussels
|
12
|
+
|
13
|
+
# packages to install
|
14
|
+
TARGET_GROUPS=base
|
15
|
+
TARGET_PACKAGES='sudo openssh vim ruby kernel26-headers make gcc'
|
16
|
+
TARGET_PACKAGES_EXCLUDE='nano emacs wpa_supplicant xfsprogs reiserfsprogs pcmciautils mdadm jfsutils cryptsetup lvm2'
|
17
|
+
|
18
|
+
# hard drive setup
|
19
|
+
GRUB_DEVICE='/dev/sda'
|
20
|
+
PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4'
|
21
|
+
BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
|
22
|
+
/dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
|
23
|
+
/dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params'
|
24
|
+
|
25
|
+
worker_install_bootloader ()
|
26
|
+
{
|
27
|
+
cat << EOF > /mnt/boot/grub/device.map
|
28
|
+
(hd0) /dev/sda
|
29
|
+
EOF
|
30
|
+
grub-install $var_GRUB_DEVICE --root-directory=/mnt || return 1
|
31
|
+
bootdev=$(mount|grep $var_TARGET_DIR/boot|cut -d' ' -f1)
|
32
|
+
generate_grub_menulst || return 1
|
33
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
Veewee::Definition.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '256',
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
|
4
|
+
:os_type_id => 'ArchLinux',
|
5
|
+
:iso_file => "archlinux-2010.05-core-i686.iso",
|
6
|
+
:iso_src => "http://archlinux.mirror.kangaroot.net/iso/2010.05/archlinux-2010.05-core-i686.iso",
|
7
|
+
:iso_md5 => "5db5fd11713635cff208b11a498c59ef",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "5", :boot_cmd_sequence => [
|
10
|
+
'<Enter>',
|
11
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
12
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
13
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
14
|
+
'root<Enter>',
|
15
|
+
'dhcpcd eth0<Enter><Wait><Wait>',
|
16
|
+
'echo "sshd: ALL" > /etc/hosts.allow<Enter>',
|
17
|
+
'passwd<Enter>',
|
18
|
+
'vagrant<Enter>',
|
19
|
+
'vagrant<Enter>',
|
20
|
+
'/etc/rc.d/sshd start<Enter><Wait>',
|
21
|
+
'sleep 3 && wget http://%IP%:%PORT%/aif.cfg<Enter>',
|
22
|
+
],
|
23
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "aif.cfg",
|
24
|
+
:ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
25
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
26
|
+
:sudo_cmd => "sh '%f'",
|
27
|
+
:shutdown_cmd => "shutdown -h now",
|
28
|
+
:postinstall_files => [ "postinstall.sh"], :postinstall_timeout => "10000"
|
29
|
+
})
|
@@ -0,0 +1,106 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
date > /etc/vagrant_box_build_time
|
4
|
+
|
5
|
+
# launch automated install
|
6
|
+
su -c 'aif -p automatic -c aif.cfg'
|
7
|
+
|
8
|
+
# copy over the vbox version file
|
9
|
+
/bin/cp -f /root/.vbox_version /mnt/root/.vbox_version
|
10
|
+
VBOX_VERSION=$(cat /root/.vbox_version)
|
11
|
+
|
12
|
+
# chroot into the new system
|
13
|
+
mount -o bind /dev /mnt/dev
|
14
|
+
mount -o bind /sys /mnt/sys
|
15
|
+
mount -t proc none /mnt/proc
|
16
|
+
chroot /mnt <<ENDCHROOT
|
17
|
+
|
18
|
+
# make sure network is up and a nameserver is available
|
19
|
+
dhcpcd eth0
|
20
|
+
|
21
|
+
# sudo setup
|
22
|
+
# note: do not use tabs here, it autocompletes and borks the sudoers file
|
23
|
+
cat <<EOF > /etc/sudoers
|
24
|
+
root ALL=(ALL) ALL
|
25
|
+
%wheel ALL=(ALL) NOPASSWD: ALL
|
26
|
+
EOF
|
27
|
+
|
28
|
+
# set up user accounts
|
29
|
+
passwd<<EOF
|
30
|
+
vagrant
|
31
|
+
vagrant
|
32
|
+
EOF
|
33
|
+
useradd -m -G wheel -r vagrant
|
34
|
+
passwd -d vagrant
|
35
|
+
passwd vagrant<<EOF
|
36
|
+
vagrant
|
37
|
+
vagrant
|
38
|
+
EOF
|
39
|
+
|
40
|
+
# create puppet group
|
41
|
+
groupadd puppet
|
42
|
+
|
43
|
+
# make sure ssh is allowed
|
44
|
+
echo "sshd: ALL" > /etc/hosts.allow
|
45
|
+
|
46
|
+
# and everything else isn't
|
47
|
+
echo "ALL: ALL" > /etc/hosts.deny
|
48
|
+
|
49
|
+
# make sure sshd starts
|
50
|
+
sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
|
51
|
+
|
52
|
+
# install mitchellh's ssh key
|
53
|
+
mkdir /home/vagrant/.ssh
|
54
|
+
chmod 700 /home/vagrant/.ssh
|
55
|
+
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
56
|
+
chmod 600 /home/vagrant/.ssh/authorized_keys
|
57
|
+
chown -R vagrant /home/vagrant/.ssh
|
58
|
+
|
59
|
+
# choose a mirror
|
60
|
+
sed -i 's/^#\(.*leaseweb.*\)/\1/' /etc/pacman.d/mirrorlist
|
61
|
+
|
62
|
+
# update pacman
|
63
|
+
pacman -Syy
|
64
|
+
pacman -S --noconfirm pacman
|
65
|
+
|
66
|
+
# upgrade pacman db
|
67
|
+
pacman-db-upgrade
|
68
|
+
pacman -Syy
|
69
|
+
|
70
|
+
# install some packages
|
71
|
+
pacman -S --noconfirm glibc git
|
72
|
+
gem install --no-ri --no-rdoc chef facter
|
73
|
+
cd /tmp
|
74
|
+
git clone https://github.com/puppetlabs/puppet.git
|
75
|
+
cd puppet
|
76
|
+
ruby install.rb --bindir=/usr/bin --sbindir=/sbin
|
77
|
+
|
78
|
+
# install virtualbox guest additions
|
79
|
+
cd /tmp
|
80
|
+
wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
|
81
|
+
mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
|
82
|
+
sh /mnt/VBoxLinuxAdditions.run
|
83
|
+
umount /mnt
|
84
|
+
rm VBoxGuestAdditions_"$VBOX_VERSION".iso
|
85
|
+
|
86
|
+
# host-only networking
|
87
|
+
cat <<EOF
|
88
|
+
# enable DHCP at boot on eth0
|
89
|
+
# See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
|
90
|
+
dhcpcd -k eth0
|
91
|
+
dhcpcd -nd eth0
|
92
|
+
EOF >> /etc/rc.local
|
93
|
+
|
94
|
+
# clean out pacman cache
|
95
|
+
pacman -Scc<<EOF
|
96
|
+
y
|
97
|
+
y
|
98
|
+
EOF
|
99
|
+
|
100
|
+
# zero out the fs
|
101
|
+
dd if=/dev/zero of=/tmp/clean || rm /tmp/clean
|
102
|
+
|
103
|
+
ENDCHROOT
|
104
|
+
|
105
|
+
# and reboot!
|
106
|
+
reboot
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Archlinux AIF config file
|
2
|
+
# created by Dave Simons
|
3
|
+
# 21/09/2011
|
4
|
+
|
5
|
+
# install source
|
6
|
+
SOURCE=net
|
7
|
+
if [ -d /repo/core ]; then
|
8
|
+
TARGET_REPOSITORIES=(core 'file:///repo/$repo/$arch')
|
9
|
+
else
|
10
|
+
MIRROR='http://archlinux.mirror.kangaroot.net/$repo/os/$arch'
|
11
|
+
TARGET_REPOSITORIES=(core $var_MIRRORLIST extra $var_MIRRORLIST)
|
12
|
+
fi
|
13
|
+
|
14
|
+
# time/date
|
15
|
+
HARDWARECLOCK=localtime
|
16
|
+
TIMEZONE=Europe/Brussels
|
17
|
+
|
18
|
+
# packages to install
|
19
|
+
TARGET_GROUPS=base
|
20
|
+
TARGET_PACKAGES='sudo openssh vim ruby linux-headers make gcc glibc git perl net-tools'
|
21
|
+
TARGET_PACKAGES_EXCLUDE='nano emacs wpa_supplicant xfsprogs reiserfsprogs pcmciautils mdadm jfsutils cryptsetup lvm2'
|
22
|
+
|
23
|
+
# hard drive setup
|
24
|
+
GRUB_DEVICE='/dev/sda'
|
25
|
+
PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4'
|
26
|
+
BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
|
27
|
+
/dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
|
28
|
+
/dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
Veewee::Session.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '256',
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
|
4
|
+
:os_type_id => 'ArchLinux_64',
|
5
|
+
:iso_file => "archlinux-2011.08.19-netinstall-x86_64.iso",
|
6
|
+
:iso_src => "http://archlinux.mirror.kangaroot.net/iso/2011.08.19/archlinux-2011.08.19-netinstall-x86_64.iso",
|
7
|
+
:iso_md5 => "03a328dfd7a2f901995d77bcf645130c",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "5", :boot_cmd_sequence => [
|
10
|
+
'<Enter>',
|
11
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
12
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
13
|
+
'dhcpcd eth0<Enter><Wait><Wait><Wait><Wait>',
|
14
|
+
'passwd<Enter>',
|
15
|
+
'vagrant<Enter>',
|
16
|
+
'vagrant<Enter>',
|
17
|
+
'/etc/rc.d/sshd start<Enter><Wait>',
|
18
|
+
'sleep 10 && wget 10.0.2.2:7122/aif.cfg<Enter>',
|
19
|
+
],
|
20
|
+
:kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "aif.cfg",
|
21
|
+
:ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
22
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
23
|
+
:sudo_cmd => "sh '%f'",
|
24
|
+
:shutdown_cmd => "shutdown -h now",
|
25
|
+
:postinstall_files => [ "postinstall.sh", "postinstall2.sh"], :postinstall_timeout => "10000"
|
26
|
+
})
|
@@ -0,0 +1,75 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# var to determine package source
|
4
|
+
PKGSRC=net
|
5
|
+
|
6
|
+
date > /etc/vagrant_box_build_time
|
7
|
+
|
8
|
+
# launch automated install
|
9
|
+
su -c 'aif -p automatic -c aif.cfg'
|
10
|
+
|
11
|
+
# copy over the vbox version file
|
12
|
+
/bin/cp -f /root/.vbox_version /mnt/root/.vbox_version
|
13
|
+
|
14
|
+
# chroot into the new system
|
15
|
+
mount -o bind /dev /mnt/dev
|
16
|
+
mount -o bind /sys /mnt/sys
|
17
|
+
mount -t proc none /mnt/proc
|
18
|
+
chroot /mnt <<ENDCHROOT
|
19
|
+
|
20
|
+
# make sure network is up and a nameserver is available
|
21
|
+
dhcpcd eth0
|
22
|
+
|
23
|
+
# sudo setup
|
24
|
+
# note: do not use tabs here, it autocompletes and borks the sudoers file
|
25
|
+
cat <<EOF > /etc/sudoers
|
26
|
+
root ALL=(ALL) ALL
|
27
|
+
%wheel ALL=(ALL) NOPASSWD: ALL
|
28
|
+
EOF
|
29
|
+
|
30
|
+
# set up user accounts
|
31
|
+
passwd<<EOF
|
32
|
+
vagrant
|
33
|
+
vagrant
|
34
|
+
EOF
|
35
|
+
useradd -m -G wheel -r vagrant
|
36
|
+
passwd -d vagrant
|
37
|
+
passwd vagrant<<EOF
|
38
|
+
vagrant
|
39
|
+
vagrant
|
40
|
+
EOF
|
41
|
+
|
42
|
+
# create puppet group
|
43
|
+
groupadd puppet
|
44
|
+
|
45
|
+
# make sure sshd starts
|
46
|
+
sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
|
47
|
+
|
48
|
+
# install mitchellh's ssh key
|
49
|
+
mkdir /home/vagrant/.ssh
|
50
|
+
chmod 700 /home/vagrant/.ssh
|
51
|
+
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
|
52
|
+
chmod 600 /home/vagrant/.ssh/authorized_keys
|
53
|
+
chown -R vagrant /home/vagrant/.ssh
|
54
|
+
|
55
|
+
# choose a mirror
|
56
|
+
sed -i 's/^#\(.*leaseweb.*\)/\1/' /etc/pacman.d/mirrorlist
|
57
|
+
|
58
|
+
# install some packages
|
59
|
+
gem install --no-ri --no-rdoc chef facter
|
60
|
+
cd /tmp
|
61
|
+
git clone https://github.com/puppetlabs/puppet.git
|
62
|
+
cd puppet
|
63
|
+
ruby install.rb --bindir=/usr/bin --sbindir=/sbin 2>/dev/null
|
64
|
+
|
65
|
+
# set up networking
|
66
|
+
[[ $PKGSRC == 'net' ]] && sed -i 's/^\(interface=*\)/\1eth0/' /etc/rc.conf
|
67
|
+
|
68
|
+
# leave the chroot
|
69
|
+
ENDCHROOT
|
70
|
+
|
71
|
+
# take down network to prevent next postinstall.sh from starting too soon
|
72
|
+
/etc/rc.d/network stop
|
73
|
+
|
74
|
+
# and reboot!
|
75
|
+
reboot
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# install virtualbox guest additions
|
2
|
+
VBOX_VERSION=$(cat /root/.vbox_version)
|
3
|
+
cd /tmp
|
4
|
+
wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
|
5
|
+
mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
|
6
|
+
sh /mnt/VBoxLinuxAdditions.run
|
7
|
+
umount /mnt
|
8
|
+
rm VBoxGuestAdditions_"$VBOX_VERSION".iso
|
9
|
+
|
10
|
+
# host-only networking
|
11
|
+
cat >> /etc/rc.local <<EOF
|
12
|
+
# enable DHCP at boot on eth0
|
13
|
+
# See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
|
14
|
+
dhcpcd -k eth0
|
15
|
+
dhcpcd -nd eth0
|
16
|
+
EOF
|
17
|
+
|
18
|
+
# clean out pacman cache
|
19
|
+
pacman -Scc<<EOF
|
20
|
+
y
|
21
|
+
y
|
22
|
+
EOF
|
23
|
+
|
24
|
+
# zero out the fs
|
25
|
+
dd if=/dev/zero of=/clean bs=4M|| rm /clean
|
26
|
+
dd if=/dev/zero of=/tmp/clean bs=4M|| rm /tmp/clean
|
27
|
+
dd if=/dev/zero of=/boot/clean bs=4M|| rm /boot/clean
|
28
|
+
|
29
|
+
# and the final reboot!
|
30
|
+
#reboot
|
@@ -0,0 +1,25 @@
|
|
1
|
+
Veewee::Definition.declare({
|
2
|
+
:cpu_count => '1', :memory_size=> '256',
|
3
|
+
:disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
|
4
|
+
:os_type_id => 'ArchLinux_64',
|
5
|
+
:iso_file => "archlinux-2013.01.04-dual.iso",
|
6
|
+
:iso_src => "http://archlinux.mirror.kangaroot.net/iso/2013.01.04/archlinux-2013.01.04-dual.iso",
|
7
|
+
:iso_md5 => "9e9057702af5826a3b924233bf44fe66",
|
8
|
+
:iso_download_timeout => "1000",
|
9
|
+
:boot_wait => "5", :boot_cmd_sequence => [
|
10
|
+
'<Enter>',
|
11
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
12
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
13
|
+
'<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
|
14
|
+
'echo "sshd: ALL" > /etc/hosts.allow<Enter>',
|
15
|
+
'passwd<Enter>',
|
16
|
+
'vagrant<Enter>',
|
17
|
+
'vagrant<Enter>',
|
18
|
+
'systemctl start sshd.service<Enter><Wait>',
|
19
|
+
],
|
20
|
+
:ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
|
21
|
+
:ssh_host_port => "7222", :ssh_guest_port => "22",
|
22
|
+
:sudo_cmd => "sh '%f'",
|
23
|
+
:shutdown_cmd => "shutdown -h now",
|
24
|
+
:postinstall_files => [ "postinstall.sh", "postinstall2.sh"], :postinstall_timeout => "10000"
|
25
|
+
})
|