veewee-atlassian 0.3.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1095) hide show
  1. data/.gitignore +19 -0
  2. data/.rvmrc +5 -0
  3. data/CONTRIBUTE.md +37 -0
  4. data/Gemfile +19 -0
  5. data/License +21 -0
  6. data/README.md +47 -0
  7. data/Rakefile +129 -0
  8. data/bin/veewee +27 -0
  9. data/doc/TODO +60 -0
  10. data/doc/customize.md +152 -0
  11. data/doc/definition.md +165 -0
  12. data/doc/fusion.md +2 -0
  13. data/doc/installation.md +44 -0
  14. data/doc/kvm.md +91 -0
  15. data/doc/providers.md +44 -0
  16. data/doc/requirements.md +36 -0
  17. data/doc/running.md +67 -0
  18. data/doc/vagrant.md +48 -0
  19. data/doc/vbox.md +2 -0
  20. data/lib/fission.rb +39 -0
  21. data/lib/fission/config.rb +76 -0
  22. data/lib/java/README.txt +5 -0
  23. data/lib/java/dir2floppy.jar +0 -0
  24. data/lib/java/dir2floppy.java +137 -0
  25. data/lib/net/vnc/vnc.rb +341 -0
  26. data/lib/python/parallels_sdk_check.py +19 -0
  27. data/lib/python/parallels_send_key.py +73 -0
  28. data/lib/python/parallels_send_string.py +76 -0
  29. data/lib/vagrant_init.rb +8 -0
  30. data/lib/veewee.rb +23 -0
  31. data/lib/veewee/cli.rb +55 -0
  32. data/lib/veewee/command.rb +15 -0
  33. data/lib/veewee/command/base.rb +106 -0
  34. data/lib/veewee/command/fusion.rb +170 -0
  35. data/lib/veewee/command/group_base.rb +108 -0
  36. data/lib/veewee/command/helpers.rb +13 -0
  37. data/lib/veewee/command/kvm.rb +130 -0
  38. data/lib/veewee/command/named_base.rb +14 -0
  39. data/lib/veewee/command/parallels.rb +126 -0
  40. data/lib/veewee/command/vagrant.rb +4 -0
  41. data/lib/veewee/command/vagrant/basebox.rb +88 -0
  42. data/lib/veewee/command/vagrant/build.rb +67 -0
  43. data/lib/veewee/command/vagrant/define.rb +48 -0
  44. data/lib/veewee/command/vagrant/destroy.rb +47 -0
  45. data/lib/veewee/command/vagrant/export.rb +54 -0
  46. data/lib/veewee/command/vagrant/halt.rb +43 -0
  47. data/lib/veewee/command/vagrant/list.rb +38 -0
  48. data/lib/veewee/command/vagrant/ostypes.rb +38 -0
  49. data/lib/veewee/command/vagrant/screenshot.rb +45 -0
  50. data/lib/veewee/command/vagrant/ssh.rb +38 -0
  51. data/lib/veewee/command/vagrant/templates.rb +39 -0
  52. data/lib/veewee/command/vagrant/undefine.rb +41 -0
  53. data/lib/veewee/command/vagrant/up.rb +44 -0
  54. data/lib/veewee/command/vagrant/validate.rb +46 -0
  55. data/lib/veewee/command/vagrant/winrm.rb +39 -0
  56. data/lib/veewee/command/vbox.rb +171 -0
  57. data/lib/veewee/command/version.rb +13 -0
  58. data/lib/veewee/config.rb +61 -0
  59. data/lib/veewee/config/collection.rb +82 -0
  60. data/lib/veewee/config/component.rb +19 -0
  61. data/lib/veewee/config/definition.rb +44 -0
  62. data/lib/veewee/config/ostypes.yml +340 -0
  63. data/lib/veewee/config/veewee.rb +21 -0
  64. data/lib/veewee/config/vmfusion-ostypes.txt +1 -0
  65. data/lib/veewee/definition.rb +231 -0
  66. data/lib/veewee/definitions.rb +172 -0
  67. data/lib/veewee/environment.rb +213 -0
  68. data/lib/veewee/error.rb +38 -0
  69. data/lib/veewee/provider/core/box.rb +104 -0
  70. data/lib/veewee/provider/core/box/build.rb +287 -0
  71. data/lib/veewee/provider/core/box/copy.rb +17 -0
  72. data/lib/veewee/provider/core/box/exec.rb +53 -0
  73. data/lib/veewee/provider/core/box/floppy.rb +32 -0
  74. data/lib/veewee/provider/core/box/halt.rb +28 -0
  75. data/lib/veewee/provider/core/box/issh.rb +15 -0
  76. data/lib/veewee/provider/core/box/poweroff.rb +12 -0
  77. data/lib/veewee/provider/core/box/scp.rb +29 -0
  78. data/lib/veewee/provider/core/box/ssh.rb +95 -0
  79. data/lib/veewee/provider/core/box/sudo.rb +21 -0
  80. data/lib/veewee/provider/core/box/validate_tags.rb +64 -0
  81. data/lib/veewee/provider/core/box/vnc.rb +122 -0
  82. data/lib/veewee/provider/core/box/wincp.rb +120 -0
  83. data/lib/veewee/provider/core/box/winrm.rb +59 -0
  84. data/lib/veewee/provider/core/helper/comm.rb +47 -0
  85. data/lib/veewee/provider/core/helper/iso.rb +162 -0
  86. data/lib/veewee/provider/core/helper/scancode.rb +97 -0
  87. data/lib/veewee/provider/core/helper/shell.rb +56 -0
  88. data/lib/veewee/provider/core/helper/ssh.rb +165 -0
  89. data/lib/veewee/provider/core/helper/tcp.rb +102 -0
  90. data/lib/veewee/provider/core/helper/web.rb +83 -0
  91. data/lib/veewee/provider/core/helper/winrm.rb +167 -0
  92. data/lib/veewee/provider/core/provider.rb +85 -0
  93. data/lib/veewee/provider/core/provider/transaction.rb +25 -0
  94. data/lib/veewee/provider/core/provider/tunnel.rb +46 -0
  95. data/lib/veewee/provider/kvm/box.rb +47 -0
  96. data/lib/veewee/provider/kvm/box/build.rb +11 -0
  97. data/lib/veewee/provider/kvm/box/create.rb +184 -0
  98. data/lib/veewee/provider/kvm/box/destroy.rb +32 -0
  99. data/lib/veewee/provider/kvm/box/halt.rb +19 -0
  100. data/lib/veewee/provider/kvm/box/helper/console_type.rb +20 -0
  101. data/lib/veewee/provider/kvm/box/helper/ip.rb +14 -0
  102. data/lib/veewee/provider/kvm/box/helper/ssh_options.rb +19 -0
  103. data/lib/veewee/provider/kvm/box/helper/status.rb +32 -0
  104. data/lib/veewee/provider/kvm/box/poweroff.rb +14 -0
  105. data/lib/veewee/provider/kvm/box/up.rb +14 -0
  106. data/lib/veewee/provider/kvm/box/validate_kvm.rb +15 -0
  107. data/lib/veewee/provider/kvm/provider.rb +62 -0
  108. data/lib/veewee/provider/parallels/box.rb +35 -0
  109. data/lib/veewee/provider/parallels/box/build.rb +13 -0
  110. data/lib/veewee/provider/parallels/box/create.rb +63 -0
  111. data/lib/veewee/provider/parallels/box/destroy.rb +23 -0
  112. data/lib/veewee/provider/parallels/box/halt.rb +14 -0
  113. data/lib/veewee/provider/parallels/box/helper/buildinfo.rb +45 -0
  114. data/lib/veewee/provider/parallels/box/helper/console_type.rb +181 -0
  115. data/lib/veewee/provider/parallels/box/helper/ip.rb +23 -0
  116. data/lib/veewee/provider/parallels/box/helper/ssh_options.rb +20 -0
  117. data/lib/veewee/provider/parallels/box/helper/status.rb +28 -0
  118. data/lib/veewee/provider/parallels/box/poweroff.rb +14 -0
  119. data/lib/veewee/provider/parallels/box/ssh.rb +12 -0
  120. data/lib/veewee/provider/parallels/box/up.rb +15 -0
  121. data/lib/veewee/provider/parallels/box/validate_parallels.rb +13 -0
  122. data/lib/veewee/provider/parallels/notes/parallels-sdk.txt +116 -0
  123. data/lib/veewee/provider/parallels/provider.rb +33 -0
  124. data/lib/veewee/provider/virtualbox/box.rb +48 -0
  125. data/lib/veewee/provider/virtualbox/box/build.rb +23 -0
  126. data/lib/veewee/provider/virtualbox/box/create.rb +78 -0
  127. data/lib/veewee/provider/virtualbox/box/destroy.rb +64 -0
  128. data/lib/veewee/provider/virtualbox/box/export_vagrant.rb +100 -0
  129. data/lib/veewee/provider/virtualbox/box/halt.rb +13 -0
  130. data/lib/veewee/provider/virtualbox/box/helper/buildinfo.rb +28 -0
  131. data/lib/veewee/provider/virtualbox/box/helper/console_type.rb +62 -0
  132. data/lib/veewee/provider/virtualbox/box/helper/create.rb +200 -0
  133. data/lib/veewee/provider/virtualbox/box/helper/forwarding.rb +38 -0
  134. data/lib/veewee/provider/virtualbox/box/helper/guest_additions.rb +16 -0
  135. data/lib/veewee/provider/virtualbox/box/helper/ip.rb +19 -0
  136. data/lib/veewee/provider/virtualbox/box/helper/natinterface.rb +17 -0
  137. data/lib/veewee/provider/virtualbox/box/helper/ssh_options.rb +28 -0
  138. data/lib/veewee/provider/virtualbox/box/helper/status.rb +29 -0
  139. data/lib/veewee/provider/virtualbox/box/helper/version.rb +28 -0
  140. data/lib/veewee/provider/virtualbox/box/helper/winrm_options.rb +31 -0
  141. data/lib/veewee/provider/virtualbox/box/poweroff.rb +19 -0
  142. data/lib/veewee/provider/virtualbox/box/screenshot.rb +24 -0
  143. data/lib/veewee/provider/virtualbox/box/ssh.rb +13 -0
  144. data/lib/veewee/provider/virtualbox/box/up.rb +68 -0
  145. data/lib/veewee/provider/virtualbox/box/validate_vagrant.rb +13 -0
  146. data/lib/veewee/provider/virtualbox/box/winrm.rb +13 -0
  147. data/lib/veewee/provider/virtualbox/provider.rb +19 -0
  148. data/lib/veewee/provider/vmfusion/box.rb +61 -0
  149. data/lib/veewee/provider/vmfusion/box/add_share.rb +18 -0
  150. data/lib/veewee/provider/vmfusion/box/build.rb +15 -0
  151. data/lib/veewee/provider/vmfusion/box/create.rb +64 -0
  152. data/lib/veewee/provider/vmfusion/box/destroy.rb +19 -0
  153. data/lib/veewee/provider/vmfusion/box/export_ova.rb +49 -0
  154. data/lib/veewee/provider/vmfusion/box/halt.rb +13 -0
  155. data/lib/veewee/provider/vmfusion/box/helper/buildinfo.rb +62 -0
  156. data/lib/veewee/provider/vmfusion/box/helper/console_type.rb +18 -0
  157. data/lib/veewee/provider/vmfusion/box/helper/ip.rb +64 -0
  158. data/lib/veewee/provider/vmfusion/box/helper/ssh_options.rb +20 -0
  159. data/lib/veewee/provider/vmfusion/box/helper/status.rb +20 -0
  160. data/lib/veewee/provider/vmfusion/box/helper/vnc.rb +61 -0
  161. data/lib/veewee/provider/vmfusion/box/helper/winrm_options.rb +21 -0
  162. data/lib/veewee/provider/vmfusion/box/poweroff.rb +13 -0
  163. data/lib/veewee/provider/vmfusion/box/ssh.rb +12 -0
  164. data/lib/veewee/provider/vmfusion/box/template.rb +61 -0
  165. data/lib/veewee/provider/vmfusion/box/template.vmx.erb +91 -0
  166. data/lib/veewee/provider/vmfusion/box/up.rb +18 -0
  167. data/lib/veewee/provider/vmfusion/box/validate_vmfusion.rb +13 -0
  168. data/lib/veewee/provider/vmfusion/box/winrm.rb +12 -0
  169. data/lib/veewee/provider/vmfusion/info/export_ovf.info +103 -0
  170. data/lib/veewee/provider/vmfusion/provider.rb +43 -0
  171. data/lib/veewee/providers.rb +32 -0
  172. data/lib/veewee/template.rb +26 -0
  173. data/lib/veewee/templates.rb +69 -0
  174. data/lib/veewee/templates/locales/en.yml +30 -0
  175. data/lib/veewee/ui.rb +87 -0
  176. data/lib/veewee/version.rb +8 -0
  177. data/templates/CentOS-4.8-i386/definition.rb +14 -0
  178. data/templates/CentOS-4.8-i386/ks.cfg +45 -0
  179. data/templates/CentOS-4.8-i386/postinstall.sh +55 -0
  180. data/templates/CentOS-5.5-i386-netboot/definition.rb +16 -0
  181. data/templates/CentOS-5.5-i386-netboot/ks.cfg +46 -0
  182. data/templates/CentOS-5.5-i386-netboot/postinstall.sh +60 -0
  183. data/templates/CentOS-5.5-x86_64-netboot/definition.rb +16 -0
  184. data/templates/CentOS-5.5-x86_64-netboot/ks.cfg +46 -0
  185. data/templates/CentOS-5.5-x86_64-netboot/postinstall.sh +61 -0
  186. data/templates/CentOS-5.6-i386-netboot/definition.rb +16 -0
  187. data/templates/CentOS-5.6-i386-netboot/ks.cfg +45 -0
  188. data/templates/CentOS-5.6-i386-netboot/postinstall.sh +64 -0
  189. data/templates/CentOS-5.6-i386/definition.rb +17 -0
  190. data/templates/CentOS-5.6-i386/ks.cfg +45 -0
  191. data/templates/CentOS-5.6-i386/postinstall.sh +50 -0
  192. data/templates/CentOS-5.6-x86_64-netboot-packages/definition.rb +16 -0
  193. data/templates/CentOS-5.6-x86_64-netboot-packages/ks.cfg +47 -0
  194. data/templates/CentOS-5.6-x86_64-netboot-packages/postinstall.sh +61 -0
  195. data/templates/CentOS-5.6-x86_64-netboot/definition.rb +16 -0
  196. data/templates/CentOS-5.6-x86_64-netboot/ks.cfg +45 -0
  197. data/templates/CentOS-5.6-x86_64-netboot/postinstall.sh +61 -0
  198. data/templates/CentOS-5.7-i386-netboot/definition.rb +16 -0
  199. data/templates/CentOS-5.7-i386-netboot/ks.cfg +47 -0
  200. data/templates/CentOS-5.7-i386-netboot/postinstall.sh +53 -0
  201. data/templates/CentOS-5.7-x86_64-netboot/definition.rb +16 -0
  202. data/templates/CentOS-5.7-x86_64-netboot/ks.cfg +47 -0
  203. data/templates/CentOS-5.7-x86_64-netboot/postinstall.sh +60 -0
  204. data/templates/CentOS-5.8-i386-netboot/definition.rb +16 -0
  205. data/templates/CentOS-5.8-i386-netboot/ks.cfg +47 -0
  206. data/templates/CentOS-5.8-i386-netboot/postinstall.sh +53 -0
  207. data/templates/CentOS-5.8-i386/definition.rb +16 -0
  208. data/templates/CentOS-5.8-i386/ks.cfg +47 -0
  209. data/templates/CentOS-5.8-i386/postinstall.sh +53 -0
  210. data/templates/CentOS-5.8-x86_64-netboot/definition.rb +16 -0
  211. data/templates/CentOS-5.8-x86_64-netboot/ks.cfg +47 -0
  212. data/templates/CentOS-5.8-x86_64-netboot/postinstall.sh +53 -0
  213. data/templates/CentOS-5.8-x86_64/definition.rb +16 -0
  214. data/templates/CentOS-5.8-x86_64/ks.cfg +47 -0
  215. data/templates/CentOS-5.8-x86_64/postinstall.sh +60 -0
  216. data/templates/CentOS-5.9-i386-netboot/definition.rb +16 -0
  217. data/templates/CentOS-5.9-i386-netboot/ks.cfg +47 -0
  218. data/templates/CentOS-5.9-i386-netboot/postinstall.sh +56 -0
  219. data/templates/CentOS-5.9-i386/definition.rb +16 -0
  220. data/templates/CentOS-5.9-i386/ks.cfg +47 -0
  221. data/templates/CentOS-5.9-i386/postinstall.sh +56 -0
  222. data/templates/CentOS-5.9-x86_64-netboot/definition.rb +16 -0
  223. data/templates/CentOS-5.9-x86_64-netboot/ks.cfg +47 -0
  224. data/templates/CentOS-5.9-x86_64-netboot/postinstall.sh +56 -0
  225. data/templates/CentOS-5.9-x86_64/definition.rb +16 -0
  226. data/templates/CentOS-5.9-x86_64/ks.cfg +47 -0
  227. data/templates/CentOS-5.9-x86_64/postinstall.sh +63 -0
  228. data/templates/CentOS-6.0-i386-netboot/base.sh +14 -0
  229. data/templates/CentOS-6.0-i386-netboot/chef.sh +3 -0
  230. data/templates/CentOS-6.0-i386-netboot/cleanup.sh +5 -0
  231. data/templates/CentOS-6.0-i386-netboot/definition.rb +40 -0
  232. data/templates/CentOS-6.0-i386-netboot/ks.cfg +42 -0
  233. data/templates/CentOS-6.0-i386-netboot/puppet.sh +12 -0
  234. data/templates/CentOS-6.0-i386-netboot/ruby.sh +3 -0
  235. data/templates/CentOS-6.0-i386-netboot/vagrant.sh +18 -0
  236. data/templates/CentOS-6.0-i386-netboot/virtualbox.sh +8 -0
  237. data/templates/CentOS-6.0-i386-netboot/zerodisk.sh +3 -0
  238. data/templates/CentOS-6.0-i386/base.sh +22 -0
  239. data/templates/CentOS-6.0-i386/chef.sh +3 -0
  240. data/templates/CentOS-6.0-i386/cleanup.sh +5 -0
  241. data/templates/CentOS-6.0-i386/definition.rb +40 -0
  242. data/templates/CentOS-6.0-i386/ks.cfg +42 -0
  243. data/templates/CentOS-6.0-i386/puppet.sh +12 -0
  244. data/templates/CentOS-6.0-i386/ruby.sh +3 -0
  245. data/templates/CentOS-6.0-i386/vagrant.sh +18 -0
  246. data/templates/CentOS-6.0-i386/virtualbox.sh +8 -0
  247. data/templates/CentOS-6.0-i386/zerodisk.sh +3 -0
  248. data/templates/CentOS-6.0-x86_64-minimal/base.sh +22 -0
  249. data/templates/CentOS-6.0-x86_64-minimal/chef.sh +3 -0
  250. data/templates/CentOS-6.0-x86_64-minimal/cleanup.sh +5 -0
  251. data/templates/CentOS-6.0-x86_64-minimal/definition.rb +40 -0
  252. data/templates/CentOS-6.0-x86_64-minimal/ks.cfg +42 -0
  253. data/templates/CentOS-6.0-x86_64-minimal/puppet.sh +12 -0
  254. data/templates/CentOS-6.0-x86_64-minimal/ruby.sh +3 -0
  255. data/templates/CentOS-6.0-x86_64-minimal/vagrant.sh +18 -0
  256. data/templates/CentOS-6.0-x86_64-minimal/virtualbox.sh +8 -0
  257. data/templates/CentOS-6.0-x86_64-minimal/zerodisk.sh +3 -0
  258. data/templates/CentOS-6.0-x86_64-netboot/base.sh +14 -0
  259. data/templates/CentOS-6.0-x86_64-netboot/chef.sh +3 -0
  260. data/templates/CentOS-6.0-x86_64-netboot/cleanup.sh +5 -0
  261. data/templates/CentOS-6.0-x86_64-netboot/definition.rb +40 -0
  262. data/templates/CentOS-6.0-x86_64-netboot/ks.cfg +42 -0
  263. data/templates/CentOS-6.0-x86_64-netboot/puppet.sh +12 -0
  264. data/templates/CentOS-6.0-x86_64-netboot/ruby.sh +3 -0
  265. data/templates/CentOS-6.0-x86_64-netboot/vagrant.sh +18 -0
  266. data/templates/CentOS-6.0-x86_64-netboot/virtualbox.sh +8 -0
  267. data/templates/CentOS-6.0-x86_64-netboot/zerodisk.sh +3 -0
  268. data/templates/CentOS-6.0-x86_64/base.sh +22 -0
  269. data/templates/CentOS-6.0-x86_64/chef.sh +3 -0
  270. data/templates/CentOS-6.0-x86_64/cleanup.sh +5 -0
  271. data/templates/CentOS-6.0-x86_64/definition.rb +40 -0
  272. data/templates/CentOS-6.0-x86_64/ks.cfg +42 -0
  273. data/templates/CentOS-6.0-x86_64/puppet.sh +12 -0
  274. data/templates/CentOS-6.0-x86_64/ruby.sh +3 -0
  275. data/templates/CentOS-6.0-x86_64/vagrant.sh +18 -0
  276. data/templates/CentOS-6.0-x86_64/virtualbox.sh +8 -0
  277. data/templates/CentOS-6.0-x86_64/zerodisk.sh +3 -0
  278. data/templates/CentOS-6.1-x86_64-minimal/base.sh +22 -0
  279. data/templates/CentOS-6.1-x86_64-minimal/chef.sh +3 -0
  280. data/templates/CentOS-6.1-x86_64-minimal/cleanup.sh +5 -0
  281. data/templates/CentOS-6.1-x86_64-minimal/definition.rb +40 -0
  282. data/templates/CentOS-6.1-x86_64-minimal/ks.cfg +42 -0
  283. data/templates/CentOS-6.1-x86_64-minimal/puppet.sh +12 -0
  284. data/templates/CentOS-6.1-x86_64-minimal/ruby.sh +3 -0
  285. data/templates/CentOS-6.1-x86_64-minimal/vagrant.sh +18 -0
  286. data/templates/CentOS-6.1-x86_64-minimal/virtualbox.sh +8 -0
  287. data/templates/CentOS-6.1-x86_64-minimal/zerodisk.sh +3 -0
  288. data/templates/CentOS-6.1-x86_64-netboot/base.sh +14 -0
  289. data/templates/CentOS-6.1-x86_64-netboot/chef.sh +3 -0
  290. data/templates/CentOS-6.1-x86_64-netboot/cleanup.sh +5 -0
  291. data/templates/CentOS-6.1-x86_64-netboot/definition.rb +40 -0
  292. data/templates/CentOS-6.1-x86_64-netboot/ks.cfg +42 -0
  293. data/templates/CentOS-6.1-x86_64-netboot/puppet.sh +12 -0
  294. data/templates/CentOS-6.1-x86_64-netboot/ruby.sh +3 -0
  295. data/templates/CentOS-6.1-x86_64-netboot/vagrant.sh +18 -0
  296. data/templates/CentOS-6.1-x86_64-netboot/virtualbox.sh +8 -0
  297. data/templates/CentOS-6.1-x86_64-netboot/zerodisk.sh +3 -0
  298. data/templates/CentOS-6.2-i386-minimal/base.sh +22 -0
  299. data/templates/CentOS-6.2-i386-minimal/chef.sh +3 -0
  300. data/templates/CentOS-6.2-i386-minimal/cleanup.sh +5 -0
  301. data/templates/CentOS-6.2-i386-minimal/definition.rb +40 -0
  302. data/templates/CentOS-6.2-i386-minimal/ks.cfg +42 -0
  303. data/templates/CentOS-6.2-i386-minimal/puppet.sh +12 -0
  304. data/templates/CentOS-6.2-i386-minimal/ruby.sh +3 -0
  305. data/templates/CentOS-6.2-i386-minimal/vagrant.sh +18 -0
  306. data/templates/CentOS-6.2-i386-minimal/virtualbox.sh +8 -0
  307. data/templates/CentOS-6.2-i386-minimal/zerodisk.sh +3 -0
  308. data/templates/CentOS-6.2-x86_64-minimal/base.sh +22 -0
  309. data/templates/CentOS-6.2-x86_64-minimal/chef.sh +3 -0
  310. data/templates/CentOS-6.2-x86_64-minimal/cleanup.sh +5 -0
  311. data/templates/CentOS-6.2-x86_64-minimal/definition.rb +40 -0
  312. data/templates/CentOS-6.2-x86_64-minimal/ks.cfg +42 -0
  313. data/templates/CentOS-6.2-x86_64-minimal/puppet.sh +12 -0
  314. data/templates/CentOS-6.2-x86_64-minimal/ruby.sh +3 -0
  315. data/templates/CentOS-6.2-x86_64-minimal/vagrant.sh +18 -0
  316. data/templates/CentOS-6.2-x86_64-minimal/virtualbox.sh +8 -0
  317. data/templates/CentOS-6.2-x86_64-minimal/zerodisk.sh +3 -0
  318. data/templates/CentOS-6.2-x86_64-netboot/base.sh +14 -0
  319. data/templates/CentOS-6.2-x86_64-netboot/chef.sh +3 -0
  320. data/templates/CentOS-6.2-x86_64-netboot/cleanup.sh +5 -0
  321. data/templates/CentOS-6.2-x86_64-netboot/definition.rb +40 -0
  322. data/templates/CentOS-6.2-x86_64-netboot/ks.cfg +42 -0
  323. data/templates/CentOS-6.2-x86_64-netboot/puppet.sh +12 -0
  324. data/templates/CentOS-6.2-x86_64-netboot/ruby.sh +3 -0
  325. data/templates/CentOS-6.2-x86_64-netboot/vagrant.sh +18 -0
  326. data/templates/CentOS-6.2-x86_64-netboot/virtualbox.sh +8 -0
  327. data/templates/CentOS-6.2-x86_64-netboot/zerodisk.sh +3 -0
  328. data/templates/CentOS-6.3-i386-minimal/base.sh +14 -0
  329. data/templates/CentOS-6.3-i386-minimal/chef.sh +3 -0
  330. data/templates/CentOS-6.3-i386-minimal/cleanup.sh +5 -0
  331. data/templates/CentOS-6.3-i386-minimal/definition.rb +49 -0
  332. data/templates/CentOS-6.3-i386-minimal/ks.cfg +78 -0
  333. data/templates/CentOS-6.3-i386-minimal/puppet.sh +12 -0
  334. data/templates/CentOS-6.3-i386-minimal/ruby.sh +3 -0
  335. data/templates/CentOS-6.3-i386-minimal/vagrant.sh +18 -0
  336. data/templates/CentOS-6.3-i386-minimal/virtualbox.sh +8 -0
  337. data/templates/CentOS-6.3-i386-minimal/zerodisk.sh +3 -0
  338. data/templates/CentOS-6.3-x86_64-minimal/base.sh +14 -0
  339. data/templates/CentOS-6.3-x86_64-minimal/chef.sh +3 -0
  340. data/templates/CentOS-6.3-x86_64-minimal/cleanup.sh +5 -0
  341. data/templates/CentOS-6.3-x86_64-minimal/definition.rb +40 -0
  342. data/templates/CentOS-6.3-x86_64-minimal/ks.cfg +42 -0
  343. data/templates/CentOS-6.3-x86_64-minimal/puppet.sh +12 -0
  344. data/templates/CentOS-6.3-x86_64-minimal/ruby.sh +3 -0
  345. data/templates/CentOS-6.3-x86_64-minimal/vagrant.sh +18 -0
  346. data/templates/CentOS-6.3-x86_64-minimal/virtualbox.sh +8 -0
  347. data/templates/CentOS-6.3-x86_64-minimal/zerodisk.sh +3 -0
  348. data/templates/CentOS-6.3-x86_64-netboot/base.sh +14 -0
  349. data/templates/CentOS-6.3-x86_64-netboot/cfengine.sh +69 -0
  350. data/templates/CentOS-6.3-x86_64-netboot/chef.sh +3 -0
  351. data/templates/CentOS-6.3-x86_64-netboot/cleanup.sh +5 -0
  352. data/templates/CentOS-6.3-x86_64-netboot/definition.rb +40 -0
  353. data/templates/CentOS-6.3-x86_64-netboot/ks.cfg +41 -0
  354. data/templates/CentOS-6.3-x86_64-netboot/puppet.sh +12 -0
  355. data/templates/CentOS-6.3-x86_64-netboot/ruby.sh +3 -0
  356. data/templates/CentOS-6.3-x86_64-netboot/vagrant.sh +18 -0
  357. data/templates/CentOS-6.3-x86_64-netboot/virtualbox.sh +8 -0
  358. data/templates/CentOS-6.3-x86_64-netboot/zerodisk.sh +3 -0
  359. data/templates/Debian-5.0.10-amd64-netboot/base.sh +9 -0
  360. data/templates/Debian-5.0.10-amd64-netboot/chef.sh +2 -0
  361. data/templates/Debian-5.0.10-amd64-netboot/cleanup.sh +10 -0
  362. data/templates/Debian-5.0.10-amd64-netboot/definition.rb +39 -0
  363. data/templates/Debian-5.0.10-amd64-netboot/postinstall.sh +60 -0
  364. data/templates/Debian-5.0.10-amd64-netboot/preseed.cfg +312 -0
  365. data/templates/Debian-5.0.10-amd64-netboot/puppet.sh +2 -0
  366. data/templates/Debian-5.0.10-amd64-netboot/ruby.sh +11 -0
  367. data/templates/Debian-5.0.10-amd64-netboot/vagrant.sh +14 -0
  368. data/templates/Debian-5.0.10-amd64-netboot/virtualbox.sh +15 -0
  369. data/templates/Debian-5.0.10-i386-netboot/base.sh +9 -0
  370. data/templates/Debian-5.0.10-i386-netboot/chef.sh +2 -0
  371. data/templates/Debian-5.0.10-i386-netboot/cleanup.sh +10 -0
  372. data/templates/Debian-5.0.10-i386-netboot/definition.rb +39 -0
  373. data/templates/Debian-5.0.10-i386-netboot/postinstall.sh +60 -0
  374. data/templates/Debian-5.0.10-i386-netboot/preseed.cfg +312 -0
  375. data/templates/Debian-5.0.10-i386-netboot/puppet.sh +2 -0
  376. data/templates/Debian-5.0.10-i386-netboot/ruby.sh +11 -0
  377. data/templates/Debian-5.0.10-i386-netboot/vagrant.sh +14 -0
  378. data/templates/Debian-5.0.10-i386-netboot/virtualbox.sh +15 -0
  379. data/templates/Debian-5.0.8-amd64-netboot/base.sh +9 -0
  380. data/templates/Debian-5.0.8-amd64-netboot/chef.sh +2 -0
  381. data/templates/Debian-5.0.8-amd64-netboot/cleanup.sh +10 -0
  382. data/templates/Debian-5.0.8-amd64-netboot/definition.rb +39 -0
  383. data/templates/Debian-5.0.8-amd64-netboot/postinstall.sh +60 -0
  384. data/templates/Debian-5.0.8-amd64-netboot/preseed.cfg +312 -0
  385. data/templates/Debian-5.0.8-amd64-netboot/puppet.sh +2 -0
  386. data/templates/Debian-5.0.8-amd64-netboot/ruby.sh +11 -0
  387. data/templates/Debian-5.0.8-amd64-netboot/vagrant.sh +14 -0
  388. data/templates/Debian-5.0.8-amd64-netboot/virtualbox.sh +15 -0
  389. data/templates/Debian-5.0.8-i386-netboot/base.sh +9 -0
  390. data/templates/Debian-5.0.8-i386-netboot/chef.sh +2 -0
  391. data/templates/Debian-5.0.8-i386-netboot/cleanup.sh +10 -0
  392. data/templates/Debian-5.0.8-i386-netboot/definition.rb +39 -0
  393. data/templates/Debian-5.0.8-i386-netboot/postinstall.sh +60 -0
  394. data/templates/Debian-5.0.8-i386-netboot/preseed.cfg +312 -0
  395. data/templates/Debian-5.0.8-i386-netboot/puppet.sh +2 -0
  396. data/templates/Debian-5.0.8-i386-netboot/ruby.sh +11 -0
  397. data/templates/Debian-5.0.8-i386-netboot/vagrant.sh +14 -0
  398. data/templates/Debian-5.0.8-i386-netboot/virtualbox.sh +15 -0
  399. data/templates/Debian-6.0.3-amd64-netboot/base.sh +27 -0
  400. data/templates/Debian-6.0.3-amd64-netboot/chef.sh +2 -0
  401. data/templates/Debian-6.0.3-amd64-netboot/cleanup-virtualbox.sh +2 -0
  402. data/templates/Debian-6.0.3-amd64-netboot/cleanup.sh +18 -0
  403. data/templates/Debian-6.0.3-amd64-netboot/definition.rb +40 -0
  404. data/templates/Debian-6.0.3-amd64-netboot/postinstall.sh +80 -0
  405. data/templates/Debian-6.0.3-amd64-netboot/preseed.cfg +312 -0
  406. data/templates/Debian-6.0.3-amd64-netboot/puppet.sh +2 -0
  407. data/templates/Debian-6.0.3-amd64-netboot/ruby.sh +10 -0
  408. data/templates/Debian-6.0.3-amd64-netboot/vagrant.sh +25 -0
  409. data/templates/Debian-6.0.3-amd64-netboot/virtualbox.sh +15 -0
  410. data/templates/Debian-6.0.3-amd64-netboot/zerodisk.sh +3 -0
  411. data/templates/Debian-6.0.3-i386-netboot/base.sh +27 -0
  412. data/templates/Debian-6.0.3-i386-netboot/chef.sh +2 -0
  413. data/templates/Debian-6.0.3-i386-netboot/cleanup-virtualbox.sh +2 -0
  414. data/templates/Debian-6.0.3-i386-netboot/cleanup.sh +18 -0
  415. data/templates/Debian-6.0.3-i386-netboot/definition.rb +41 -0
  416. data/templates/Debian-6.0.3-i386-netboot/postinstall.sh +80 -0
  417. data/templates/Debian-6.0.3-i386-netboot/preseed.cfg +312 -0
  418. data/templates/Debian-6.0.3-i386-netboot/puppet.sh +2 -0
  419. data/templates/Debian-6.0.3-i386-netboot/ruby.sh +10 -0
  420. data/templates/Debian-6.0.3-i386-netboot/vagrant.sh +25 -0
  421. data/templates/Debian-6.0.3-i386-netboot/virtualbox.sh +15 -0
  422. data/templates/Debian-6.0.3-i386-netboot/zerodisk.sh +3 -0
  423. data/templates/Debian-6.0.4-amd64-netboot/base.sh +27 -0
  424. data/templates/Debian-6.0.4-amd64-netboot/chef.sh +2 -0
  425. data/templates/Debian-6.0.4-amd64-netboot/cleanup-virtualbox.sh +4 -0
  426. data/templates/Debian-6.0.4-amd64-netboot/cleanup.sh +17 -0
  427. data/templates/Debian-6.0.4-amd64-netboot/definition.rb +49 -0
  428. data/templates/Debian-6.0.4-amd64-netboot/preseed.cfg +315 -0
  429. data/templates/Debian-6.0.4-amd64-netboot/puppet.sh +2 -0
  430. data/templates/Debian-6.0.4-amd64-netboot/ruby.sh +10 -0
  431. data/templates/Debian-6.0.4-amd64-netboot/vagrant.sh +25 -0
  432. data/templates/Debian-6.0.4-amd64-netboot/virtualbox.sh +13 -0
  433. data/templates/Debian-6.0.4-amd64-netboot/zerodisk.sh +3 -0
  434. data/templates/Debian-6.0.4-i386-netboot/base.sh +27 -0
  435. data/templates/Debian-6.0.4-i386-netboot/chef.sh +2 -0
  436. data/templates/Debian-6.0.4-i386-netboot/cleanup-virtualbox.sh +4 -0
  437. data/templates/Debian-6.0.4-i386-netboot/cleanup.sh +17 -0
  438. data/templates/Debian-6.0.4-i386-netboot/definition.rb +51 -0
  439. data/templates/Debian-6.0.4-i386-netboot/preseed.cfg +315 -0
  440. data/templates/Debian-6.0.4-i386-netboot/puppet.sh +2 -0
  441. data/templates/Debian-6.0.4-i386-netboot/ruby.sh +10 -0
  442. data/templates/Debian-6.0.4-i386-netboot/vagrant.sh +25 -0
  443. data/templates/Debian-6.0.4-i386-netboot/virtualbox.sh +13 -0
  444. data/templates/Debian-6.0.4-i386-netboot/zerodisk.sh +3 -0
  445. data/templates/Debian-6.0.5-amd64-netboot/base.sh +27 -0
  446. data/templates/Debian-6.0.5-amd64-netboot/chef.sh +2 -0
  447. data/templates/Debian-6.0.5-amd64-netboot/cleanup-virtualbox.sh +4 -0
  448. data/templates/Debian-6.0.5-amd64-netboot/cleanup.sh +17 -0
  449. data/templates/Debian-6.0.5-amd64-netboot/definition.rb +49 -0
  450. data/templates/Debian-6.0.5-amd64-netboot/preseed.cfg +315 -0
  451. data/templates/Debian-6.0.5-amd64-netboot/puppet.sh +2 -0
  452. data/templates/Debian-6.0.5-amd64-netboot/ruby.sh +10 -0
  453. data/templates/Debian-6.0.5-amd64-netboot/vagrant.sh +25 -0
  454. data/templates/Debian-6.0.5-amd64-netboot/virtualbox.sh +13 -0
  455. data/templates/Debian-6.0.5-amd64-netboot/zerodisk.sh +3 -0
  456. data/templates/Debian-6.0.5-i386-netboot/base.sh +27 -0
  457. data/templates/Debian-6.0.5-i386-netboot/chef.sh +2 -0
  458. data/templates/Debian-6.0.5-i386-netboot/cleanup-virtualbox.sh +4 -0
  459. data/templates/Debian-6.0.5-i386-netboot/cleanup.sh +17 -0
  460. data/templates/Debian-6.0.5-i386-netboot/definition.rb +51 -0
  461. data/templates/Debian-6.0.5-i386-netboot/preseed.cfg +315 -0
  462. data/templates/Debian-6.0.5-i386-netboot/puppet.sh +2 -0
  463. data/templates/Debian-6.0.5-i386-netboot/ruby.sh +10 -0
  464. data/templates/Debian-6.0.5-i386-netboot/vagrant.sh +25 -0
  465. data/templates/Debian-6.0.5-i386-netboot/virtualbox.sh +13 -0
  466. data/templates/Debian-6.0.5-i386-netboot/zerodisk.sh +3 -0
  467. data/templates/Debian-6.0.6-amd64-netboot/base.sh +27 -0
  468. data/templates/Debian-6.0.6-amd64-netboot/chef.sh +2 -0
  469. data/templates/Debian-6.0.6-amd64-netboot/cleanup-virtualbox.sh +4 -0
  470. data/templates/Debian-6.0.6-amd64-netboot/cleanup.sh +17 -0
  471. data/templates/Debian-6.0.6-amd64-netboot/definition.rb +49 -0
  472. data/templates/Debian-6.0.6-amd64-netboot/preseed.cfg +315 -0
  473. data/templates/Debian-6.0.6-amd64-netboot/puppet.sh +2 -0
  474. data/templates/Debian-6.0.6-amd64-netboot/ruby.sh +10 -0
  475. data/templates/Debian-6.0.6-amd64-netboot/vagrant.sh +25 -0
  476. data/templates/Debian-6.0.6-amd64-netboot/virtualbox.sh +14 -0
  477. data/templates/Debian-6.0.6-amd64-netboot/zerodisk.sh +3 -0
  478. data/templates/Debian-6.0.6-i386-netboot/base.sh +27 -0
  479. data/templates/Debian-6.0.6-i386-netboot/chef.sh +2 -0
  480. data/templates/Debian-6.0.6-i386-netboot/cleanup-virtualbox.sh +4 -0
  481. data/templates/Debian-6.0.6-i386-netboot/cleanup.sh +17 -0
  482. data/templates/Debian-6.0.6-i386-netboot/definition.rb +58 -0
  483. data/templates/Debian-6.0.6-i386-netboot/preseed.cfg +315 -0
  484. data/templates/Debian-6.0.6-i386-netboot/puppet.sh +2 -0
  485. data/templates/Debian-6.0.6-i386-netboot/ruby.sh +10 -0
  486. data/templates/Debian-6.0.6-i386-netboot/vagrant.sh +25 -0
  487. data/templates/Debian-6.0.6-i386-netboot/virtualbox.sh +13 -0
  488. data/templates/Debian-6.0.6-i386-netboot/zerodisk.sh +3 -0
  489. data/templates/Debian-7.0-b4-amd64-netboot/base.sh +26 -0
  490. data/templates/Debian-7.0-b4-amd64-netboot/chef.sh +2 -0
  491. data/templates/Debian-7.0-b4-amd64-netboot/cleanup-virtualbox.sh +4 -0
  492. data/templates/Debian-7.0-b4-amd64-netboot/cleanup.sh +17 -0
  493. data/templates/Debian-7.0-b4-amd64-netboot/definition.rb +51 -0
  494. data/templates/Debian-7.0-b4-amd64-netboot/preseed.cfg +313 -0
  495. data/templates/Debian-7.0-b4-amd64-netboot/puppet.sh +2 -0
  496. data/templates/Debian-7.0-b4-amd64-netboot/ruby.sh +10 -0
  497. data/templates/Debian-7.0-b4-amd64-netboot/vagrant.sh +25 -0
  498. data/templates/Debian-7.0-b4-amd64-netboot/virtualbox.sh +13 -0
  499. data/templates/Debian-7.0-b4-amd64-netboot/zerodisk.sh +3 -0
  500. data/templates/Debian-7.0-b4-i386-netboot/base.sh +26 -0
  501. data/templates/Debian-7.0-b4-i386-netboot/chef.sh +2 -0
  502. data/templates/Debian-7.0-b4-i386-netboot/cleanup-virtualbox.sh +4 -0
  503. data/templates/Debian-7.0-b4-i386-netboot/cleanup.sh +17 -0
  504. data/templates/Debian-7.0-b4-i386-netboot/definition.rb +52 -0
  505. data/templates/Debian-7.0-b4-i386-netboot/preseed.cfg +315 -0
  506. data/templates/Debian-7.0-b4-i386-netboot/puppet.sh +2 -0
  507. data/templates/Debian-7.0-b4-i386-netboot/ruby.sh +10 -0
  508. data/templates/Debian-7.0-b4-i386-netboot/vagrant.sh +25 -0
  509. data/templates/Debian-7.0-b4-i386-netboot/virtualbox.sh +13 -0
  510. data/templates/Debian-7.0-b4-i386-netboot/zerodisk.sh +3 -0
  511. data/templates/Fedora-14-amd64-netboot/definition.rb +16 -0
  512. data/templates/Fedora-14-amd64-netboot/ks.cfg +40 -0
  513. data/templates/Fedora-14-amd64-netboot/postinstall.sh +54 -0
  514. data/templates/Fedora-14-amd64/definition.rb +16 -0
  515. data/templates/Fedora-14-amd64/ks.cfg +41 -0
  516. data/templates/Fedora-14-amd64/postinstall.sh +54 -0
  517. data/templates/Fedora-14-i386-netboot/definition.rb +16 -0
  518. data/templates/Fedora-14-i386-netboot/ks.cfg +40 -0
  519. data/templates/Fedora-14-i386-netboot/postinstall.sh +54 -0
  520. data/templates/Fedora-14-i386/definition.rb +16 -0
  521. data/templates/Fedora-14-i386/ks.cfg +41 -0
  522. data/templates/Fedora-14-i386/postinstall.sh +54 -0
  523. data/templates/Fedora-15-i386-netboot/definition.rb +17 -0
  524. data/templates/Fedora-15-i386-netboot/ks.cfg +82 -0
  525. data/templates/Fedora-15-i386-netboot/postinstall.sh +18 -0
  526. data/templates/Fedora-15-i386/definition.rb +17 -0
  527. data/templates/Fedora-15-i386/ks.cfg +64 -0
  528. data/templates/Fedora-15-i386/postinstall.sh +33 -0
  529. data/templates/Fedora-15-x86_64-netboot/definition.rb +29 -0
  530. data/templates/Fedora-15-x86_64-netboot/ks.cfg +64 -0
  531. data/templates/Fedora-15-x86_64-netboot/postinstall.sh +33 -0
  532. data/templates/Fedora-15-x86_64/definition.rb +17 -0
  533. data/templates/Fedora-15-x86_64/ks.cfg +64 -0
  534. data/templates/Fedora-15-x86_64/postinstall.sh +33 -0
  535. data/templates/Fedora-16-i386/definition.rb +17 -0
  536. data/templates/Fedora-16-i386/ks.cfg +72 -0
  537. data/templates/Fedora-16-i386/postinstall.sh +35 -0
  538. data/templates/Fedora-16-x86_64-netboot/definition.rb +29 -0
  539. data/templates/Fedora-16-x86_64-netboot/ks.cfg +70 -0
  540. data/templates/Fedora-16-x86_64-netboot/postinstall.sh +26 -0
  541. data/templates/Fedora-16-x86_64/definition.rb +17 -0
  542. data/templates/Fedora-16-x86_64/ks.cfg +72 -0
  543. data/templates/Fedora-16-x86_64/postinstall.sh +35 -0
  544. data/templates/Fedora-17-i386/definition.rb +17 -0
  545. data/templates/Fedora-17-i386/ks.cfg +76 -0
  546. data/templates/Fedora-17-i386/postinstall.sh +35 -0
  547. data/templates/Fedora-17-x86_64/definition.rb +17 -0
  548. data/templates/Fedora-17-x86_64/ks.cfg +76 -0
  549. data/templates/Fedora-17-x86_64/postinstall.sh +35 -0
  550. data/templates/Fedora-18-i386/definition.rb +17 -0
  551. data/templates/Fedora-18-i386/ks.cfg +75 -0
  552. data/templates/Fedora-18-i386/postinstall.sh +40 -0
  553. data/templates/Fedora-18-x86_64/definition.rb +17 -0
  554. data/templates/Fedora-18-x86_64/ks.cfg +75 -0
  555. data/templates/Fedora-18-x86_64/postinstall.sh +43 -0
  556. data/templates/OracleLinux-6.3-x86_64-DVD/base.sh +30 -0
  557. data/templates/OracleLinux-6.3-x86_64-DVD/chef.sh +3 -0
  558. data/templates/OracleLinux-6.3-x86_64-DVD/cleanup.sh +5 -0
  559. data/templates/OracleLinux-6.3-x86_64-DVD/definition.rb +41 -0
  560. data/templates/OracleLinux-6.3-x86_64-DVD/ks.cfg +42 -0
  561. data/templates/OracleLinux-6.3-x86_64-DVD/nfs.sh +2 -0
  562. data/templates/OracleLinux-6.3-x86_64-DVD/puppet.sh +12 -0
  563. data/templates/OracleLinux-6.3-x86_64-DVD/ruby.sh +3 -0
  564. data/templates/OracleLinux-6.3-x86_64-DVD/vagrant.sh +18 -0
  565. data/templates/OracleLinux-6.3-x86_64-DVD/virtualbox.sh +8 -0
  566. data/templates/OracleLinux-6.3-x86_64-DVD/zerodisk.sh +3 -0
  567. data/templates/SLES-11-SP1-DVD-i586-GM/autoinst_de.xml +1127 -0
  568. data/templates/SLES-11-SP1-DVD-i586-GM/autoinst_en.xml +1127 -0
  569. data/templates/SLES-11-SP1-DVD-i586-GM/definition.rb +37 -0
  570. data/templates/SLES-11-SP1-DVD-i586-GM/postinstall.sh +46 -0
  571. data/templates/SLES-11-SP1-DVD-x86_64-GM/autoinst_de.xml +1171 -0
  572. data/templates/SLES-11-SP1-DVD-x86_64-GM/autoinst_en.xml +1171 -0
  573. data/templates/SLES-11-SP1-DVD-x86_64-GM/definition.rb +37 -0
  574. data/templates/SLES-11-SP1-DVD-x86_64-GM/postinstall.sh +46 -0
  575. data/templates/SLES-11-SP2-DVD-x86_64-GM/autoinst.xml +2578 -0
  576. data/templates/SLES-11-SP2-DVD-x86_64-GM/definition.rb +33 -0
  577. data/templates/SLES-11-SP2-DVD-x86_64-GM/postinstall.sh +51 -0
  578. data/templates/Sysrescuecd-2.0.0-experimental/autorun0 +3 -0
  579. data/templates/Sysrescuecd-2.0.0-experimental/definition.rb +20 -0
  580. data/templates/VMware-ESXi-5.0u2-x86_64/definition.rb +26 -0
  581. data/templates/VMware-ESXi-5.0u2-x86_64/ks.cfg +63 -0
  582. data/templates/VMware-ESXi-5.0u2-x86_64/vagrant_key.py +6 -0
  583. data/templates/VMware-ESXi-5.0u2-x86_64/vnc_enable.sh +40 -0
  584. data/templates/VMware-ESXi-5.1-x86_64/definition.rb +27 -0
  585. data/templates/VMware-ESXi-5.1-x86_64/ks.cfg +63 -0
  586. data/templates/VMware-ESXi-5.1-x86_64/vagrant_key.py +6 -0
  587. data/templates/VMware-ESXi-5.1-x86_64/vnc_enable.sh +39 -0
  588. data/templates/archlinux-i386-netboot/aif.cfg +28 -0
  589. data/templates/archlinux-i386-netboot/definition.rb +26 -0
  590. data/templates/archlinux-i386-netboot/postinstall.sh +75 -0
  591. data/templates/archlinux-i386-netboot/postinstall2.sh +30 -0
  592. data/templates/archlinux-i386/aif.cfg +33 -0
  593. data/templates/archlinux-i386/definition.rb +29 -0
  594. data/templates/archlinux-i386/postinstall.sh +106 -0
  595. data/templates/archlinux-x86_64-netboot/aif.cfg +28 -0
  596. data/templates/archlinux-x86_64-netboot/definition.rb +26 -0
  597. data/templates/archlinux-x86_64-netboot/postinstall.sh +75 -0
  598. data/templates/archlinux-x86_64-netboot/postinstall2.sh +30 -0
  599. data/templates/archlinux-x86_64/definition.rb +25 -0
  600. data/templates/archlinux-x86_64/postinstall.sh +104 -0
  601. data/templates/archlinux-x86_64/postinstall2.sh +37 -0
  602. data/templates/freebsd-8.2-experimental/definition.rb +19 -0
  603. data/templates/freebsd-8.2-experimental/postinstall.sh +191 -0
  604. data/templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb +31 -0
  605. data/templates/freebsd-8.2-pcbsd-i386-netboot/pcinstall.fbg.cfg +58 -0
  606. data/templates/freebsd-8.2-pcbsd-i386-netboot/postinstall.sh +93 -0
  607. data/templates/freebsd-8.2-pcbsd-i386/definition.rb +32 -0
  608. data/templates/freebsd-8.2-pcbsd-i386/pcinstall.fbg.cfg +57 -0
  609. data/templates/freebsd-8.2-pcbsd-i386/postinstall.sh +93 -0
  610. data/templates/freebsd-9.0-RELEASE-amd64/definition.rb +19 -0
  611. data/templates/freebsd-9.0-RELEASE-amd64/postinstall.sh +93 -0
  612. data/templates/funtoo-latest-generic_64-stable/definition.rb +34 -0
  613. data/templates/funtoo-latest-generic_64-stable/postinstall.sh +177 -0
  614. data/templates/funtoo-latest-generic_64-stable/postinstall2.sh +83 -0
  615. data/templates/funtoo-latest-x86_64/definition.rb +37 -0
  616. data/templates/funtoo-latest-x86_64/postinstall.sh +401 -0
  617. data/templates/gentoo-latest-i386-experimental/definition.rb +45 -0
  618. data/templates/gentoo-latest-i386-experimental/postinstall.sh +184 -0
  619. data/templates/gentoo-latest-i686-experimental/base.sh +83 -0
  620. data/templates/gentoo-latest-i686-experimental/chef.sh +7 -0
  621. data/templates/gentoo-latest-i686-experimental/cleanup.sh +23 -0
  622. data/templates/gentoo-latest-i686-experimental/cron.sh +8 -0
  623. data/templates/gentoo-latest-i686-experimental/definition.rb +61 -0
  624. data/templates/gentoo-latest-i686-experimental/grub.sh +24 -0
  625. data/templates/gentoo-latest-i686-experimental/kernel.sh +108 -0
  626. data/templates/gentoo-latest-i686-experimental/nfs.sh +5 -0
  627. data/templates/gentoo-latest-i686-experimental/puppet.sh +7 -0
  628. data/templates/gentoo-latest-i686-experimental/reboot.sh +4 -0
  629. data/templates/gentoo-latest-i686-experimental/ruby_portage.sh +17 -0
  630. data/templates/gentoo-latest-i686-experimental/ruby_source.sh +15 -0
  631. data/templates/gentoo-latest-i686-experimental/settings.sh +36 -0
  632. data/templates/gentoo-latest-i686-experimental/syslog.sh +8 -0
  633. data/templates/gentoo-latest-i686-experimental/vagrant.sh +57 -0
  634. data/templates/gentoo-latest-i686-experimental/virtualbox.sh +18 -0
  635. data/templates/gentoo-latest-i686-experimental/zerodisk.sh +15 -0
  636. data/templates/gentoo-latest-x86_64-experimental/base.sh +83 -0
  637. data/templates/gentoo-latest-x86_64-experimental/chef.sh +7 -0
  638. data/templates/gentoo-latest-x86_64-experimental/cleanup.sh +23 -0
  639. data/templates/gentoo-latest-x86_64-experimental/cron.sh +8 -0
  640. data/templates/gentoo-latest-x86_64-experimental/definition.rb +58 -0
  641. data/templates/gentoo-latest-x86_64-experimental/grub.sh +24 -0
  642. data/templates/gentoo-latest-x86_64-experimental/kernel.sh +108 -0
  643. data/templates/gentoo-latest-x86_64-experimental/nfs.sh +5 -0
  644. data/templates/gentoo-latest-x86_64-experimental/puppet.sh +7 -0
  645. data/templates/gentoo-latest-x86_64-experimental/ruby.sh +17 -0
  646. data/templates/gentoo-latest-x86_64-experimental/settings.sh +33 -0
  647. data/templates/gentoo-latest-x86_64-experimental/syslog.sh +8 -0
  648. data/templates/gentoo-latest-x86_64-experimental/vagrant.sh +57 -0
  649. data/templates/gentoo-latest-x86_64-experimental/virtualbox.sh +18 -0
  650. data/templates/gentoo-latest-x86_64-experimental/zerodisk.sh +15 -0
  651. data/templates/openSUSE-11.4-DVD-i586/autoinst_de.xml +1284 -0
  652. data/templates/openSUSE-11.4-DVD-i586/autoinst_en.xml +1284 -0
  653. data/templates/openSUSE-11.4-DVD-i586/definition.rb +28 -0
  654. data/templates/openSUSE-11.4-DVD-i586/postinstall.sh +48 -0
  655. data/templates/openSUSE-11.4-DVD-x86_64/autoinst_de.xml +1459 -0
  656. data/templates/openSUSE-11.4-DVD-x86_64/autoinst_en.xml +1459 -0
  657. data/templates/openSUSE-11.4-DVD-x86_64/definition.rb +28 -0
  658. data/templates/openSUSE-11.4-DVD-x86_64/postinstall.sh +48 -0
  659. data/templates/openSUSE-11.4-NET-i586/autoinst_de.xml +1278 -0
  660. data/templates/openSUSE-11.4-NET-i586/autoinst_en.xml +1278 -0
  661. data/templates/openSUSE-11.4-NET-i586/definition.rb +28 -0
  662. data/templates/openSUSE-11.4-NET-i586/postinstall.sh +48 -0
  663. data/templates/openSUSE-11.4-NET-x86_64/autoinst_de.xml +1453 -0
  664. data/templates/openSUSE-11.4-NET-x86_64/autoinst_en.xml +1453 -0
  665. data/templates/openSUSE-11.4-NET-x86_64/definition.rb +28 -0
  666. data/templates/openSUSE-11.4-NET-x86_64/postinstall.sh +48 -0
  667. data/templates/openSUSE-12.1-DVD+NET-i586/autoinst_de.xml +1483 -0
  668. data/templates/openSUSE-12.1-DVD+NET-i586/autoinst_en.xml +1483 -0
  669. data/templates/openSUSE-12.1-DVD+NET-i586/definition.rb +44 -0
  670. data/templates/openSUSE-12.1-DVD+NET-i586/postinstall.sh +48 -0
  671. data/templates/openSUSE-12.1-DVD+NET-x86_64/autoinst_de.xml +1727 -0
  672. data/templates/openSUSE-12.1-DVD+NET-x86_64/autoinst_en.xml +1727 -0
  673. data/templates/openSUSE-12.1-DVD+NET-x86_64/definition.rb +44 -0
  674. data/templates/openSUSE-12.1-DVD+NET-x86_64/postinstall.sh +48 -0
  675. data/templates/openbsd50_amd64/README +28 -0
  676. data/templates/openbsd50_amd64/definition.rb +85 -0
  677. data/templates/openbsd50_amd64/postinstall.sh +81 -0
  678. data/templates/openbsd50_i386/README +28 -0
  679. data/templates/openbsd50_i386/definition.rb +84 -0
  680. data/templates/openbsd50_i386/postinstall.sh +80 -0
  681. data/templates/openbsd52_amd64/README +28 -0
  682. data/templates/openbsd52_amd64/definition.rb +85 -0
  683. data/templates/openbsd52_amd64/postinstall.sh +81 -0
  684. data/templates/openbsd52_i386/README +28 -0
  685. data/templates/openbsd52_i386/definition.rb +81 -0
  686. data/templates/openbsd52_i386/postinstall.sh +81 -0
  687. data/templates/openbsd52_i386_snap/README +28 -0
  688. data/templates/openbsd52_i386_snap/definition.rb +81 -0
  689. data/templates/openbsd52_i386_snap/postinstall.sh +81 -0
  690. data/templates/openindiana-148-ai-x86/auto_install/ai.dtd +58 -0
  691. data/templates/openindiana-148-ai-x86/auto_install/ai_manifest.xml +241 -0
  692. data/templates/openindiana-148-ai-x86/auto_install/configuration.dtd +44 -0
  693. data/templates/openindiana-148-ai-x86/auto_install/default.xml +121 -0
  694. data/templates/openindiana-148-ai-x86/auto_install/default.xml.orig +124 -0
  695. data/templates/openindiana-148-ai-x86/auto_install/sc_profiles/static_network.xml +105 -0
  696. data/templates/openindiana-148-ai-x86/auto_install/software.dtd +105 -0
  697. data/templates/openindiana-148-ai-x86/auto_install/target.dtd +196 -0
  698. data/templates/openindiana-148-ai-x86/default.xml +121 -0
  699. data/templates/openindiana-148-ai-x86/definition.rb +59 -0
  700. data/templates/openindiana-148-ai-x86/postinstall.sh +103 -0
  701. data/templates/openindiana-151a7-text-x86/auto_install/ai.dtd +58 -0
  702. data/templates/openindiana-151a7-text-x86/auto_install/ai_manifest.xml +241 -0
  703. data/templates/openindiana-151a7-text-x86/auto_install/configuration.dtd +44 -0
  704. data/templates/openindiana-151a7-text-x86/auto_install/default.xml +121 -0
  705. data/templates/openindiana-151a7-text-x86/auto_install/default.xml.orig +124 -0
  706. data/templates/openindiana-151a7-text-x86/auto_install/sc_profiles/static_network.xml +105 -0
  707. data/templates/openindiana-151a7-text-x86/auto_install/software.dtd +105 -0
  708. data/templates/openindiana-151a7-text-x86/auto_install/target.dtd +196 -0
  709. data/templates/openindiana-151a7-text-x86/default.xml +121 -0
  710. data/templates/openindiana-151a7-text-x86/definition.rb +56 -0
  711. data/templates/openindiana-151a7-text-x86/postinstall.sh +103 -0
  712. data/templates/opensuse-11.4-i386-experimental/README +11 -0
  713. data/templates/opensuse-11.4-i386-experimental/autoinst.xml +1269 -0
  714. data/templates/opensuse-11.4-i386-experimental/autoinst.xml.generated +1269 -0
  715. data/templates/opensuse-11.4-i386-experimental/autoinst.xml.tweaked +1269 -0
  716. data/templates/opensuse-11.4-i386-experimental/definition.rb +31 -0
  717. data/templates/opensuse-11.4-i386-experimental/postinstall.sh +90 -0
  718. data/templates/scientificlinux-5.9-i386/definition.rb +16 -0
  719. data/templates/scientificlinux-5.9-i386/ks.cfg +75 -0
  720. data/templates/scientificlinux-5.9-i386/postinstall.sh +39 -0
  721. data/templates/scientificlinux-5.9-x86_64/definition.rb +16 -0
  722. data/templates/scientificlinux-5.9-x86_64/ks.cfg +75 -0
  723. data/templates/scientificlinux-5.9-x86_64/postinstall.sh +39 -0
  724. data/templates/scientificlinux-6.1-i386-netboot/base.sh +1 -0
  725. data/templates/scientificlinux-6.1-i386-netboot/chef.sh +1 -0
  726. data/templates/scientificlinux-6.1-i386-netboot/cleanup.sh +4 -0
  727. data/templates/scientificlinux-6.1-i386-netboot/definition.rb +34 -0
  728. data/templates/scientificlinux-6.1-i386-netboot/ks.cfg +53 -0
  729. data/templates/scientificlinux-6.1-i386-netboot/postinstall.sh +30 -0
  730. data/templates/scientificlinux-6.1-i386-netboot/puppet.sh +1 -0
  731. data/templates/scientificlinux-6.1-i386-netboot/vagrant.sh +8 -0
  732. data/templates/scientificlinux-6.1-i386-netboot/virtualbox.sh +8 -0
  733. data/templates/scientificlinux-6.1-x86_64-netboot/base.sh +1 -0
  734. data/templates/scientificlinux-6.1-x86_64-netboot/chef.sh +1 -0
  735. data/templates/scientificlinux-6.1-x86_64-netboot/cleanup.sh +4 -0
  736. data/templates/scientificlinux-6.1-x86_64-netboot/definition.rb +35 -0
  737. data/templates/scientificlinux-6.1-x86_64-netboot/ks.cfg +53 -0
  738. data/templates/scientificlinux-6.1-x86_64-netboot/postinstall.sh +30 -0
  739. data/templates/scientificlinux-6.1-x86_64-netboot/puppet.sh +1 -0
  740. data/templates/scientificlinux-6.1-x86_64-netboot/vagrant.sh +8 -0
  741. data/templates/scientificlinux-6.1-x86_64-netboot/virtualbox.sh +8 -0
  742. data/templates/scientificlinux-6.2-i386-netboot/base.sh +1 -0
  743. data/templates/scientificlinux-6.2-i386-netboot/chef.sh +1 -0
  744. data/templates/scientificlinux-6.2-i386-netboot/cleanup.sh +4 -0
  745. data/templates/scientificlinux-6.2-i386-netboot/definition.rb +36 -0
  746. data/templates/scientificlinux-6.2-i386-netboot/ks.cfg +53 -0
  747. data/templates/scientificlinux-6.2-i386-netboot/postinstall.sh +30 -0
  748. data/templates/scientificlinux-6.2-i386-netboot/puppet.sh +1 -0
  749. data/templates/scientificlinux-6.2-i386-netboot/vagrant.sh +8 -0
  750. data/templates/scientificlinux-6.2-i386-netboot/virtualbox.sh +8 -0
  751. data/templates/scientificlinux-6.2-x86_64-netboot/base.sh +1 -0
  752. data/templates/scientificlinux-6.2-x86_64-netboot/chef.sh +1 -0
  753. data/templates/scientificlinux-6.2-x86_64-netboot/cleanup.sh +4 -0
  754. data/templates/scientificlinux-6.2-x86_64-netboot/definition.rb +36 -0
  755. data/templates/scientificlinux-6.2-x86_64-netboot/ks.cfg +53 -0
  756. data/templates/scientificlinux-6.2-x86_64-netboot/postinstall.sh +30 -0
  757. data/templates/scientificlinux-6.2-x86_64-netboot/puppet.sh +1 -0
  758. data/templates/scientificlinux-6.2-x86_64-netboot/vagrant.sh +8 -0
  759. data/templates/scientificlinux-6.2-x86_64-netboot/virtualbox.sh +8 -0
  760. data/templates/scientificlinux-6.3-i386-netboot/base.sh +1 -0
  761. data/templates/scientificlinux-6.3-i386-netboot/chef.sh +1 -0
  762. data/templates/scientificlinux-6.3-i386-netboot/cleanup.sh +4 -0
  763. data/templates/scientificlinux-6.3-i386-netboot/definition.rb +37 -0
  764. data/templates/scientificlinux-6.3-i386-netboot/ks.cfg +53 -0
  765. data/templates/scientificlinux-6.3-i386-netboot/postinstall.sh +30 -0
  766. data/templates/scientificlinux-6.3-i386-netboot/puppet.sh +1 -0
  767. data/templates/scientificlinux-6.3-i386-netboot/ruby.sh +1 -0
  768. data/templates/scientificlinux-6.3-i386-netboot/vagrant.sh +8 -0
  769. data/templates/scientificlinux-6.3-i386-netboot/virtualbox.sh +8 -0
  770. data/templates/scientificlinux-6.3-x86_64-netboot/base.sh +1 -0
  771. data/templates/scientificlinux-6.3-x86_64-netboot/chef.sh +1 -0
  772. data/templates/scientificlinux-6.3-x86_64-netboot/cleanup.sh +4 -0
  773. data/templates/scientificlinux-6.3-x86_64-netboot/definition.rb +37 -0
  774. data/templates/scientificlinux-6.3-x86_64-netboot/ks.cfg +53 -0
  775. data/templates/scientificlinux-6.3-x86_64-netboot/postinstall.sh +30 -0
  776. data/templates/scientificlinux-6.3-x86_64-netboot/puppet.sh +1 -0
  777. data/templates/scientificlinux-6.3-x86_64-netboot/ruby.sh +1 -0
  778. data/templates/scientificlinux-6.3-x86_64-netboot/rvm-ruby.sh +9 -0
  779. data/templates/scientificlinux-6.3-x86_64-netboot/vagrant.sh +8 -0
  780. data/templates/scientificlinux-6.3-x86_64-netboot/virtualbox.sh +8 -0
  781. data/templates/solaris-11-express-i386/auto_install/ai.dtd +58 -0
  782. data/templates/solaris-11-express-i386/auto_install/ai_manifest.xml +241 -0
  783. data/templates/solaris-11-express-i386/auto_install/configuration.dtd +44 -0
  784. data/templates/solaris-11-express-i386/auto_install/default.xml +124 -0
  785. data/templates/solaris-11-express-i386/auto_install/default.xml.orig +124 -0
  786. data/templates/solaris-11-express-i386/auto_install/sc_profiles/static_network.xml +105 -0
  787. data/templates/solaris-11-express-i386/auto_install/software.dtd +105 -0
  788. data/templates/solaris-11-express-i386/auto_install/target.dtd +196 -0
  789. data/templates/solaris-11-express-i386/default.xml +121 -0
  790. data/templates/solaris-11-express-i386/definition.rb +65 -0
  791. data/templates/solaris-11-express-i386/postinstall.sh +98 -0
  792. data/templates/ubuntu-10.04.2-amd64-netboot/definition.rb +23 -0
  793. data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +91 -0
  794. data/templates/ubuntu-10.04.2-amd64-netboot/preseed.cfg +89 -0
  795. data/templates/ubuntu-10.04.2-server-i386-netboot/definition.rb +23 -0
  796. data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +91 -0
  797. data/templates/ubuntu-10.04.2-server-i386-netboot/preseed.cfg +89 -0
  798. data/templates/ubuntu-10.04.3-server-amd64-alt/definition.rb +57 -0
  799. data/templates/ubuntu-10.04.3-server-amd64-alt/postinstall.sh +250 -0
  800. data/templates/ubuntu-10.04.3-server-amd64-alt/preseed.cfg +124 -0
  801. data/templates/ubuntu-10.04.3-server-amd64/base.sh +11 -0
  802. data/templates/ubuntu-10.04.3-server-amd64/chef.sh +2 -0
  803. data/templates/ubuntu-10.04.3-server-amd64/cleanup.sh +19 -0
  804. data/templates/ubuntu-10.04.3-server-amd64/definition.rb +62 -0
  805. data/templates/ubuntu-10.04.3-server-amd64/preseed.cfg +87 -0
  806. data/templates/ubuntu-10.04.3-server-amd64/puppet.sh +1 -0
  807. data/templates/ubuntu-10.04.3-server-amd64/ruby.sh +24 -0
  808. data/templates/ubuntu-10.04.3-server-amd64/vagrant.sh +27 -0
  809. data/templates/ubuntu-10.04.3-server-amd64/virtualbox.sh +12 -0
  810. data/templates/ubuntu-10.04.3-server-i386/definition.rb +24 -0
  811. data/templates/ubuntu-10.04.3-server-i386/postinstall.sh +92 -0
  812. data/templates/ubuntu-10.04.3-server-i386/preseed.cfg +87 -0
  813. data/templates/ubuntu-10.04.4-server-amd64/definition.rb +24 -0
  814. data/templates/ubuntu-10.04.4-server-amd64/postinstall.sh +101 -0
  815. data/templates/ubuntu-10.04.4-server-amd64/preseed.cfg +87 -0
  816. data/templates/ubuntu-10.04.4-server-i386/definition.rb +24 -0
  817. data/templates/ubuntu-10.04.4-server-i386/postinstall.sh +92 -0
  818. data/templates/ubuntu-10.04.4-server-i386/preseed.cfg +87 -0
  819. data/templates/ubuntu-10.10-server-amd64-netboot/definition.rb +24 -0
  820. data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +91 -0
  821. data/templates/ubuntu-10.10-server-amd64-netboot/preseed.cfg +89 -0
  822. data/templates/ubuntu-10.10-server-amd64/base.sh +11 -0
  823. data/templates/ubuntu-10.10-server-amd64/chef.sh +2 -0
  824. data/templates/ubuntu-10.10-server-amd64/cleanup.sh +19 -0
  825. data/templates/ubuntu-10.10-server-amd64/definition.rb +36 -0
  826. data/templates/ubuntu-10.10-server-amd64/postinstall.sh +91 -0
  827. data/templates/ubuntu-10.10-server-amd64/preseed.cfg +87 -0
  828. data/templates/ubuntu-10.10-server-amd64/puppet.sh +1 -0
  829. data/templates/ubuntu-10.10-server-amd64/ruby.sh +24 -0
  830. data/templates/ubuntu-10.10-server-amd64/vagrant.sh +27 -0
  831. data/templates/ubuntu-10.10-server-amd64/virtualbox.sh +12 -0
  832. data/templates/ubuntu-10.10-server-i386-netboot/definition.rb +24 -0
  833. data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +91 -0
  834. data/templates/ubuntu-10.10-server-i386-netboot/preseed.cfg +89 -0
  835. data/templates/ubuntu-10.10-server-i386/definition.rb +24 -0
  836. data/templates/ubuntu-10.10-server-i386/postinstall.sh +91 -0
  837. data/templates/ubuntu-10.10-server-i386/preseed.cfg +87 -0
  838. data/templates/ubuntu-11.04-server-amd64/apt-upgrade.sh +4 -0
  839. data/templates/ubuntu-11.04-server-amd64/chef.sh +1 -0
  840. data/templates/ubuntu-11.04-server-amd64/definition.rb +47 -0
  841. data/templates/ubuntu-11.04-server-amd64/network-cleanup.sh +14 -0
  842. data/templates/ubuntu-11.04-server-amd64/nfs-client.sh +3 -0
  843. data/templates/ubuntu-11.04-server-amd64/preseed.cfg +87 -0
  844. data/templates/ubuntu-11.04-server-amd64/puppet.sh +1 -0
  845. data/templates/ubuntu-11.04-server-amd64/remove-build-essentials.sh +3 -0
  846. data/templates/ubuntu-11.04-server-amd64/ruby.sh +29 -0
  847. data/templates/ubuntu-11.04-server-amd64/ssh-keys.sh +7 -0
  848. data/templates/ubuntu-11.04-server-amd64/sudo.sh +4 -0
  849. data/templates/ubuntu-11.04-server-amd64/timestamp.sh +1 -0
  850. data/templates/ubuntu-11.04-server-amd64/vbox_additions.sh +11 -0
  851. data/templates/ubuntu-11.04-server-amd64/zero-disk.sh +3 -0
  852. data/templates/ubuntu-11.04-server-i386/definition.rb +24 -0
  853. data/templates/ubuntu-11.04-server-i386/postinstall.sh +91 -0
  854. data/templates/ubuntu-11.04-server-i386/preseed.cfg +87 -0
  855. data/templates/ubuntu-11.10-server-amd64-ishaya/definition.rb +24 -0
  856. data/templates/ubuntu-11.10-server-amd64-ishaya/postinstall.sh +91 -0
  857. data/templates/ubuntu-11.10-server-amd64-ishaya/preseed.cfg +87 -0
  858. data/templates/ubuntu-11.10-server-amd64-ruby192/definition.rb +24 -0
  859. data/templates/ubuntu-11.10-server-amd64-ruby192/postinstall.sh +91 -0
  860. data/templates/ubuntu-11.10-server-amd64-ruby192/preseed.cfg +87 -0
  861. data/templates/ubuntu-11.10-server-amd64-rvm/definition.rb +35 -0
  862. data/templates/ubuntu-11.10-server-amd64-rvm/postinstall.sh +85 -0
  863. data/templates/ubuntu-11.10-server-amd64-rvm/preseed.cfg +93 -0
  864. data/templates/ubuntu-11.10-server-amd64/definition.rb +35 -0
  865. data/templates/ubuntu-11.10-server-amd64/postinstall.sh +89 -0
  866. data/templates/ubuntu-11.10-server-amd64/preseed.cfg +87 -0
  867. data/templates/ubuntu-11.10-server-i386/definition.rb +35 -0
  868. data/templates/ubuntu-11.10-server-i386/postinstall.sh +89 -0
  869. data/templates/ubuntu-11.10-server-i386/preseed.cfg +87 -0
  870. data/templates/ubuntu-12.04.1-server-amd64-packages/definition.rb +35 -0
  871. data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +74 -0
  872. data/templates/ubuntu-12.04.1-server-amd64-packages/preseed.cfg +87 -0
  873. data/templates/ubuntu-12.04.1-server-amd64/definition.rb +35 -0
  874. data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +95 -0
  875. data/templates/ubuntu-12.04.1-server-amd64/preseed.cfg +87 -0
  876. data/templates/ubuntu-12.04.1-server-i386-packages/definition.rb +35 -0
  877. data/templates/ubuntu-12.04.1-server-i386-packages/postinstall.sh +75 -0
  878. data/templates/ubuntu-12.04.1-server-i386-packages/preseed.cfg +87 -0
  879. data/templates/ubuntu-12.04.1-server-i386/definition.rb +35 -0
  880. data/templates/ubuntu-12.04.1-server-i386/postinstall.sh +96 -0
  881. data/templates/ubuntu-12.04.1-server-i386/preseed.cfg +87 -0
  882. data/templates/ubuntu-12.04.2-server-amd64-packages/definition.rb +35 -0
  883. data/templates/ubuntu-12.04.2-server-amd64-packages/postinstall.sh +78 -0
  884. data/templates/ubuntu-12.04.2-server-amd64-packages/preseed.cfg +87 -0
  885. data/templates/ubuntu-12.04.2-server-amd64/definition.rb +35 -0
  886. data/templates/ubuntu-12.04.2-server-amd64/postinstall.sh +97 -0
  887. data/templates/ubuntu-12.04.2-server-amd64/preseed.cfg +87 -0
  888. data/templates/ubuntu-12.04.2-server-i386-packages/definition.rb +35 -0
  889. data/templates/ubuntu-12.04.2-server-i386-packages/postinstall.sh +75 -0
  890. data/templates/ubuntu-12.04.2-server-i386-packages/preseed.cfg +87 -0
  891. data/templates/ubuntu-12.04.2-server-i386/definition.rb +35 -0
  892. data/templates/ubuntu-12.04.2-server-i386/postinstall.sh +96 -0
  893. data/templates/ubuntu-12.04.2-server-i386/preseed.cfg +87 -0
  894. data/templates/ubuntu-12.10-server-amd64-packages/definition.rb +35 -0
  895. data/templates/ubuntu-12.10-server-amd64-packages/postinstall.sh +75 -0
  896. data/templates/ubuntu-12.10-server-amd64-packages/preseed.cfg +87 -0
  897. data/templates/ubuntu-12.10-server-amd64/definition.rb +35 -0
  898. data/templates/ubuntu-12.10-server-amd64/postinstall.sh +97 -0
  899. data/templates/ubuntu-12.10-server-amd64/preseed.cfg +87 -0
  900. data/templates/ubuntu-12.10-server-i386-packages/definition.rb +35 -0
  901. data/templates/ubuntu-12.10-server-i386-packages/postinstall.sh +75 -0
  902. data/templates/ubuntu-12.10-server-i386-packages/preseed.cfg +87 -0
  903. data/templates/ubuntu-12.10-server-i386/definition.rb +35 -0
  904. data/templates/ubuntu-12.10-server-i386/postinstall.sh +98 -0
  905. data/templates/ubuntu-12.10-server-i386/preseed.cfg +87 -0
  906. data/templates/ubuntu-8.04.4-server-amd64/definition.rb +26 -0
  907. data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +70 -0
  908. data/templates/ubuntu-8.04.4-server-amd64/preseed.cfg +87 -0
  909. data/templates/ubuntu-8.04.4-server-i386/definition.rb +25 -0
  910. data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +70 -0
  911. data/templates/ubuntu-8.04.4-server-i386/preseed.cfg +87 -0
  912. data/templates/windows-2008R1-serverstandard-amd64/Autounattend.xml +146 -0
  913. data/templates/windows-2008R1-serverstandard-amd64/README.md +134 -0
  914. data/templates/windows-2008R1-serverstandard-amd64/cygwin-setup.exe +0 -0
  915. data/templates/windows-2008R1-serverstandard-amd64/definition.rb +114 -0
  916. data/templates/windows-2008R1-serverstandard-amd64/install-cygwin-sshd.bat +41 -0
  917. data/templates/windows-2008R1-serverstandard-amd64/install-guest-additions.bat +5 -0
  918. data/templates/windows-2008R1-serverstandard-amd64/install-winrm.bat +16 -0
  919. data/templates/windows-2008R1-serverstandard-amd64/oracle-cert.cer +0 -0
  920. data/templates/windows-2008R1-serverstandard-amd64/postinstall.sh +75 -0
  921. data/templates/windows-2008R1-serverstandard-amd64/sudo +2 -0
  922. data/templates/windows-2008R1-serverstandard-amd64/winrm.rb +8 -0
  923. data/templates/windows-2008R1-serverweb-amd64/Autounattend.xml +162 -0
  924. data/templates/windows-2008R1-serverweb-amd64/README.md +134 -0
  925. data/templates/windows-2008R1-serverweb-amd64/cygwin-setup.exe +0 -0
  926. data/templates/windows-2008R1-serverweb-amd64/definition.rb +131 -0
  927. data/templates/windows-2008R1-serverweb-amd64/install-cygwin-sshd.bat +40 -0
  928. data/templates/windows-2008R1-serverweb-amd64/install-guest-additions.bat +5 -0
  929. data/templates/windows-2008R1-serverweb-amd64/install-vbox-guest.bat +2 -0
  930. data/templates/windows-2008R1-serverweb-amd64/install-winrm.bat +16 -0
  931. data/templates/windows-2008R1-serverweb-amd64/oracle-cert.cer +0 -0
  932. data/templates/windows-2008R1-serverweb-amd64/postinstall.sh +74 -0
  933. data/templates/windows-2008R1-serverweb-amd64/sudo +2 -0
  934. data/templates/windows-2008R1-serverweb-amd64/winrm.rb +8 -0
  935. data/templates/windows-2008R1-serverweb-i386/Autounattend.xml +142 -0
  936. data/templates/windows-2008R1-serverweb-i386/README.md +136 -0
  937. data/templates/windows-2008R1-serverweb-i386/cygwin-setup.exe +0 -0
  938. data/templates/windows-2008R1-serverweb-i386/definition.rb +132 -0
  939. data/templates/windows-2008R1-serverweb-i386/install-cygwin-sshd.bat +40 -0
  940. data/templates/windows-2008R1-serverweb-i386/install-vbox-guest.bat +2 -0
  941. data/templates/windows-2008R1-serverweb-i386/install-winrm.bat +14 -0
  942. data/templates/windows-2008R1-serverweb-i386/oracle-cert.cer +0 -0
  943. data/templates/windows-2008R1-serverweb-i386/postinstall.sh +74 -0
  944. data/templates/windows-2008R1-serverweb-i386/sudo +2 -0
  945. data/templates/windows-2008R1-serverweb-i386/winrm.rb +8 -0
  946. data/templates/windows-2008R1-serverwebcore-amd64/Autounattend.xml +162 -0
  947. data/templates/windows-2008R1-serverwebcore-amd64/README.md +134 -0
  948. data/templates/windows-2008R1-serverwebcore-amd64/cygwin-setup.exe +0 -0
  949. data/templates/windows-2008R1-serverwebcore-amd64/definition.rb +132 -0
  950. data/templates/windows-2008R1-serverwebcore-amd64/install-cygwin-sshd.bat +41 -0
  951. data/templates/windows-2008R1-serverwebcore-amd64/install-vbox-guest.bat +2 -0
  952. data/templates/windows-2008R1-serverwebcore-amd64/install-winrm.bat +14 -0
  953. data/templates/windows-2008R1-serverwebcore-amd64/oracle-cert.cer +0 -0
  954. data/templates/windows-2008R1-serverwebcore-amd64/postinstall.sh +74 -0
  955. data/templates/windows-2008R1-serverwebcore-amd64/sudo +2 -0
  956. data/templates/windows-2008R1-serverwebcore-amd64/winrm.rb +8 -0
  957. data/templates/windows-2008R2-amd64/Autounattend.xml +132 -0
  958. data/templates/windows-2008R2-amd64/README.md +68 -0
  959. data/templates/windows-2008R2-amd64/cygwin-setup.exe +0 -0
  960. data/templates/windows-2008R2-amd64/definition.rb +16 -0
  961. data/templates/windows-2008R2-amd64/install-cygwin-sshd.bat +38 -0
  962. data/templates/windows-2008R2-amd64/install-winrm.bat +8 -0
  963. data/templates/windows-2008R2-amd64/oracle-cert.cer +0 -0
  964. data/templates/windows-2008R2-amd64/postinstall.sh +122 -0
  965. data/templates/windows-2008R2-amd64/win7/Autounattend.xml +180 -0
  966. data/templates/windows-2008R2-amd64/winrm.rb +8 -0
  967. data/templates/windows-2008R2-serverstandard-amd64-winrm/Autounattend.xml +230 -0
  968. data/templates/windows-2008R2-serverstandard-amd64-winrm/README.md +87 -0
  969. data/templates/windows-2008R2-serverstandard-amd64-winrm/definition.rb +33 -0
  970. data/templates/windows-2008R2-serverstandard-amd64-winrm/install-chef.bat +2 -0
  971. data/templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat +4 -0
  972. data/templates/windows-2008R2-serverstandard-amd64-winrm/oracle-cert.cer +0 -0
  973. data/templates/windows-2008R2-serverstandard-amd64-winrm/postinstall.sh +74 -0
  974. data/templates/windows-2008R2-serverstandard-amd64/Autounattend.xml +147 -0
  975. data/templates/windows-2008R2-serverstandard-amd64/README.md +142 -0
  976. data/templates/windows-2008R2-serverstandard-amd64/definition.rb +43 -0
  977. data/templates/windows-2008R2-serverstandard-amd64/install-cygwin-sshd.bat +41 -0
  978. data/templates/windows-2008R2-serverstandard-amd64/install-winrm.bat +11 -0
  979. data/templates/windows-2008R2-serverstandard-amd64/oracle-cert.cer +0 -0
  980. data/templates/windows-2008R2-serverstandard-amd64/postinstall.sh +74 -0
  981. data/templates/windows-2008R2-serverweb-amd64/Autounattend.xml +151 -0
  982. data/templates/windows-2008R2-serverweb-amd64/README.md +142 -0
  983. data/templates/windows-2008R2-serverweb-amd64/definition.rb +38 -0
  984. data/templates/windows-2008R2-serverweb-amd64/install-cygwin-sshd.bat +40 -0
  985. data/templates/windows-2008R2-serverweb-amd64/install-vbox-guest.bat +2 -0
  986. data/templates/windows-2008R2-serverweb-amd64/install-winrm.bat +11 -0
  987. data/templates/windows-2008R2-serverweb-amd64/oracle-cert.cer +0 -0
  988. data/templates/windows-2008R2-serverweb-amd64/postinstall.sh +74 -0
  989. data/templates/windows-2008R2-serverwebcore-amd64/Autounattend.xml +145 -0
  990. data/templates/windows-2008R2-serverwebcore-amd64/README.md +142 -0
  991. data/templates/windows-2008R2-serverwebcore-amd64/cygwin-setup.exe +0 -0
  992. data/templates/windows-2008R2-serverwebcore-amd64/definition.rb +46 -0
  993. data/templates/windows-2008R2-serverwebcore-amd64/install-cygwin-sshd.bat +41 -0
  994. data/templates/windows-2008R2-serverwebcore-amd64/install-vbox-guest.bat +2 -0
  995. data/templates/windows-2008R2-serverwebcore-amd64/install-winrm.bat +11 -0
  996. data/templates/windows-2008R2-serverwebcore-amd64/oracle-cert.cer +0 -0
  997. data/templates/windows-2008R2-serverwebcore-amd64/postinstall.sh +74 -0
  998. data/templates/windows-7-enterprise-amd64-winrm/Autounattend.xml +233 -0
  999. data/templates/windows-7-enterprise-amd64-winrm/README.md +52 -0
  1000. data/templates/windows-7-enterprise-amd64-winrm/definition.rb +27 -0
  1001. data/templates/windows-7-enterprise-amd64-winrm/install-chef.bat +2 -0
  1002. data/templates/windows-7-enterprise-amd64-winrm/install-fusion.bat +18 -0
  1003. data/templates/windows-7-enterprise-amd64-winrm/install-puppet.bat +4 -0
  1004. data/templates/windows-7-enterprise-amd64-winrm/install-vbox.bat +4 -0
  1005. data/templates/windows-7-enterprise-amd64-winrm/oracle-cert.cer +0 -0
  1006. data/templates/windows-7-enterprise-amd64-winrm/postinstall.bat +74 -0
  1007. data/templates/windows-7-enterprise-amd64/Autounattend.xml +155 -0
  1008. data/templates/windows-7-enterprise-amd64/README.md +52 -0
  1009. data/templates/windows-7-enterprise-amd64/definition.rb +40 -0
  1010. data/templates/windows-7-enterprise-amd64/install-cygwin-sshd.bat +40 -0
  1011. data/templates/windows-7-enterprise-amd64/install-vbox-guest.bat +2 -0
  1012. data/templates/windows-7-enterprise-amd64/install-winrm.bat +14 -0
  1013. data/templates/windows-7-enterprise-amd64/oracle-cert.cer +0 -0
  1014. data/templates/windows-7-enterprise-amd64/postinstall.sh +74 -0
  1015. data/templates/windows-7-enterprise-i386/Autounattend.xml +151 -0
  1016. data/templates/windows-7-enterprise-i386/README.md +169 -0
  1017. data/templates/windows-7-enterprise-i386/definition.rb +40 -0
  1018. data/templates/windows-7-enterprise-i386/install-cygwin-sshd.bat +40 -0
  1019. data/templates/windows-7-enterprise-i386/install-winrm.bat +14 -0
  1020. data/templates/windows-7-enterprise-i386/oracle-cert.cer +0 -0
  1021. data/templates/windows-7-enterprise-i386/postinstall.sh +74 -0
  1022. data/templates/windows-7-premium-amd64/Autounattend.xml +152 -0
  1023. data/templates/windows-7-premium-amd64/README.md +171 -0
  1024. data/templates/windows-7-premium-amd64/definition.rb +38 -0
  1025. data/templates/windows-7-premium-amd64/install-chefclient.bat +44 -0
  1026. data/templates/windows-7-premium-amd64/install-winrm.bat +11 -0
  1027. data/templates/windows-7-premium-amd64/oracle-cert.cer +0 -0
  1028. data/templates/windows-7-premium-amd64/postinstall.sh +124 -0
  1029. data/templates/windows-7-premium-amd64/winrm.rb +8 -0
  1030. data/templates/windows-7-professional-amd64/Autounattend.xml +152 -0
  1031. data/templates/windows-7-professional-amd64/README.md +171 -0
  1032. data/templates/windows-7-professional-amd64/definition.rb +41 -0
  1033. data/templates/windows-7-professional-amd64/install-cygwin-sshd.bat +40 -0
  1034. data/templates/windows-7-professional-amd64/install-winrm.bat +14 -0
  1035. data/templates/windows-7-professional-amd64/oracle-cert.cer +0 -0
  1036. data/templates/windows-7-professional-amd64/postinstall.sh +74 -0
  1037. data/templates/windows-7-ultimate-amd64/Autounattend.xml +152 -0
  1038. data/templates/windows-7-ultimate-amd64/README.md +89 -0
  1039. data/templates/windows-7-ultimate-amd64/definition.rb +41 -0
  1040. data/templates/windows-7-ultimate-amd64/install-cygwin-sshd.bat +40 -0
  1041. data/templates/windows-7-ultimate-amd64/install-winrm.bat +14 -0
  1042. data/templates/windows-7-ultimate-amd64/oracle-cert.cer +0 -0
  1043. data/templates/windows-7-ultimate-amd64/postinstall.sh +74 -0
  1044. data/templates/windows-7sp1-ultimate-amd64/Autounattend.xml +149 -0
  1045. data/templates/windows-7sp1-ultimate-amd64/README.md +89 -0
  1046. data/templates/windows-7sp1-ultimate-amd64/definition.rb +42 -0
  1047. data/templates/windows-7sp1-ultimate-amd64/install-cygwin-sshd.bat +40 -0
  1048. data/templates/windows-7sp1-ultimate-amd64/install-winrm.bat +14 -0
  1049. data/templates/windows-7sp1-ultimate-amd64/oracle-cert.cer +0 -0
  1050. data/templates/windows-7sp1-ultimate-amd64/postinstall.sh +74 -0
  1051. data/templates/windows-8-amd64/Autounattend.xml +140 -0
  1052. data/templates/windows-8-amd64/README.md +134 -0
  1053. data/templates/windows-8-amd64/cygwin-setup.exe +0 -0
  1054. data/templates/windows-8-amd64/definition.rb +101 -0
  1055. data/templates/windows-8-amd64/install-cygwin-sshd.bat +38 -0
  1056. data/templates/windows-8-amd64/install-winrm.bat +11 -0
  1057. data/templates/windows-8-amd64/oracle-cert.cer +0 -0
  1058. data/templates/windows-8-amd64/postinstall.sh +122 -0
  1059. data/templates/windows-8-amd64/winrm.rb +8 -0
  1060. data/templates/windows-8-i386/Autounattend.xml +140 -0
  1061. data/templates/windows-8-i386/README.md +134 -0
  1062. data/templates/windows-8-i386/cygwin-setup.exe +0 -0
  1063. data/templates/windows-8-i386/definition.rb +101 -0
  1064. data/templates/windows-8-i386/install-cygwin-sshd.bat +38 -0
  1065. data/templates/windows-8-i386/install-winrm.bat +11 -0
  1066. data/templates/windows-8-i386/oracle-cert.cer +0 -0
  1067. data/templates/windows-8-i386/postinstall.sh +122 -0
  1068. data/templates/windows-8-i386/winrm.rb +8 -0
  1069. data/templates/windows-8-preview-amd64/Autounattend.xml +140 -0
  1070. data/templates/windows-8-preview-amd64/README.md +134 -0
  1071. data/templates/windows-8-preview-amd64/cygwin-setup.exe +0 -0
  1072. data/templates/windows-8-preview-amd64/definition.rb +114 -0
  1073. data/templates/windows-8-preview-amd64/install-cygwin-sshd.bat +38 -0
  1074. data/templates/windows-8-preview-amd64/install-winrm.bat +11 -0
  1075. data/templates/windows-8-preview-amd64/oracle-cert.cer +0 -0
  1076. data/templates/windows-8-preview-amd64/postinstall.sh +122 -0
  1077. data/templates/windows-8-preview-amd64/winrm.rb +8 -0
  1078. data/test/build_realtest.rb +72 -0
  1079. data/test/definition_test.rb +11 -0
  1080. data/test/definitions/test_definition/_disabled_postinstall.sh +1 -0
  1081. data/test/definitions/test_definition/autorun0 +3 -0
  1082. data/test/definitions/test_definition/definition.rb +24 -0
  1083. data/test/definitions/test_definition/enabled_postinstall.sh +1 -0
  1084. data/test/environment_test.rb +67 -0
  1085. data/test/veewee/provider/virtualbox/box/helper/guest_additions_test.rb +95 -0
  1086. data/test/veewee/provider/virtualbox/box/helper/version.rb +67 -0
  1087. data/validation/features/steps/ssh_steps.old +170 -0
  1088. data/validation/features/steps/veewee_steps.rb +27 -0
  1089. data/validation/support/env.rb +1 -0
  1090. data/validation/vagrant-private.key +27 -0
  1091. data/validation/vagrant.pub +1 -0
  1092. data/validation/veewee-windows.feature +34 -0
  1093. data/validation/veewee.feature +45 -0
  1094. data/veewee.gemspec +50 -0
  1095. metadata +1403 -0
