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
data/doc/vagrant.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# Vagrant
|
2
|
+
|
3
|
+
A typical workflow with Vagrant would be:
|
4
|
+
|
5
|
+
$ vagrant basebox define 'mybuntubox' 'ubuntu-10.12-amd64'
|
6
|
+
$ vagrant basebox build 'mybuntubox'
|
7
|
+
$ vagrant basebox export 'mybuntubox'
|
8
|
+
|
9
|
+
Now you can import the generated '.box' file to the vagrant box repository:
|
10
|
+
|
11
|
+
$ vagrant basebox add 'mybuntubox' 'mybuntubox.box'
|
12
|
+
|
13
|
+
|
14
|
+
## Export the vm to a .box file
|
15
|
+
|
16
|
+
In order to use the box in Vagrant we need to export the VM as a [Basebox](http://vagrantup.com/v1/docs/base_boxes.html):
|
17
|
+
|
18
|
+
$ vagrant basebox export 'myubuntubox'
|
19
|
+
|
20
|
+
This is actually calling `vagrant package --base 'myubuntubox' --output 'boxes/myubuntubox.box'`.
|
21
|
+
|
22
|
+
The machine gets shut down, exported and will be packed in a `myubuntubox.box` file inside the current directory.
|
23
|
+
|
24
|
+
|
25
|
+
## Add the new box as one of your Vagrant boxes
|
26
|
+
|
27
|
+
To import it into Vagrant's box repository simply type:
|
28
|
+
|
29
|
+
$ vagrant box add 'myubuntubox' 'myubuntubox.box'
|
30
|
+
|
31
|
+
The parameter 'myubuntubox' sets the name of the box that is used by Vagrant to reference the box e.g. in the `Vagrantfile`.
|
32
|
+
|
33
|
+
See http://docs.vagrantup.com/v1/docs/boxes.html for more details.
|
34
|
+
|
35
|
+
|
36
|
+
## Use it in vagrant
|
37
|
+
|
38
|
+
To use your newly generated box in a fresh project execute these commands:
|
39
|
+
|
40
|
+
$ vagrant init 'myubuntubox'
|
41
|
+
|
42
|
+
If you already have a project running with Vagrant, open the `Vagrantfile` and change the value of `config.vm.box`
|
43
|
+
to the new boxname:
|
44
|
+
|
45
|
+
Vagrant::Config.run do |config|
|
46
|
+
config.vm.box = "myubuntubox"
|
47
|
+
|
48
|
+
Now start the new environment with `vagrant up` and log in with `vagrant ssh` to enjoy the joys of your new environment.
|
data/doc/vbox.md
ADDED
data/lib/fission.rb
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require 'optparse'
|
3
|
+
require 'ostruct'
|
4
|
+
require 'yaml'
|
5
|
+
|
6
|
+
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
7
|
+
|
8
|
+
#require 'fission/error'
|
9
|
+
require 'fission/cli'
|
10
|
+
require 'fission/command'
|
11
|
+
require 'fission/command_helpers'
|
12
|
+
require 'fission/command/clone'
|
13
|
+
require 'fission/command/snapshot_create'
|
14
|
+
require 'fission/command/snapshot_list'
|
15
|
+
require 'fission/command/snapshot_revert'
|
16
|
+
require 'fission/command/start'
|
17
|
+
require 'fission/command/status'
|
18
|
+
require 'fission/command/stop'
|
19
|
+
require 'fission/command/suspend'
|
20
|
+
require 'fission/config'
|
21
|
+
require 'fission/core_ext/class'
|
22
|
+
require 'fission/core_ext/file'
|
23
|
+
require 'fission/core_ext/object'
|
24
|
+
require 'fission/fusion'
|
25
|
+
require 'fission/lease'
|
26
|
+
require 'fission/metadata'
|
27
|
+
require 'fission/response'
|
28
|
+
require 'fission/ui'
|
29
|
+
require 'fission/vm'
|
30
|
+
require 'fission/version'
|
31
|
+
|
32
|
+
module Fission
|
33
|
+
extend self
|
34
|
+
|
35
|
+
def config
|
36
|
+
@config ||= Fission::Config.new
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
@@ -0,0 +1,76 @@
|
|
1
|
+
module Fission
|
2
|
+
class Config
|
3
|
+
|
4
|
+
# Public: Gets/Sets the Hash of attributes.
|
5
|
+
attr_accessor :attributes
|
6
|
+
|
7
|
+
# Public: Path to the Fission conf file (default: ~/.fissionrc).
|
8
|
+
CONF_FILE = File.expand_path '~/.fissionrc'
|
9
|
+
|
10
|
+
# Public: Initializes a Config object. This also sets the default config
|
11
|
+
# attributes for 'vmrun_bin', 'vmrun_cmd', 'vm_dir', 'plist_file', and
|
12
|
+
# 'gui_bin'.
|
13
|
+
#
|
14
|
+
# Examples
|
15
|
+
#
|
16
|
+
# Fission::Config.new
|
17
|
+
#
|
18
|
+
# Returns a new Config instance.
|
19
|
+
def initialize
|
20
|
+
@attributes = {}
|
21
|
+
|
22
|
+
@attributes['vm_dir'] = File.expand_path('~/Documents/Virtual Machines.localized/')
|
23
|
+
@attributes['lease_file'] = '/var/db/vmware/vmnet-dhcpd-vmnet8.leases'
|
24
|
+
|
25
|
+
fusion_version = :unknown
|
26
|
+
|
27
|
+
if File.exists?("/Library/Application Support/VMware Fusion/vmrun")
|
28
|
+
@attributes['vmrun_bin'] = '/Library/Application Support/VMware Fusion/vmrun'
|
29
|
+
end
|
30
|
+
|
31
|
+
if File.exists?("/Applications/VMware Fusion.app/Contents/Library/vmrun")
|
32
|
+
@attributes['vmrun_bin'] = "/Applications/VMware Fusion.app/Contents/Library/vmrun"
|
33
|
+
end
|
34
|
+
|
35
|
+
if fusion_version == :unknown
|
36
|
+
end
|
37
|
+
|
38
|
+
@attributes['plist_file'] = File.expand_path('~/Library/Preferences/com.vmware.fusion.plist')
|
39
|
+
@attributes['gui_bin'] = File.expand_path('/Applications/VMware Fusion.app/Contents/MacOS/vmware')
|
40
|
+
|
41
|
+
load_from_file
|
42
|
+
|
43
|
+
@attributes['vmrun_cmd'] = "#{@attributes['vmrun_bin'].gsub(' ', '\ ')} -T fusion"
|
44
|
+
end
|
45
|
+
|
46
|
+
# Public: Helper method to access config atributes. This is a shortcut for
|
47
|
+
# querying the config attributes.
|
48
|
+
#
|
49
|
+
# item - The config item to query.
|
50
|
+
#
|
51
|
+
# Examples
|
52
|
+
#
|
53
|
+
# Fission.config['vmrun_bin']
|
54
|
+
# # => '/foo/bar/vmrun'
|
55
|
+
#
|
56
|
+
# Returns the value of the specified config item.
|
57
|
+
def [](item)
|
58
|
+
@attributes[item]
|
59
|
+
end
|
60
|
+
|
61
|
+
private
|
62
|
+
# Internal: Loads config values from the Fission conf file into attributes.
|
63
|
+
#
|
64
|
+
# Examples
|
65
|
+
#
|
66
|
+
# load_from_file
|
67
|
+
#
|
68
|
+
# Returns nothing.
|
69
|
+
def load_from_file
|
70
|
+
if File.file?(CONF_FILE)
|
71
|
+
@attributes.merge!(YAML.load_file(CONF_FILE))
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
end
|
data/lib/java/README.txt
ADDED
Binary file
|
@@ -0,0 +1,137 @@
|
|
1
|
+
package be.jedi.dir2floppy;
|
2
|
+
|
3
|
+
import java.io.File;
|
4
|
+
import java.io.FileInputStream;
|
5
|
+
import java.io.IOException;
|
6
|
+
import java.nio.ByteBuffer;
|
7
|
+
import java.nio.channels.FileChannel;
|
8
|
+
|
9
|
+
import de.waldheinz.fs.FileSystem;
|
10
|
+
import de.waldheinz.fs.FsDirectoryEntry;
|
11
|
+
import de.waldheinz.fs.FsFile;
|
12
|
+
import de.waldheinz.fs.fat.SuperFloppyFormatter;
|
13
|
+
import de.waldheinz.fs.util.FileDisk;
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Hello world!
|
17
|
+
*
|
18
|
+
*/
|
19
|
+
public class Dir2Floppy
|
20
|
+
{
|
21
|
+
public static void main( String[] args )
|
22
|
+
{
|
23
|
+
if (args.length < 2) {
|
24
|
+
System.out.println("Usage: java -jar dir2floppy.jar <sourcedir> <floppyfile>");
|
25
|
+
System.exit(-1);
|
26
|
+
}
|
27
|
+
|
28
|
+
FileDisk device = null;
|
29
|
+
|
30
|
+
//Create the floppy
|
31
|
+
try {
|
32
|
+
device = FileDisk.create(new File(args[1]),(long)1440 * 1024);
|
33
|
+
} catch (IOException e) {
|
34
|
+
// TODO Auto-generated catch block
|
35
|
+
e.printStackTrace();
|
36
|
+
System.exit(-1);
|
37
|
+
}
|
38
|
+
|
39
|
+
//Format the floppy
|
40
|
+
FileSystem fs=null;
|
41
|
+
try {
|
42
|
+
fs = SuperFloppyFormatter.get(device).format();
|
43
|
+
|
44
|
+
} catch (IOException e) {
|
45
|
+
// TODO Auto-generated catch block
|
46
|
+
e.printStackTrace();
|
47
|
+
System.exit(-1);
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
//Iterate of directories
|
52
|
+
File dir = new File(args[0]);
|
53
|
+
|
54
|
+
String[] children = dir.list();
|
55
|
+
if (children == null) {
|
56
|
+
// Either dir does not exist or is not a directory
|
57
|
+
System.out.println("Error. does the directory exist?");
|
58
|
+
System.exit(-1);
|
59
|
+
} else {
|
60
|
+
for (int i=0; i<children.length; i++) {
|
61
|
+
// Get filename of file or directory
|
62
|
+
File aFile=new File(dir.getAbsolutePath()+System.getProperty("file.separator")+children[i]);
|
63
|
+
|
64
|
+
try {
|
65
|
+
// Create the entry on the floppy
|
66
|
+
FsDirectoryEntry floppyEntry = fs.getRoot().addFile(children[i]);
|
67
|
+
//floppyEntry.setName(children[i]);
|
68
|
+
System.out.print("- Processing file: "+children[i]+" ");
|
69
|
+
|
70
|
+
FsFile floppyfile = floppyEntry.getFile();
|
71
|
+
|
72
|
+
// Copy the file over
|
73
|
+
if (aFile.isFile()) {
|
74
|
+
FileInputStream fis= new FileInputStream(aFile);
|
75
|
+
|
76
|
+
FileChannel fci = fis.getChannel();
|
77
|
+
ByteBuffer buffer = ByteBuffer.allocate(1024);
|
78
|
+
|
79
|
+
long counter=0;
|
80
|
+
int len;
|
81
|
+
|
82
|
+
// http://www.kodejava.org/examples/49.html
|
83
|
+
// Here we start to read the source file and write it
|
84
|
+
// to the destination file. We repeat this process
|
85
|
+
// until the read method of input stream channel return
|
86
|
+
// nothing (-1).
|
87
|
+
while(true)
|
88
|
+
{
|
89
|
+
// read a block of data and put it in the buffer
|
90
|
+
int read = fci.read(buffer);
|
91
|
+
|
92
|
+
// did we reach the end of the channel? if yes
|
93
|
+
// jump out the while-loop
|
94
|
+
if (read == -1)
|
95
|
+
break;
|
96
|
+
|
97
|
+
// flip the buffer
|
98
|
+
buffer.flip();
|
99
|
+
|
100
|
+
// write to the destination channel
|
101
|
+
System.out.print(".");
|
102
|
+
floppyfile.write(counter*1024, buffer);
|
103
|
+
counter++;
|
104
|
+
|
105
|
+
|
106
|
+
// clear the buffer and user it for the next read
|
107
|
+
// process
|
108
|
+
buffer.clear();
|
109
|
+
}
|
110
|
+
System.out.println();
|
111
|
+
|
112
|
+
floppyfile.flush();
|
113
|
+
|
114
|
+
fis.close();
|
115
|
+
}
|
116
|
+
} catch (IOException e) {
|
117
|
+
// TODO Auto-generated catch block
|
118
|
+
e.printStackTrace();
|
119
|
+
|
120
|
+
}
|
121
|
+
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
try {
|
127
|
+
fs.close();
|
128
|
+
} catch (IOException e) {
|
129
|
+
// TODO Auto-generated catch block
|
130
|
+
e.printStackTrace();
|
131
|
+
}
|
132
|
+
|
133
|
+
System.out.println( "Done" );
|
134
|
+
}
|
135
|
+
|
136
|
+
}
|
137
|
+
|
data/lib/net/vnc/vnc.rb
ADDED
@@ -0,0 +1,341 @@
|
|
1
|
+
require 'socket'
|
2
|
+
require 'yaml'
|
3
|
+
require 'thread'
|
4
|
+
require 'cipher/des'
|
5
|
+
require 'net/vnc/version'
|
6
|
+
|
7
|
+
module Net
|
8
|
+
#
|
9
|
+
# The VNC class provides for simple rfb-protocol based control of
|
10
|
+
# a VNC server. This can be used, eg, to automate applications.
|
11
|
+
#
|
12
|
+
# Sample usage:
|
13
|
+
#
|
14
|
+
# # launch xclock on localhost. note that there is an xterm in the top-left
|
15
|
+
# Net::VNC.open 'localhost:0', :shared => true, :password => 'mypass' do |vnc|
|
16
|
+
# vnc.pointer_move 10, 10
|
17
|
+
# vnc.type 'xclock'
|
18
|
+
# vnc.key_press :return
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
# = TODO
|
22
|
+
#
|
23
|
+
# * The server read loop seems a bit iffy. Not sure how best to do it.
|
24
|
+
# * Should probably be changed to be more of a lower-level protocol wrapping thing, with the
|
25
|
+
# actual VNCClient sitting on top of that. all it should do is read/write the packets over
|
26
|
+
# the socket.
|
27
|
+
#
|
28
|
+
class VNC
|
29
|
+
class PointerState
|
30
|
+
attr_reader :x, :y, :button
|
31
|
+
|
32
|
+
def initialize vnc
|
33
|
+
@x = @y = @button = 0
|
34
|
+
@vnc = vnc
|
35
|
+
end
|
36
|
+
|
37
|
+
# could have the same for x=, and y=
|
38
|
+
def button= button
|
39
|
+
@button = button
|
40
|
+
refresh
|
41
|
+
end
|
42
|
+
|
43
|
+
def update x, y, button=@button
|
44
|
+
@x, @y, @button = x, y, button
|
45
|
+
refresh
|
46
|
+
end
|
47
|
+
|
48
|
+
def refresh
|
49
|
+
packet = 0.chr * 6
|
50
|
+
packet[0] = 5.chr
|
51
|
+
packet[1] = button.chr
|
52
|
+
packet[2, 2] = [x].pack 'n'
|
53
|
+
packet[4, 2] = [y].pack 'n'
|
54
|
+
@vnc.socket.write packet
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
BASE_PORT = 5900 if BASE_PORT.nil?
|
59
|
+
CHALLENGE_SIZE = 16 if CHALLENGE_SIZE.nil?
|
60
|
+
DEFAULT_OPTIONS = {
|
61
|
+
:shared => false,
|
62
|
+
:wait => 0.1
|
63
|
+
} if DEFAULT_OPTIONS.nil?
|
64
|
+
|
65
|
+
if KEY_MAP.nil?
|
66
|
+
keys_file = File.dirname(__FILE__) + '/../../data/keys.yaml'
|
67
|
+
KEY_MAP = YAML.load_file(keys_file).inject({}) { |h, (k, v)| h.update k.to_sym => v }
|
68
|
+
def KEY_MAP.[] key
|
69
|
+
super or raise ArgumentError.new('Invalid key name - %s' % key)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
attr_reader :server, :display, :options, :socket, :pointer
|
74
|
+
|
75
|
+
def initialize display=':0', options={}
|
76
|
+
@server = '127.0.0.1'
|
77
|
+
if display =~ /^(.*)(:\d+)$/
|
78
|
+
@server, display = $1, $2
|
79
|
+
end
|
80
|
+
@display = display[1..-1].to_i
|
81
|
+
@options = DEFAULT_OPTIONS.merge options
|
82
|
+
@clipboard = nil
|
83
|
+
@pointer = PointerState.new self
|
84
|
+
@mutex = Mutex.new
|
85
|
+
connect
|
86
|
+
@packet_reading_state = nil
|
87
|
+
@packet_reading_thread = Thread.new { packet_reading_thread }
|
88
|
+
end
|
89
|
+
|
90
|
+
def self.open display=':0', options={}
|
91
|
+
vnc = new display, options
|
92
|
+
if block_given?
|
93
|
+
begin
|
94
|
+
yield vnc
|
95
|
+
ensure
|
96
|
+
vnc.close
|
97
|
+
end
|
98
|
+
else
|
99
|
+
vnc
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
def port
|
104
|
+
BASE_PORT + @display
|
105
|
+
end
|
106
|
+
|
107
|
+
def connect
|
108
|
+
@socket = TCPSocket.open server, port
|
109
|
+
unless socket.read(12) =~ /^RFB (\d{3}.\d{3})\n$/
|
110
|
+
raise 'invalid server response'
|
111
|
+
end
|
112
|
+
@server_version = $1
|
113
|
+
socket.write "RFB 003.003\n"
|
114
|
+
data = socket.read(4)
|
115
|
+
auth = data.to_s.unpack('N')[0]
|
116
|
+
case auth
|
117
|
+
when 0, nil
|
118
|
+
raise 'connection failed'
|
119
|
+
when 1
|
120
|
+
# ok...
|
121
|
+
when 2
|
122
|
+
password = @options[:password] or raise 'Need to authenticate but no password given'
|
123
|
+
challenge = socket.read CHALLENGE_SIZE
|
124
|
+
response = Cipher::DES.encrypt password, challenge
|
125
|
+
socket.write response
|
126
|
+
ok = socket.read(4).to_s.unpack('N')[0]
|
127
|
+
raise 'Unable to authenticate - %p' % ok unless ok == 0
|
128
|
+
else
|
129
|
+
raise 'Unknown authentication scheme - %d' % auth
|
130
|
+
end
|
131
|
+
|
132
|
+
# ClientInitialisation
|
133
|
+
socket.write((options[:shared] ? 1 : 0).chr)
|
134
|
+
|
135
|
+
# ServerInitialisation
|
136
|
+
# TODO: parse this.
|
137
|
+
socket.read(20)
|
138
|
+
data = socket.read(4)
|
139
|
+
# read this many bytes in chunks of 20
|
140
|
+
size = data.to_s.unpack('N')[0]
|
141
|
+
while size > 0
|
142
|
+
len = [20, size].min
|
143
|
+
# this is the hostname, and other stuff i think...
|
144
|
+
socket.read(len)
|
145
|
+
size -= len
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# this types +text+ on the server
|
150
|
+
def type text, options={}
|
151
|
+
packet = 0.chr * 8
|
152
|
+
packet[0] = 4.chr
|
153
|
+
text.split(//).each do |char|
|
154
|
+
packet[7] = char[0]
|
155
|
+
packet[1] = 1.chr
|
156
|
+
socket.write packet
|
157
|
+
packet[1] = 0.chr
|
158
|
+
socket.write packet
|
159
|
+
end
|
160
|
+
wait options
|
161
|
+
end
|
162
|
+
|
163
|
+
SHIFTED_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ~!@#$%^&*()_+{}|:"<>?'
|
164
|
+
KEY_PRESS_CHARS = {
|
165
|
+
"\n" => :return,
|
166
|
+
"\t" => :tab
|
167
|
+
}
|
168
|
+
|
169
|
+
# This types +text+ on the server, but it holds the shift key down when necessary.
|
170
|
+
# It will also execute key_press for tabs and returns.
|
171
|
+
def type_string text, options={}
|
172
|
+
shift_key_down = nil
|
173
|
+
|
174
|
+
text.each_char do |char|
|
175
|
+
key_to_press = KEY_PRESS_CHARS[char]
|
176
|
+
unless key_to_press.nil?
|
177
|
+
key_press key_to_press
|
178
|
+
else
|
179
|
+
key_needs_shift = SHIFTED_CHARS.include? char
|
180
|
+
|
181
|
+
if shift_key_down.nil? || shift_key_down != key_needs_shift
|
182
|
+
if key_needs_shift
|
183
|
+
key_down :shift
|
184
|
+
else
|
185
|
+
key_up :shift
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
type char
|
190
|
+
shift_key_down = key_needs_shift
|
191
|
+
end
|
192
|
+
end
|
193
|
+
wait options
|
194
|
+
end
|
195
|
+
|
196
|
+
# this takes an array of keys, and successively holds each down then lifts them up in
|
197
|
+
# reverse order.
|
198
|
+
# FIXME: should wait. can't recurse in that case.
|
199
|
+
def key_press(*args)
|
200
|
+
options = Hash === args.last ? args.pop : {}
|
201
|
+
keys = args
|
202
|
+
raise ArgumentError, 'Must have at least one key argument' if keys.empty?
|
203
|
+
begin
|
204
|
+
key_down keys.first
|
205
|
+
if keys.length == 1
|
206
|
+
yield if block_given?
|
207
|
+
else
|
208
|
+
key_press(*(keys[1..-1] + [options]))
|
209
|
+
end
|
210
|
+
ensure
|
211
|
+
key_up keys.first
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
def get_key_code which
|
216
|
+
if String === which
|
217
|
+
if which.length != 1
|
218
|
+
raise ArgumentError, 'can only get key_code of single character strings'
|
219
|
+
end
|
220
|
+
which[0]
|
221
|
+
else
|
222
|
+
KEY_MAP[which]
|
223
|
+
end
|
224
|
+
end
|
225
|
+
private :get_key_code
|
226
|
+
|
227
|
+
def key_down which, options={}
|
228
|
+
packet = 0.chr * 8
|
229
|
+
packet[0] = 4.chr
|
230
|
+
key_code = get_key_code which
|
231
|
+
packet[4, 4] = [key_code].pack('N')
|
232
|
+
packet[1] = 1.chr
|
233
|
+
socket.write packet
|
234
|
+
wait options
|
235
|
+
end
|
236
|
+
|
237
|
+
def key_up which, options={}
|
238
|
+
packet = 0.chr * 8
|
239
|
+
packet[0] = 4.chr
|
240
|
+
key_code = get_key_code which
|
241
|
+
packet[4, 4] = [key_code].pack('N')
|
242
|
+
packet[1] = 0.chr
|
243
|
+
socket.write packet
|
244
|
+
wait options
|
245
|
+
end
|
246
|
+
|
247
|
+
def pointer_move x, y, options={}
|
248
|
+
# options[:relative]
|
249
|
+
pointer.update x, y
|
250
|
+
wait options
|
251
|
+
end
|
252
|
+
|
253
|
+
BUTTON_MAP = {
|
254
|
+
:left => 0
|
255
|
+
} if BUTTON_MAP.nil?
|
256
|
+
|
257
|
+
def button_press button=:left, options={}
|
258
|
+
begin
|
259
|
+
button_down button, options
|
260
|
+
yield if block_given?
|
261
|
+
ensure
|
262
|
+
button_up button, options
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
def button_down which=:left, options={}
|
267
|
+
button = BUTTON_MAP[which] || which
|
268
|
+
raise ArgumentError, 'Invalid button - %p' % which unless (0..2) === button
|
269
|
+
pointer.button |= 1 << button
|
270
|
+
wait options
|
271
|
+
end
|
272
|
+
|
273
|
+
def button_up which=:left, options={}
|
274
|
+
button = BUTTON_MAP[which] || which
|
275
|
+
raise ArgumentError, 'Invalid button - %p' % which unless (0..2) === button
|
276
|
+
pointer.button &= ~(1 << button)
|
277
|
+
wait options
|
278
|
+
end
|
279
|
+
|
280
|
+
def wait options={}
|
281
|
+
sleep options[:wait] || @options[:wait]
|
282
|
+
end
|
283
|
+
|
284
|
+
def close
|
285
|
+
# destroy packet reading thread
|
286
|
+
if @packet_reading_state == :loop
|
287
|
+
@packet_reading_state = :stop
|
288
|
+
while @packet_reading_state
|
289
|
+
# do nothing
|
290
|
+
end
|
291
|
+
end
|
292
|
+
socket.close
|
293
|
+
end
|
294
|
+
|
295
|
+
def clipboard
|
296
|
+
if block_given?
|
297
|
+
@clipboard = nil
|
298
|
+
yield
|
299
|
+
60.times do
|
300
|
+
clipboard = @mutex.synchronize { @clipboard }
|
301
|
+
return clipboard if clipboard
|
302
|
+
sleep 0.5
|
303
|
+
end
|
304
|
+
warn 'clipboard still empty after 30s'
|
305
|
+
nil
|
306
|
+
else
|
307
|
+
@mutex.synchronize { @clipboard }
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
private
|
312
|
+
|
313
|
+
def read_packet type
|
314
|
+
case type
|
315
|
+
when 3 # ServerCutText
|
316
|
+
socket.read 3 # discard padding bytes
|
317
|
+
len = socket.read(4).unpack('N')[0]
|
318
|
+
@mutex.synchronize { @clipboard = socket.read len }
|
319
|
+
else
|
320
|
+
raise NotImplementedError, 'unhandled server packet type - %d' % type
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
def packet_reading_thread
|
325
|
+
@packet_reading_state = :loop
|
326
|
+
loop do
|
327
|
+
begin
|
328
|
+
break if @packet_reading_state != :loop
|
329
|
+
next unless IO.select [socket], nil, nil, 2
|
330
|
+
type = socket.read(1)[0]
|
331
|
+
read_packet type
|
332
|
+
rescue
|
333
|
+
warn "exception in packet_reading_thread: #{$!.class}:#{$!}"
|
334
|
+
break
|
335
|
+
end
|
336
|
+
end
|
337
|
+
@packet_reading_state = nil
|
338
|
+
end
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|