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,14 @@
|
|
1
|
+
module Veewee
|
2
|
+
module Provider
|
3
|
+
module Kvm
|
4
|
+
module BoxCommand
|
5
|
+
|
6
|
+
def up(options={})
|
7
|
+
matched_servers=@connection.servers.all(:name => name)
|
8
|
+
matched_servers.first.start unless matched_servers.nil?
|
9
|
+
end
|
10
|
+
|
11
|
+
end # End Module
|
12
|
+
end # End Module
|
13
|
+
end # End Module
|
14
|
+
end # End Module
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require 'veewee/provider/core/provider'
|
2
|
+
|
3
|
+
module Veewee
|
4
|
+
module Provider
|
5
|
+
module Kvm
|
6
|
+
class Provider < Veewee::Provider::Core::Provider
|
7
|
+
|
8
|
+
def check_requirements
|
9
|
+
require 'fog'
|
10
|
+
|
11
|
+
env.logger.info "Falling back to qemu:///system for libvirt URI if no value is specified in the .fog config file"
|
12
|
+
Fog.credentials[:libvirt_uri] ||= "qemu:///system"
|
13
|
+
|
14
|
+
env.logger.info "Setting libvirt IP Command if not already defined in .fog config file"
|
15
|
+
Fog.credentials[:libvirt_ip_command] ||= "arp -an |grep $mac|cut -d '(' -f 2 | cut -d ')' -f 1"
|
16
|
+
|
17
|
+
env.logger.info "Opening a libvirt connection using fog.io"
|
18
|
+
begin
|
19
|
+
|
20
|
+
unless gems_available?(["ruby-libvirt"])
|
21
|
+
raise Veewee::Error, "Please install ruby-libvirt gem first"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
begin
|
26
|
+
|
27
|
+
env.logger.info "Opening a libvirt connection using fog.io"
|
28
|
+
conn = Fog::Compute[:libvirt]
|
29
|
+
rescue Exception => ex
|
30
|
+
raise Veewee::Error, "There was a problem opening a connection to libvirt: #{ex}"
|
31
|
+
end
|
32
|
+
env.logger.info "Libvirt connection established"
|
33
|
+
|
34
|
+
env.logger.debug "Found capabilities:"
|
35
|
+
env.logger.debug "#{conn.client.capabilities}"
|
36
|
+
|
37
|
+
env.logger.info "Checking libvirt version"
|
38
|
+
# http://www.libvirt.org/html/libvirt-libvirt.html#virGetVersion
|
39
|
+
# format major * 1,000,000 + minor * 1,000 + release
|
40
|
+
conn.client.libversion > 8003 or raise Veewee::Error, "You need at least libvirt version 0.8.3 or higher "
|
41
|
+
|
42
|
+
env.logger.info "Checking available networks"
|
43
|
+
conn.networks.any? or raise Veewee::Error, "You need at least one (active) network defined in #{Fog.credentials[:libvirt_uri]}."
|
44
|
+
|
45
|
+
env.logger.info "Checking available storagepools"
|
46
|
+
conn.pools.any? or raise Veewee::Error, "You need at least one (active) storage pool defined in #{Fog.credentials[:libvirt_uri]}."
|
47
|
+
|
48
|
+
env.logger.info "Checking availability of the arp utility"
|
49
|
+
shell_exec("arp").status.zero? or raise Veewee::Error, "Could not execute the arp command. This is required to find the IP address of the VM"
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
def build(definition_name, box_name, options)
|
54
|
+
|
55
|
+
super(definition_name, box_name, options)
|
56
|
+
|
57
|
+
end
|
58
|
+
|
59
|
+
end #End Class
|
60
|
+
end # End Module
|
61
|
+
end # End Module
|
62
|
+
end # End Module
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'veewee/provider/core/box'
|
2
|
+
require 'veewee/provider/core/helper/tcp'
|
3
|
+
|
4
|
+
require 'veewee/provider/parallels/box/helper/status'
|
5
|
+
require 'veewee/provider/parallels/box/helper/ip'
|
6
|
+
require 'veewee/provider/parallels/box/helper/ssh_options'
|
7
|
+
require 'veewee/provider/parallels/box/helper/console_type'
|
8
|
+
require 'veewee/provider/parallels/box/helper/buildinfo'
|
9
|
+
|
10
|
+
require 'veewee/provider/parallels/box/build'
|
11
|
+
require 'veewee/provider/parallels/box/up'
|
12
|
+
require 'veewee/provider/parallels/box/create'
|
13
|
+
require 'veewee/provider/parallels/box/poweroff'
|
14
|
+
require 'veewee/provider/parallels/box/halt'
|
15
|
+
require 'veewee/provider/parallels/box/destroy'
|
16
|
+
require 'veewee/provider/parallels/box/ssh'
|
17
|
+
|
18
|
+
|
19
|
+
module Veewee
|
20
|
+
module Provider
|
21
|
+
module Parallels
|
22
|
+
class Box < Veewee::Provider::Core::Box
|
23
|
+
|
24
|
+
include ::Veewee::Provider::Parallels::BoxCommand
|
25
|
+
include ::Veewee::Provider::Core::BoxCommand
|
26
|
+
|
27
|
+
|
28
|
+
def initialize(name,env)
|
29
|
+
super(name,env)
|
30
|
+
end
|
31
|
+
|
32
|
+
end # End Class
|
33
|
+
end # End Module
|
34
|
+
end # End Module
|
35
|
+
end # End Module
|
@@ -0,0 +1,63 @@
|
|
1
|
+
module Veewee
|
2
|
+
module Provider
|
3
|
+
module Parallels
|
4
|
+
module BoxCommand
|
5
|
+
|
6
|
+
# When we create a new box
|
7
|
+
# We assume the box is not running
|
8
|
+
def create(options)
|
9
|
+
create_vm
|
10
|
+
create_disk
|
11
|
+
#self.create_floppy("virtualfloppy.img")
|
12
|
+
end
|
13
|
+
|
14
|
+
|
15
|
+
def create_disk
|
16
|
+
end
|
17
|
+
|
18
|
+
def parallels_os_type(type_id)
|
19
|
+
env.logger.info "Translating #{type_id} into parallels type"
|
20
|
+
parallelstype=env.ostypes[type_id][:parallels]
|
21
|
+
env.logger.info "Found Parallels type #{parallelstype}"
|
22
|
+
return parallelstype
|
23
|
+
end
|
24
|
+
|
25
|
+
def create_vm
|
26
|
+
parallels_definition=definition.dup
|
27
|
+
distribution=parallels_os_type(definition.os_type_id)
|
28
|
+
|
29
|
+
# Create the vm
|
30
|
+
command="prlctl create '#{self.name}' --distribution '#{distribution}'"
|
31
|
+
shell_exec("#{command}")
|
32
|
+
command="prlctl set '#{self.name}' --cpus #{definition.cpu_count} --memsize #{definition.memory_size}"
|
33
|
+
shell_exec("#{command}")
|
34
|
+
|
35
|
+
|
36
|
+
#NOTE: order is important: as this determines the boot order sequence
|
37
|
+
#
|
38
|
+
# Remove the network to disable pxe boot
|
39
|
+
command="prlctl set '#{self.name}' --device-del net0"
|
40
|
+
shell_exec("#{command}")
|
41
|
+
|
42
|
+
# Remove default cdrom
|
43
|
+
command ="prlctl set '#{self.name}' --device-del cdrom0"
|
44
|
+
shell_exec("#{command}")
|
45
|
+
#
|
46
|
+
# Attach cdrom
|
47
|
+
full_iso_file=File.join(env.config.veewee.iso_dir,definition.iso_file)
|
48
|
+
ui.info "Mounting cdrom: #{full_iso_file}"
|
49
|
+
command ="prlctl set '#{self.name}' --device-add cdrom --enable --image '#{full_iso_file}'"
|
50
|
+
shell_exec("#{command}")
|
51
|
+
|
52
|
+
#Enable the network again
|
53
|
+
command="prlctl set '#{self.name}' --device-add net --enable --type shared"
|
54
|
+
shell_exec("#{command}")
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Veewee
|
2
|
+
module Provider
|
3
|
+
module Parallels
|
4
|
+
module BoxCommand
|
5
|
+
|
6
|
+
def destroy(options={})
|
7
|
+
unless self.exists?
|
8
|
+
raise Veewee::Error, "Error:: You tried to destroy a non-existing box '#{name}'"
|
9
|
+
end
|
10
|
+
|
11
|
+
if self.running?
|
12
|
+
self.poweroff
|
13
|
+
sleep 2
|
14
|
+
end
|
15
|
+
|
16
|
+
command="prlctl delete '#{self.name}'"
|
17
|
+
shell_exec("#{command}")
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Veewee
|
2
|
+
module Provider
|
3
|
+
module Parallels
|
4
|
+
module BoxCommand
|
5
|
+
|
6
|
+
def build_info
|
7
|
+
info=super
|
8
|
+
command="prlctl --version"
|
9
|
+
output=IO.popen("#{command}").readlines
|
10
|
+
info << {:filename => ".parallels_version",:content => output[0].split(/ /)[2]}
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
# Determine the iso of the guest additions
|
15
|
+
def guest_iso_path
|
16
|
+
# So we begin by transferring the ISO file of the vmware tools
|
17
|
+
|
18
|
+
# Set default
|
19
|
+
iso_image="/Library/Parallels/Tools/prl-tools-lin.iso"
|
20
|
+
iso_image="/Library/Parallels/Tools/prl-tools-mac.iso" if definition.os_type_id=~/^Darwin/
|
21
|
+
iso_image="/Library/Parallels/Tools/prl-tools-win.iso" if definition.os_type_id=~/^Win/
|
22
|
+
iso_image="/Library/Parallels/Tools/prl-tools-other.iso" if definition.os_type_id=~/^Free/
|
23
|
+
iso_image="/Library/Parallels/Tools/prl-tools-other.iso" if definition.os_type_id=~/^Solaris/
|
24
|
+
return iso_image
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
# Transfer information provide by the provider to the box
|
29
|
+
#
|
30
|
+
#
|
31
|
+
def transfer_buildinfo(options)
|
32
|
+
super(options)
|
33
|
+
|
34
|
+
# When we get here, ssh is available and no postinstall scripts have been executed yet
|
35
|
+
# So we begin by transferring the ISO file of the vmware tools
|
36
|
+
|
37
|
+
ui.info "About to transfer parallels tools iso buildinfo to the box #{name} - #{ip_address} - #{ssh_options}"
|
38
|
+
iso_image=guest_iso_path
|
39
|
+
self.copy_to_box(iso_image,File.basename(iso_image))
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,181 @@
|
|
1
|
+
module Veewee
|
2
|
+
module Provider
|
3
|
+
module Parallels
|
4
|
+
module BoxCommand
|
5
|
+
|
6
|
+
# Type on the console
|
7
|
+
def console_type(sequence,type_options={})
|
8
|
+
#FIXME
|
9
|
+
send_sequence(sequence)
|
10
|
+
end
|
11
|
+
|
12
|
+
def send_sequence(sequence)
|
13
|
+
|
14
|
+
ui.info ""
|
15
|
+
|
16
|
+
counter=0
|
17
|
+
sequence.each { |s|
|
18
|
+
counter=counter+1
|
19
|
+
|
20
|
+
ui.info "Typing:[#{counter}]: "+s
|
21
|
+
|
22
|
+
# No need to send the state, we always PRESS then RELEASE.
|
23
|
+
# So we send the whole string at once and press/release every string item
|
24
|
+
keystring=self.string_to_parallels_keycode_string(s)
|
25
|
+
|
26
|
+
send_string(keystring);
|
27
|
+
}
|
28
|
+
|
29
|
+
ui.info "Done typing."
|
30
|
+
ui.info ""
|
31
|
+
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
def send_string(keystring)
|
36
|
+
python_script=File.join(File.dirname(__FILE__),'..','..','..','..','..','python','parallels_send_string.py')
|
37
|
+
command="python #{python_script} '#{self.name}' '#{keystring}'"
|
38
|
+
shell_results=shell_exec("#{command}")
|
39
|
+
end
|
40
|
+
|
41
|
+
# Returns array
|
42
|
+
def press_key(key)
|
43
|
+
return key
|
44
|
+
end
|
45
|
+
|
46
|
+
# Returns array
|
47
|
+
def shift(sequence)
|
48
|
+
seq=Array.new
|
49
|
+
seq << press_key('SHIFT_LEFT')
|
50
|
+
sequence.each_char do |s|
|
51
|
+
seq << s
|
52
|
+
end
|
53
|
+
return seq
|
54
|
+
end
|
55
|
+
|
56
|
+
def string_to_parallels_keycode_string(thestring)
|
57
|
+
|
58
|
+
|
59
|
+
# Setup one key presses
|
60
|
+
k=Hash.new
|
61
|
+
for key in 'A'..'Z'
|
62
|
+
k[key] = shift(press_key(key))
|
63
|
+
end
|
64
|
+
|
65
|
+
for key in 'a'..'z'
|
66
|
+
k[key] = press_key(key.upcase)
|
67
|
+
end
|
68
|
+
|
69
|
+
for key in '0'..'9'
|
70
|
+
k[key] = press_key(key.upcase)
|
71
|
+
end
|
72
|
+
|
73
|
+
k['>'] = shift(press_key('GREATER'))
|
74
|
+
k['.'] = press_key('GREATER')
|
75
|
+
k['<'] = shift(press_key('LESS'))
|
76
|
+
k[':'] = shift(press_key('COLON'))
|
77
|
+
k[';'] = press_key('COLON')
|
78
|
+
k['/'] = press_key('SLASH')
|
79
|
+
k[' '] = press_key('SPACE')
|
80
|
+
k['-'] = press_key('MINUS')
|
81
|
+
k['\''] = press_key('QUOTE')
|
82
|
+
k['{'] = press_key('CBRACE_LEFT')
|
83
|
+
k['}'] = press_key('CBRACE_RIGHT')
|
84
|
+
k['`'] = press_key('TILDA')
|
85
|
+
k['~'] = shift(press_key('TILDA'))
|
86
|
+
|
87
|
+
k['_'] = shift(press_key('MINUS'))
|
88
|
+
k['?'] = shift(press_key('SLASH'))
|
89
|
+
k['"'] = shift(press_key('QUOTE'))
|
90
|
+
k[')'] = shift(press_key('0'))
|
91
|
+
k['!'] = shift(press_key('1'))
|
92
|
+
k['@'] = shift(press_key('2'))
|
93
|
+
k['#'] = shift(press_key('3'))
|
94
|
+
k['$'] = shift(press_key('4'))
|
95
|
+
k['%'] = shift(press_key('5'))
|
96
|
+
k['^'] = shift(press_key('6'))
|
97
|
+
k['&'] = shift(press_key('7'))
|
98
|
+
k['*'] = shift(press_key('8'))
|
99
|
+
k['('] = shift(press_key('9'))
|
100
|
+
k['|'] = shift(press_key('BACKSLASH'))
|
101
|
+
k[','] = press_key('LESS')
|
102
|
+
k['\\'] = press_key('BACKSLASH')
|
103
|
+
k['+'] = shift(press_key('PLUS'))
|
104
|
+
k['='] = press_key('PLUS')
|
105
|
+
|
106
|
+
# Setup special keys
|
107
|
+
special=Hash.new;
|
108
|
+
special['<Enter>'] = [{ 'code' => 'ENTER', 'state' => 'press' }]
|
109
|
+
special['<Backspace>'] = [{ 'code' => 'BACKSPACE', 'state' => 'press' }]
|
110
|
+
special['<Spacebar>'] = [{ 'code' => 'SPACE', 'state' => 'press' }]
|
111
|
+
special['<Return>'] = [{ 'code' => 'RETURN', 'state' => 'press' }]
|
112
|
+
special['<Esc>'] = [{ 'code' => 'ESC', 'state' => 'press' }]
|
113
|
+
special['<Tab>'] = [{ 'code' => 'TAB', 'state' => 'press' }]
|
114
|
+
#FIXME
|
115
|
+
special['<KillX>'] = '1d 38 0e';
|
116
|
+
special['<Wait>'] = [{'code' => 'wait', 'state' => ''}];
|
117
|
+
|
118
|
+
special['<Up>'] = [{ 'code' => 'UP', 'state' => 'press' }]
|
119
|
+
special['<Down>'] = [{ 'code' => 'DOWN', 'state' => 'press' }]
|
120
|
+
special['<PageUp'] = [{ 'code' => 'PAGE_UP', 'state' => 'press' }]
|
121
|
+
special['<PageDown'] = [{ 'code' => 'PAGE_DOWN', 'state' => 'press' }]
|
122
|
+
special['<End>'] = [{ 'code' => 'END', 'state' => 'press' }]
|
123
|
+
special['<Insert>'] = [{ 'code' => 'INSERT', 'state' => 'press' }]
|
124
|
+
special['<Delete>'] = [{ 'code' => 'DELETE', 'state' => 'press' }]
|
125
|
+
special['<Left>'] = [{ 'code' => 'LEFT', 'state' => 'press' }]
|
126
|
+
special['<Right>'] = [{ 'code' => 'RIGHT', 'state' => 'press' }]
|
127
|
+
special['<Home>'] = [{ 'code' => 'HOME', 'state' => 'press' }]
|
128
|
+
|
129
|
+
for i in 1..12 do
|
130
|
+
special["<F#{i}>"] = press_key("F#{i}")
|
131
|
+
end
|
132
|
+
|
133
|
+
keycodes= ""
|
134
|
+
|
135
|
+
until thestring.length == 0
|
136
|
+
nospecial=true;
|
137
|
+
special.keys.each { |key|
|
138
|
+
if thestring.start_with?(key)
|
139
|
+
#take thestring
|
140
|
+
#check if it starts with a special key + pop special string
|
141
|
+
if key=="<Wait>"
|
142
|
+
sleep 1
|
143
|
+
else
|
144
|
+
special[key].each do |c|
|
145
|
+
keycodes.concat("#{c['code']} ")
|
146
|
+
end
|
147
|
+
end
|
148
|
+
thestring=thestring.slice(key.length,thestring.length-key.length)
|
149
|
+
nospecial=false;
|
150
|
+
break;
|
151
|
+
end
|
152
|
+
}
|
153
|
+
if nospecial
|
154
|
+
code=k[thestring.slice(0,1)]
|
155
|
+
if !code.nil?
|
156
|
+
code=[code] if code.class==String
|
157
|
+
code.each do |c|
|
158
|
+
if(c == 'SHIFT_LEFT')
|
159
|
+
keycodes.concat("#{c}\#")
|
160
|
+
else
|
161
|
+
keycodes.concat("#{c} ")
|
162
|
+
end
|
163
|
+
end
|
164
|
+
else
|
165
|
+
ui.info "no scan code for #{thestring.slice(0,1)}"
|
166
|
+
end
|
167
|
+
#pop one
|
168
|
+
thestring=thestring.slice(1,thestring.length-1)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
return keycodes
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
|
180
|
+
#
|
181
|
+
# {'WWW_FAVORITES': (224, 102), 'LESS': (51,), 'F23': (110,), 'F22': (109,), 'F21': (108,), 'F20': ( 107,), 'F24': (118,), 'VOLUME_DOWN': (224, 46), 'MINUS': (12,), 'EUROPE_1': (43,), 'ZENKAKU_HANKAKU': (118,), 'QUOTE': (40,), 'HANGUEL': (242,), '0': (11,), 'PLUS': (13,), '4': (5,), 'TAB': (15,),'8': (9,), 'RO': (115,), 'PAD_STAR': (55,), 'D': (32,), 'EJECT': (224, 99), 'HIRAGANA_KATAKANA': 112,), 'APP_MAIL': (224, 108), 'HANJA': (241,), 'L': (38,), 'P': (25,), 'T': (20,), 'SLASH': (53,, 'ENTER': (28,), 'X': (45,), 'KATAKANA': (120,), 'GREATER': (52,), 'APP_MY_COMPUTER': (224, 107), 'MENU': (224, 93), 'PAD_MINUS': (74,), 'WWW_REFRESH': (224, 103), 'PAD_SLASH': (224, 53), 'YEN':(125,), 'WWW_BACK': (224, 106), 'DELETE': (224, 83), 'MEDIA_PREV_TRACK': (224, 16), 'SYSTEM_WAKE': (224, 99), 'WWW_FORWARD': (224, 105), 'PAGE_UP': (224, 73), 'DOWN': (224, 80), 'MEDIA_STOP': (224, 36), 'BACKSPACE': (14,), 'HOME': (224, 71), 'CMD_LEFT': (224, 91), 'ALT_RIGHT': (224, 56), 'VOLUME_UP': (224, 48), 'APP_CALCULATOR': (224, 33), 'CBRACE_LEFT': (26,), 'WWW_STOP': (224, 104), 'SPACE': (57,), 'MEDIA_SELECT': (224, 109), 'MEDIA_NEXT_TRACK': (224, 25), '3': (4,), 'COLON': (39,),'PAD_PLUS': (78,), '7': (8,), 'TILDA': (41,), 'C': (46,), 'MUHENKAN': (123,), 'END': (224, 79), 'G': (34,), 'M': (50,), 'K': (37,), 'CMD_RIGHT': (224, 92), 'F18': (105,), 'F19': (106,), 'O': (24,, 'W': (17,), 'F12': (88,), 'F13': (100,), 'F10': (68,), 'F11': (87,), 'F16': (103,), 'F17': (104,), 'F14': (101,), 'F15': (102,), 'SYSTEM_POWER': (224, 94), 'PRINT_SCREEN': (224, 42, 224, 55), 'S': (31,), 'SHIFT_LEFT': (42,), 'PAD_3': (81,), 'U': (22,), 'SCROLL_LOCK': (70,), 'NUM_8': (9,), 'NUM_9': (10,), 'ALT_LEFT': (56,), 'NUM_0': (11,), 'NUM_1': (2,), 'NUM_2': (3,), 'NUM_3': (4,), 'NUM_4': (5,), 'NUM_5': (6,), 'NUM_6': (7,), 'NUM_7': (8,), 'WWW_SEARCH': (224, 101), 'HIRAGANA': (119,), 'BACKSLASH': (43,), 'MEDIA_PLAY_PAUSE': (224, 34), '2': (3,), '6': (7,), 'LEFT': (224, 75), 'B': (48,), 'F': (33,), 'HENKAN': (121,), 'N': (49,), 'R': (19,), 'NUM_LOCK': (69,), 'V': (47,), 'Z': (44,), 'EURO': (224, 51), 'F1': (59,), 'F2': (60,), 'F3': (61,), 'F4': (62,), 'F5': (63,), 'F6': (64,), 'F7': (65,), 'F8': (66,), 'F9': (67,), 'BREAK': (224, 70, 224, 198), 'CTRL_LEFT': (29,), CAPS_LOCK': (58,), 'UP': (224, 72), 'PRINT_SCREEN2': (224, 55), 'LESS_GREATER': (86,), 'PAUSE_BREAK': (225, 29, 69, 225, 157, 197), 'INSERT': (224, 82), 'CBRACE_RIGHT': (27,), '1': (2,), 'PAD_9':(73,), 'PAD_8': (72,), '5': (6,), 'H': (35,), '9': (10,), 'PAD_2': (80,), 'PAD_1': (79,), 'PAD_0': (82,), 'PAD_7': (71,), 'PAD_6': (77,), 'PAD_5': (76,), 'PAD_4': (75,), 'A': (30,), 'PAGE_DOWN': 224, 81), 'J': (36,), 'E': (18,), 'PC9800_KEYPAD': (92,), 'MUTE': (224, 32), 'I': (23,), 'DOLLAR': (224, 52), 'Q': (16,), 'SYSTEM_SLEEP': (224, 95), 'ESC': (1,), 'Y': (21,), 'PAD_DEL': (83,), 'BRAZILIAN_KEYPAD': (126,), 'RIGHT': (224, 77), 'SHIFT_RIGHT': (54,), 'PAD_EQUAL': (89,), 'PAD_ENTER': (224, 28), 'SYSRQ': (84,), 'WWW_HOME': (224, 50), 'CTRL_RIGHT': (224, 29)}
|