@@ -0,0 +1,19 @@
1
+ import sys
2
+ import prlsdkapi
3
+
4
+ prlsdk = prlsdkapi.prlsdk
5
+ consts = prlsdkapi.prlsdk.consts
6
+
7
+ # Initialize the Parallels API Library
8
+ prlsdk.InitializeSDK(consts.PAM_DESKTOP_MAC)
9
+
10
+ # Obtain a server object identifying the Parallels Service.
11
+ server = prlsdkapi.Server()
12
+
13
+ # Log in. (local as we do Parallels Desktop
14
+ login_job=server.login_local()
15
+ login_job.wait()
16
+
17
+ # Logoff and deinitialize the library
18
+ server.logoff()
19
+ prlsdkapi.deinit_sdk
@@ -0,0 +1,73 @@
1
+ import sys
2
+ import prlsdkapi
3
+
4
+ if len(sys.argv) != 4:
5
+ print "Usage: parallels_send_keycode '<VM_NAME>' '<keyname>' '<press|release>'"
6
+ exit()
7
+
8
+ # Parse arguments
9
+ vm_name=sys.argv[1]
10
+ # Keycode to use
11
+ keyname=sys.argv[2]
12
+ # Release or press
13
+ state=sys.argv[3]
14
+
15
+ print "Sending keyname '%(keyname)s' to VM '%(vm_name)s'" % {"keyname": keyname, "vm_name":vm_name}
16
+
17
+ prlsdk = prlsdkapi.prlsdk
18
+ consts = prlsdkapi.prlsdk.consts
19
+
20
+ # Initialize the Parallels API Library
21
+ prlsdk.InitializeSDK(consts.PAM_DESKTOP_MAC)
22
+
23
+ # Obtain a server object identifying the Parallels Service.
24
+ server = prlsdkapi.Server()
25
+
26
+ # Log in. (local as we do Parallels Desktop
27
+ login_job=server.login_local()
28
+ login_job.wait()
29
+
30
+ # Get a list of virtual machines.
31
+ # Find the specified virtual machine and
32
+ # obtain an object identifying it.
33
+ vm_list = server.get_vm_list()
34
+ result= vm_list.wait()
35
+
36
+ print prlsdkapi.prlsdk.consts.ScanCodesList
37
+
38
+ # Look for the VM with the name speficied on the CLI
39
+ found = False
40
+ for i in range(result.get_params_count()):
41
+ VM = result.get_param_by_index(i)
42
+ print VM.get_name()
43
+ if VM.get_name() == vm_name:
44
+ found = True
45
+ break
46
+
47
+ press = consts.PKE_PRESS
48
+ release = consts.PKE_RELEASE
49
+
50
+ # Access the Remote Desktop Access session
51
+ vm_io = prlsdkapi.VmIO()
52
+ try:
53
+ vm_io.connect_to_vm(VM).wait()
54
+ except prlsdkapi.PrlSDKError, e:
55
+ print "Error: %s" % e
56
+ exit()
57
+
58
+ scan_code = consts.ScanCodesList[keyname]
59
+
60
+ if state == 'press':
61
+ vm_io.send_key_event(VM,scan_code,press)
62
+ elif state == 'release':
63
+ vm_io.send_key_event(VM,scan_code,release)
64
+ else:
65
+ print "invalid state: %s" % state
66
+ exit()
67
+
68
+ # End the Remote Deskop Access session
69
+ vm_io.disconnect_from_vm(VM)
70
+
71
+ # Logoff and deinitialize the library
72
+ server.logoff()
73
+ prlsdkapi.deinit_sdk
@@ -0,0 +1,76 @@
1
+ import sys
2
+ import prlsdkapi
3
+ import string
4
+
5
+ if len(sys.argv) != 3:
6
+ print "Usage: parallels_send_string '<VM_NAME>' '<string>'"
7
+ exit()
8
+
9
+ # Parse arguments
10
+ vm_name=sys.argv[1]
11
+ # String to use
12
+ keynames = sys.argv[2].split(' ');
13
+
14
+ prlsdk = prlsdkapi.prlsdk
15
+ consts = prlsdkapi.prlsdk.consts
16
+
17
+ # Initialize the Parallels API Library
18
+ prlsdk.InitializeSDK(consts.PAM_DESKTOP_MAC)
19
+
20
+ # Obtain a server object identifying the Parallels Service.
21
+ server = prlsdkapi.Server()
22
+
23
+ # Log in. (local as we do Parallels Desktop
24
+ login_job=server.login_local()
25
+ login_job.wait()
26
+
27
+ # Get a list of virtual machines.
28
+ # Find the specified virtual machine and
29
+ # obtain an object identifying it.
30
+ vm_list = server.get_vm_list()
31
+ result= vm_list.wait()
32
+
33
+ print prlsdkapi.prlsdk.consts.ScanCodesList
34
+
35
+ # Look for the VM with the name speficied on the CLI
36
+ found = False
37
+ for i in range(result.get_params_count()):
38
+ VM = result.get_param_by_index(i)
39
+ print VM.get_name()
40
+ if VM.get_name() == vm_name:
41
+ found = True
42
+ break
43
+
44
+ press = consts.PKE_PRESS
45
+ release = consts.PKE_RELEASE
46
+
47
+ # Access the Remote Desktop Access session
48
+ vm_io = prlsdkapi.VmIO()
49
+ try:
50
+ vm_io.connect_to_vm(VM).wait()
51
+ except prlsdkapi.PrlSDKError, e:
52
+ print "Error: %s" % e
53
+ exit()
54
+
55
+ for keyname in keynames:
56
+ if(keyname != ''):
57
+ # Keys can also contain special keys like shift, that has to be pressed before and release after
58
+ # eg. SHIFT-C (Press shift, then press C)
59
+ keys = keyname.split('#');
60
+
61
+ for keypress in keys:
62
+ scan_code = consts.ScanCodesList[keypress]
63
+ vm_io.send_key_event(VM,scan_code,press,50)
64
+
65
+ # And now the reversed order
66
+ # eg. Now release C then SHIFT
67
+ for keypress in reversed(keys):
68
+ scan_code = consts.ScanCodesList[keypress]
69
+ vm_io.send_key_event(VM,scan_code,release,50)
70
+
71
+ # End the Remote Deskop Access session
72
+ vm_io.disconnect_from_vm(VM)
73
+
74
+ # Logoff and deinitialize the library
75
+ server.logoff()
76
+ prlsdkapi.deinit_sdk
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'vagrant'
3
+ require 'veewee/command/vagrant'
4
+ rescue LoadError
5
+ require 'rubygems'
6
+ require 'veewee/command/vagrant'
7
+ require 'veewee/command/kvm'
8
+ end
data/lib/veewee.rb ADDED
@@ -0,0 +1,23 @@
1
+ require 'json'
2
+ require 'i18n'
3
+ require 'yaml'
4
+ require 'pathname'
5
+
6
+ module Veewee
7
+ # The source root is the path to the root directory of
8
+ # the Veewee gem.
9
+ def self.source_root
10
+ @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
11
+ end
12
+ end
13
+
14
+ # # Default I18n to load the en locale
15
+ I18n.load_path << File.expand_path("lib/veewee/templates/locales/en.yml", Veewee.source_root)
16
+
17
+ # Load the things which must be loaded before anything else
18
+ require 'veewee/error'
19
+ require 'veewee/cli'
20
+ require 'veewee/ui'
21
+ require 'veewee/command'
22
+ require 'veewee/environment'
23
+ require 'veewee/version'
data/lib/veewee/cli.rb ADDED
@@ -0,0 +1,55 @@
1
+ require 'thor'
2
+
3
+ module Veewee
4
+ # Entrypoint for the Veewee CLI. This class should never be
5
+ # initialized directly (like a typical Thor class). Instead,
6
+ # use {Environment#cli} to invoke the CLI.
7
+ #
8
+ # # Defining Custom CLI Commands
9
+ #
10
+ # If you're looking to define custom CLI commands, then look at
11
+ # one of the two following classes:
12
+ #
13
+ # * {Command::Base} - Implementing a single command such as `mccloud up`, e.g.
14
+ # one without subcommands. Also take a look at {Command::NamedBase}.
15
+ # * {Command::GroupBase} - Implementing a command with subcommands, such as
16
+ # `mccloud box`, which has the `list`, `add`, etc. subcommands.
17
+ #
18
+ # The above linked classes contain the main documentation for each
19
+ # type of command.
20
+ class CLI < Thor
21
+ # Registers the given class with the CLI so it can be accessed.
22
+ # The class must be a subclass of either {Command::Base} or {Command::GroupBase}.
23
+ # Don't call this method directly, instead call the {Command::Base.register}
24
+ # or {Command::GroupBase.register} methods.
25
+ #
26
+ # @param [Class] klass Command class
27
+ # @param [String] name Command name, accessed at `mccloud NAME`
28
+ # @param [String] usage Command usage, such as "mccloud NAME [--option]"
29
+ # @param [String] description Description of the command shown during the
30
+ # command listing.
31
+ # @param [Hash] opts Other options (not gone into detail here, look at
32
+ # the source instead).
33
+ def self.register(klass, name, usage, description, opts = nil)
34
+ opts ||= {}
35
+
36
+ if klass <= Command::GroupBase
37
+ # A subclass of GroupBase is a subcommand, since it contains
38
+ # many smaller commands within it.
39
+ desc usage, description, opts
40
+ subcommand name, klass
41
+ elsif klass <= Command::Base
42
+ # A subclass of Base is a single command, since it
43
+ # is invoked as a whole (as Thor::Group)
44
+ desc usage, description, opts
45
+ define_method(name) { |*args| invoke klass, args }
46
+ end
47
+
48
+ if opts[:alias]
49
+ # Alises are defined for this command, so properly alias the
50
+ # newly defined method/subcommand:
51
+ map opts[:alias] => name
52
+ end
53
+ end
54
+ end
55
+ end #Veewee
@@ -0,0 +1,15 @@
1
+ module Veewee
2
+ module Command
3
+ autoload :Base, 'veewee/command/base'
4
+ autoload :GroupBase, 'veewee/command/group_base'
5
+ autoload :Helpers, 'veewee/command/helpers'
6
+ autoload :NamedBase, 'veewee/command/named_base'
7
+ end
8
+ end
9
+
10
+ # The built-in commands must always be loaded
11
+ require 'veewee/command/version'
12
+ require 'veewee/command/kvm'
13
+ require 'veewee/command/vbox'
14
+ require 'veewee/command/fusion'
15
+ require 'veewee/command/parallels'
@@ -0,0 +1,106 @@
1
+ require 'thor/group'
2
+ require 'thor/actions'
3
+
4
+ module Veewee
5
+ module Command
6
+ # A {Base} is the superclass for all commands which are single
7
+ # commands, e.g. `veewee init`, `veewee up`. Not commands like
8
+ # `veewee box add`. For commands which have more subcommands, use
9
+ # a {GroupBase}.
10
+ #
11
+ # A {Base} is a subclass of `Thor::Group`, so view the documentation
12
+ # there on how to add arguments, descriptions etc. The important note
13
+ # about this is that when invoked, _all public methods_ will be called
14
+ # in the order they are defined. If you don't want a method called when
15
+ # the command is invoked, it must be made `protected` or `private`.
16
+ #
17
+ # The best way to get examples of how to create your own command is to
18
+ # view the various Veewee commands, which are relatively simple, and
19
+ # can be found in the Veewee source tree at `lib/veewee/command/`.
20
+ #
21
+ # # Defining a New Command
22
+ #
23
+ # To define a new single command, create a new class which inherits
24
+ # from this class, then call {register} to register the command. That's
25
+ # it! When the command is invoked, _all public methods_ will be called.
26
+ # Below is an example `SayHello` class:
27
+ #
28
+ # class SayHello < Veewee::Command::Base
29
+ # register "hello", "Says hello"
30
+ #
31
+ # def hello
32
+ # env.ui.info "Hello"
33
+ # end
34
+ # end
35
+ #
36
+ # In this case, the above class is invokable via `veewee hello`. To give
37
+ # this a try, just copy and paste the above into a Veeweefile somewhere.
38
+ # The command will be available for that project!
39
+ #
40
+ # Also note that the above example uses `env.ui` to output. It is recommended
41
+ # you use this instead of raw "env.ui.info" since it is configurable and provides
42
+ # additional functionality, such as colors and asking for user input. See
43
+ # the {UI} class for more information.
44
+ #
45
+ # ## Defining Command-line Options
46
+ #
47
+ # Most command line actions won't be as simple as `veewee hello`, and will
48
+ # probably require parameters or switches. Luckily, Thor makes adding these
49
+ # easy:
50
+ #
51
+ # class SayHello < Veewee::Command::Base
52
+ # register "hello", "Says hello"
53
+ # argument :name, :type => :string
54
+ #
55
+ # def hello
56
+ # env.ui.info "Hello, #{name}"
57
+ # end
58
+ # end
59
+ #
60
+ # Then, the above can be invoked with `veewee hello Mitchell` which would
61
+ # output "Hello, Mitchell." If instead you're looking for switches, such as
62
+ # "--name Mitchell", then take a look at `class_option`, an example of which
63
+ # can be found in the {PackageCommand}.
64
+ class Base < Thor::Group
65
+ include Thor::Actions
66
+ include Helpers
67
+
68
+ attr_reader :env
69
+
70
+ # Register the command with the main Veewee CLI under the
71
+ # given name. The name will be used for accessing it from the CLI,
72
+ # so if you name it "lamp", then the command to invoke this
73
+ # will be `veewee lamp`.
74
+ #
75
+ # The description is used when the help is listed, and is meant to be
76
+ # a brief (one sentence) description of what the command does.
77
+ #
78
+ # Some additional options may be passed in as the last parameter:
79
+ #
80
+ # * `:alias` - If given as an array or string, these will be aliases
81
+ # for the same command. For example, `veewee version` is also
82
+ # `veewee --version` and `veewee -v`
83
+ #
84
+ # @param [String] usage
85
+ # @param [String] description
86
+ # @param [Hash] opts
87
+ def self.register(usage, description, opts=nil)
88
+ desc description
89
+ ::Veewee::CLI.register(self, extract_name_from_usage(usage), usage, desc, opts)
90
+ end
91
+
92
+ def initialize(*args)
93
+ super
94
+ initialize_environment(*args)
95
+ end
96
+
97
+ protected
98
+
99
+ # Extracts the name of the command from a usage string. Example:
100
+ # `init [box_name] [box_url]` becomes just `init`.
101
+ def self.extract_name_from_usage(usage)
102
+ /^([-_a-zA-Z0-9]+)(\s+(.+?))?$/.match(usage).to_a[1]
103
+ end
104
+ end
105
+ end
106
+ end
@@ -0,0 +1,170 @@
1
+
2
+
3
+ module Veewee
4
+ module Command
5
+
6
+ class Fusion< Veewee::Command::GroupBase
7
+
8
+ register "fusion", "Subcommand for Vmware fusion"
9
+ desc "build [BOX_NAME]", "Build box"
10
+ method_option :force,:type => :boolean , :default => false, :aliases => "-f", :desc => "force the build"
11
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
12
+ method_option :nogui,:type => :boolean , :default => false, :aliases => "-n", :desc => "no gui"
13
+ method_option :auto,:type => :boolean , :default => false, :aliases => "-a", :desc => "auto answers"
14
+ method_option :checksum , :type => :boolean , :default => false, :desc => "verify checksum"
15
+ method_option :postinstall_include, :type => :array, :default => [], :aliases => "-i", :desc => "ruby regexp of postinstall filenames to additionally include"
16
+ method_option :postinstall_exclude, :type => :array, :default => [], :aliases => "-e", :desc => "ruby regexp of postinstall filenames to exclude"
17
+ def build(box_name)
18
+ venv=Veewee::Environment.new(options)
19
+ venv.ui=env.ui
20
+ venv.providers["vmfusion"].get_box(box_name).build(options)
21
+ end
22
+
23
+ method_option :force,:type => :boolean , :default => false, :aliases => "-f", :desc => "force the destroy"
24
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
25
+ method_option :nogui,:type => :boolean , :default => false, :aliases => "-n", :desc => "no gui"
26
+ desc "destroy [BOXNAME]", "Destroys the virtualmachine that was built"
27
+ def destroy(box_name)
28
+ venv=Veewee::Environment.new(options)
29
+ venv.ui=env.ui
30
+ venv.providers["vmfusion"].get_box(box_name).destroy(options)
31
+ end
32
+
33
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
34
+ method_option :force,:type => :boolean , :default => false, :aliases => "-f", :desc => "force the shutdown"
35
+ desc "halt [BOXNAME]", "Activates a shutdown the virtualmachine"
36
+ def halt(box_name)
37
+ venv=Veewee::Environment.new(options)
38
+ venv.ui=env.ui
39
+ venv.providers["vmfusion"].get_box(box_name).halt(options)
40
+ end
41
+
42
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
43
+ method_option :nogui,:type => :boolean , :default => false, :aliases => "-n", :desc => "no gui"
44
+ desc "up [BOXNAME]", "Starts a Box"
45
+ def up(box_name)
46
+ venv=Veewee::Environment.new(options)
47
+ venv.ui=env.ui
48
+ venv.providers["vmfusion"].get_box(box_name).up(options)
49
+ end
50
+
51
+ desc "ssh [BOXNAME] [COMMAND]", "SSH to box"
52
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
53
+ def ssh(box_name,command=nil)
54
+ venv=Veewee::Environment.new(options)
55
+ venv.ui=env.ui
56
+ venv.providers["vmfusion"].get_box(box_name).issh(command)
57
+ end
58
+
59
+
60
+ desc "winrm [BOXNAME] [COMMAND]", "Execute command via winrm"
61
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
62
+ def winrm(box_name,command=nil)
63
+ venv=Veewee::Environment.new(options)
64
+ venv.ui=env.ui
65
+ venv.providers["vmfusion"].get_box(box_name).winrm(command,{:exitcode => "*"})
66
+ end
67
+
68
+ desc "copy [BOXNAME] [SRC] [DST]", "Copy a file to the VM"
69
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
70
+ def copy(box_name,src,dst)
71
+ venv=Veewee::Environment.new(options)
72
+ venv.ui=env.ui
73
+ venv.providers["vmfusion"].get_box(box_name).copy_to_box(src,dst)
74
+ end
75
+
76
+
77
+
78
+ desc "define [BOXNAME] [TEMPLATE]", "Define a new basebox starting from a template"
79
+ method_option :force,:type => :boolean , :default => false, :aliases => "-f", :desc => "overwrite the definition"
80
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
81
+ def define(definition_name, template_name)
82
+ venv=Veewee::Environment.new(options)
83
+ venv.ui=env.ui
84
+ venv.definitions.define(definition_name,template_name,options)
85
+ env.ui.info "The basebox '#{definition_name}' has been successfully created from the template '#{template_name}'"
86
+ env.ui.info "You can now edit the definition files stored in definitions/#{definition_name} or build the box with:"
87
+ env.ui.info "veewee fusion build '#{definition_name}'"
88
+ end
89
+
90
+ desc "undefine [BOXNAME]", "Removes the definition of a basebox "
91
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
92
+ def undefine(definition_name)
93
+ env.ui.info "Removing definition #{definition_name}" , :prefix => false
94
+ begin
95
+ venv=Veewee::Environment.new(options)
96
+ venv.ui=env.ui
97
+ venv.definitions.undefine(definition_name,options)
98
+ env.ui.info "Definition #{definition_name} successfully removed",:prefix => false
99
+ rescue Error => ex
100
+ env.ui.error "#{ex}" , :prefix => false
101
+ exit -1
102
+ end
103
+ end
104
+
105
+ desc "validate [NAME]", "Validates a box against vmfusion compliancy rules"
106
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
107
+ method_option :tags, :type => :array , :default => %w{vmfusion puppet chef}, :aliases => "-t", :desc => "tags to validate"
108
+ def validate(box_name)
109
+ venv=Veewee::Environment.new(options)
110
+ venv.ui=env.ui
111
+ venv.providers["vmfusion"].get_box(box_name).validate_vmfusion(options)
112
+ end
113
+
114
+ desc "ostypes", "List the available Operating System types"
115
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
116
+ def ostypes
117
+ venv=Veewee::Environment.new(options)
118
+ venv.ui=env.ui
119
+ venv.ostypes.each do |name|
120
+ env.ui.info "- #{name}"
121
+ end
122
+ end
123
+
124
+ desc "export [NAME]", "Exports the basebox to the ova format"
125
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
126
+ method_option :force,:type => :boolean , :default => false, :aliases => "-f", :desc => "overwrite existing file"
127
+ def export(box_name)
128
+ venv=Veewee::Environment.new(options)
129
+ venv.ui=env.ui
130
+ venv.providers["vmfusion"].get_box(box_name).export_ova(options)
131
+ end
132
+
133
+
134
+ desc "templates", "List the currently available templates"
135
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
136
+ def templates
137
+ env.ui.info "The following templates are available:",:prefix => false
138
+ venv=Veewee::Environment.new(options)
139
+ venv.ui=env.ui
140
+ venv.templates.each do |name,template|
141
+ env.ui.info "veewee fusion define '<box_name>' '#{name}'",:prefix => false
142
+ end
143
+ end
144
+
145
+ desc "list", "Lists all defined boxes"
146
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
147
+ def list
148
+ env.ui.info "The following local definitions are available:",:prefix => false
149
+ venv=Veewee::Environment.new(options)
150
+ venv.ui=env.ui
151
+ venv.definitions.each do |name,definition|
152
+ env.ui.info "- #{name}"
153
+ end
154
+ end
155
+
156
+ desc "add_share [BOX_NAME] [SHARE_NAME] [SHARE_PATH]", "Adds a share to the guest"
157
+ method_option :debug,:type => :boolean , :default => false, :aliases => "-d", :desc => "enable debugging"
158
+ def add_share(box_name, share_name, share_path)
159
+ venv=Veewee::Environment.new(options)
160
+ venv.ui=env.ui
161
+ # command="#{File.dirname().shellescape}/vmware-vdiskmanager -c -s #{definition.disk_size}M -a lsilogic -t #{disk_type} #{name}.vmdk"
162
+ # shell_results=shell_exec("#{command}",{:mute => true})
163
+ venv.providers["vmfusion"].get_box(box_name).add_share(share_name, share_path)
164
+
165
+ end
166
+
167
+ end
168
+
169
+ end
170
+ end