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,13 @@
1
+ module Veewee
2
+ module Provider
3
+ module Vmfusion
4
+ module BoxCommand
5
+
6
+ def poweroff(options={})
7
+ raw.halt unless raw.nil?
8
+ end
9
+
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,12 @@
1
+ module Veewee
2
+ module Provider
3
+ module Vmfusion
4
+ module BoxCommand
5
+
6
+ def ssh(command,options)
7
+ super(command,options)
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,61 @@
1
+ require 'erb'
2
+
3
+ module Veewee
4
+ module Provider
5
+ module Vmfusion
6
+ module BoxCommand
7
+ class ErbBinding < OpenStruct
8
+ def get_binding
9
+ return binding()
10
+ end
11
+ end
12
+
13
+ def vmx_template(definition)
14
+ # We only want specific variables for ERB
15
+
16
+ floppy_path=nil
17
+ unless definition.floppy_files.nil?
18
+ floppy_path=File.join(definition.path,'virtualfloppy.img')
19
+ end
20
+
21
+ # Property to support enabling hypervisor support in a VM
22
+ enable_hypervisor_support = definition.vmfusion[:vm_options]['enable_hypervisor_support']
23
+
24
+ # Depending on the fusion version, we need to update the virtualhw version
25
+ if @provider.fusion_version.start_with?('5.')
26
+ virtualhw_version = 9
27
+ else
28
+ virtualhw_version = 7
29
+ end
30
+
31
+ puts definition.vmdk_file
32
+ vmdk_file = File.basename(definition.vmdk_file) unless definition.vmdk_file.nil?
33
+ # Setup the variables for in the erb template
34
+ data = {
35
+ :cpu_count => definition.cpu_count, :memory_size => definition.memory_size,
36
+ :controller_type => "lsilogic",
37
+ :fusion_os_type => definition.os_type_id,
38
+ :virtualhw_version => virtualhw_version,
39
+ :floppyfile => floppy_path,
40
+ :mac_addres => "auto generated",
41
+ :iso_file => "#{File.join(env.config.veewee.iso_dir,definition.iso_file)}",
42
+ :box_name => name,
43
+ :vnc_port => guess_vnc_port,
44
+ :fusion_version => @provider.fusion_version,
45
+ :vmdk_file => vmdk_file,
46
+ :enable_hypervisor_support => enable_hypervisor_support
47
+ }
48
+
49
+ vars = ErbBinding.new(data)
50
+ template_path=File.join(File.dirname(__FILE__),"template.vmx.erb")
51
+ template=File.open(template_path).readlines.join
52
+ erb = ERB.new(template)
53
+ vars_binding = vars.send(:get_binding)
54
+ result=erb.result(vars_binding)
55
+ return result
56
+ end
57
+ end
58
+
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,91 @@
1
+ .encoding = "UTF-8"
2
+ config.version = "8"
3
+ virtualHW.version = <%= virtualhw_version %>
4
+ numvcpus = "<%= cpu_count %>"
5
+ scsi0.present = "TRUE"
6
+ scsi0.virtualDev = "<%= controller_type %>"
7
+ memsize = "<%= memory_size %>"
8
+ scsi0:0.present = "TRUE"
9
+ scsi0:0.fileName = "<%= box_name %>.vmdk"
10
+ ide1:0.present = "TRUE"
11
+ ide1:0.fileName = "<%= iso_file %>"
12
+ ide1:0.deviceType = "cdrom-image"
13
+ usb.present = "TRUE"
14
+ ehci.present = "TRUE"
15
+ pciBridge0.present = "TRUE"
16
+ pciBridge4.present = "TRUE"
17
+ pciBridge4.virtualDev = "pcieRootPort"
18
+ pciBridge4.functions = "8"
19
+ pciBridge5.present = "TRUE"
20
+ pciBridge5.virtualDev = "pcieRootPort"
21
+ pciBridge5.functions = "8"
22
+ pciBridge6.present = "TRUE"
23
+ pciBridge6.virtualDev = "pcieRootPort"
24
+ pciBridge6.functions = "8"
25
+ pciBridge7.present = "TRUE"
26
+ pciBridge7.virtualDev = "pcieRootPort"
27
+ pciBridge7.functions = "8"
28
+ vmci0.present = "TRUE"
29
+ roamingVM.exitBehavior = "go"
30
+ tools.syncTime = "TRUE"
31
+ displayName = "<%= box_name %>"
32
+ guestOS = "<%= fusion_os_type %>"
33
+ nvram = "<%= box_name %>.nvram"
34
+ virtualHW.productCompatibility = "hosted"
35
+ proxyApps.publishToHost = "FALSE"
36
+ tools.upgrade.policy = "upgradeAtPowerCycle"
37
+ powerType.powerOff = "soft"
38
+ powerType.powerOn = "soft"
39
+ powerType.suspend = "soft"
40
+ powerType.reset = "soft"
41
+ <% if floppyfile.nil? %>floppy0.present = "FALSE" <% else %>floppy0.present = "TRUE"
42
+ floppy0.fileType = "file"
43
+ floppy0.fileName = "<%= floppyfile %>"
44
+ floppy0.clientDevice = "FALSE"<% end %>
45
+ extendedConfigFile = "<%= box_name %>.vmxf"
46
+ checkpoint.vmState = ""
47
+ #uuid.location = "56 4d 7a 3a bb 23 52 50-d4 b3 d3 46 6e f3 aa 63"
48
+ #uuid.bios = "56 4d 7a 3a bb 23 52 50-d4 b3 d3 46 6e f3 aa 63"
49
+ cleanShutdown = "FALSE"
50
+ replay.supported = "FALSE"
51
+ debugStub.linuxOffsets = "0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0"
52
+ replay.filename = ""
53
+ scsi0:0.redo = ""
54
+ pciBridge0.pciSlotNumber = "17"
55
+ pciBridge4.pciSlotNumber = "21"
56
+ pciBridge5.pciSlotNumber = "22"
57
+ pciBridge6.pciSlotNumber = "23"
58
+ pciBridge7.pciSlotNumber = "24"
59
+ scsi0.pciSlotNumber = "16"
60
+ usb.pciSlotNumber = "32"
61
+ ehci.pciSlotNumber = "34"
62
+ vmci0.pciSlotNumber = "35"
63
+ vmotion.checkpointFBSize = "65536000"
64
+ vmci0.id = "1861462627"
65
+ gui.fullScreenAtPowerOn = "FALSE"
66
+ gui.viewModeAtPowerOn = "windowed"
67
+ hgfs.mapRootShare = "TRUE"
68
+ hgfs.linkRootShare = "TRUE"
69
+ isolation.tools.hgfs.disable = "FALSE"
70
+ ethernet0.pciSlotNumber = "33"
71
+ ethernet0.present = "TRUE"
72
+ ethernet0.connectionType = "nat"
73
+ ethernet0.virtualDev = "e1000"
74
+ ethernet0.wakeOnPcktRcv = "FALSE"
75
+ ethernet0.addressType = "generated"
76
+ ethernet0.linkStatePropagation.enable = "FALSE"
77
+ #ethernet0.generatedAddress = "<%= mac_address %>S"
78
+ #ethernet0.generatedAddressOffset = "0"
79
+ ethernet0.vnet = "vmnet2"
80
+ ethernet0.bsdName = "en0"
81
+ ethernet0.displayName = "Ethernet"
82
+ sound.startConnected = "FALSE"
83
+ RemoteDisplay.vnc.enabled = "TRUE"
84
+ RemoteDisplay.vnc.port = "<%= vnc_port %>"
85
+ <% if enable_hypervisor_support == true %>vhv.enable = "TRUE"<% end %>
86
+ <% if fusion_version.start_with?('5.') %>bios.bootOrder = "hdd,CDROM"<% end %>
87
+ <% unless vmdk_file.nil? %>
88
+ scsi0:2.present = "TRUE"
89
+ scsi0:2.fileName = "<%= vmdk_file %>"
90
+ scsi0:2.redo = ""
91
+ <% end %>
@@ -0,0 +1,18 @@
1
+ module Veewee
2
+ module Provider
3
+ module Vmfusion
4
+ module BoxCommand
5
+
6
+ def up(options={})
7
+ gui_enabled=options[:nogui]==true ? false : true
8
+ if gui_enabled
9
+ raw.start unless raw.nil?
10
+ else
11
+ raw.start({:headless => true}) unless raw.nil?
12
+ end
13
+ end
14
+
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,13 @@
1
+ module Veewee
2
+ module Provider
3
+ module Vmfusion
4
+ module BoxCommand
5
+
6
+ def validate_vmfusion(options)
7
+ validate_tags( options['tags'],options)
8
+ end
9
+ end #Module
10
+
11
+ end #Module
12
+ end #Module
13
+ end #Module
@@ -0,0 +1,12 @@
1
+ module Veewee
2
+ module Provider
3
+ module Vmfusion
4
+ module BoxCommand
5
+
6
+ def winrm(command,options = {})
7
+ super(command,options)
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,103 @@
1
+ # /Library/Application\ Support/VMware\ Fusion/ovftool/ovftool.bin --help
2
+
3
+ falcon-pdb:Downloads patrick$ /Library/Application\ Support/VMware\ Fusion/ovftool/ovftool.bin --help
4
+ Usage: ovftool [options] <source> [<target>]
5
+ where
6
+ <source>: Source URL locator to an OVF package, VMX file, or virtual machine in
7
+ vCenter or on ESX Server.
8
+ <target>: Destination URL locator which specifies either a file location, or a
9
+ location in the vCenter inventory or on an ESX Server.
10
+
11
+ If <target> is not specified, information about the source is displayed to the
12
+ console.
13
+
14
+ Options:
15
+ --acceptAllEulas : Accept all end-user licenses agreements without
16
+ being prompted.
17
+ --authdPortSource : Use this to override default vmware authd port
18
+ (902) when using a host as source.
19
+ --authdPortTarget : Use this to override default vmware authd port
20
+ (902) when using a host as target.
21
+ --chunkSize : Specifies the chunk size to use for files in a
22
+ generated OVF package. The default is not to
23
+ chunk. The chunk size without unit is assumed
24
+ to be in megabytesAccepted units are b, kb, mb,
25
+ gb; e.g., 2gb or 100kb.
26
+ --compress : Compress the disks in an OVF package. Value
27
+ must be between 1 and 9. 1 is the fastest, but
28
+ gives the worst compression, whereas 9 is the
29
+ slowest, but gives the best compression.
30
+ -ds/--datastore : Target datastore name for a VI locator.
31
+ --deploymentOption : Selects what deployment option to use (if the
32
+ source OVF package supports multiple options.)
33
+ --disableVerification : Skip validation of signature and certificate.
34
+ -dm/--diskMode : Select target disk format. Supported formats
35
+ are: monolithicSparse, monolithicFlat,
36
+ twoGbMaxExtentSparse, twoGbMaxExtentFlat,
37
+ streamOptimized, thin (VI target) and thick (VI
38
+ target)
39
+ --eula : EULA to be inserted in the first virtual system
40
+ or virtual system collection in the OVF. If the
41
+ EULA is in a file, use the option
42
+ --eula@=filename instead.
43
+ -h /--help : Prints this message.
44
+ --hideEula : In OVF probe mode, hides the EULA.
45
+ --ipAllocationPolicy : IP allocation policy for a deployed OVF
46
+ package. Supported values are fixed, transient
47
+ and dhcp.
48
+ --ipProtocol : Select what IP protocol to use (IPv4, IPv6).
49
+ --lax : Relax OVF specification conformance and virtual
50
+ hardware compliance checks. Use only if you
51
+ know what you are doing.
52
+ --locale : Selects locale for target.
53
+ --machineOutput : Output OVF Tool messages in a machine friendly
54
+ manner.
55
+ --makeDeltaDisks : Build delta disk hierarchy from the given
56
+ source locator.
57
+ -n /--name : Specifies target name (defaults to source
58
+ name).
59
+ --net : Set a network assignment in the deployed OVF
60
+ package. A network assignment is set using the
61
+ syntax --net:<OVF name>=<target name>.
62
+ -nw/--network : Target network for a VI deployment.
63
+ --noDisks : Disable disk conversion.
64
+ --noImageFiles : Do not include image files in destination.
65
+ -o /--overwrite : Force overwrites of existing files.
66
+ --powerOffSource : Ensures a VM/vApp is powered off before
67
+ importing from a VI source.
68
+ --powerOffTarget : Ensures a VM/vApp is powered off before
69
+ overwriting a VI target.
70
+ --powerOn : Powers on a VM/vApp deployed on a VI target.
71
+ --privateKey : Sign OVF package with the given private key
72
+ (.pem file). The file must contain a private
73
+ key and a certificate.
74
+ --privateKeyPassword : Password for the private key. Should be used in
75
+ conjunction with privateKey if the private key
76
+ requires password authentication. If required
77
+ and not specified, the tool will prompt for the
78
+ password.
79
+ --prop : Set a property in the deployed OVF package. A
80
+ property is set using the syntax
81
+ --prop:<key>=<value>.
82
+ --proxy : Proxy used for HTTP[S] access.
83
+ -q /--quiet : No output to screen except errors.
84
+ --schemaValidate : Validate OVF descriptor against OVF schema.
85
+ --skipManifestCheck : Skip validation of OVF package manifest.
86
+ --skipManifestGeneration : Skip generation of OVF package manifest.
87
+ -st/--sourceType : Explicitly express that source is OVF, OVA,
88
+ VMX, VI, vApprun
89
+ -tt/--targetType : Explicitly express that target is OVF, OVA,
90
+ VMX, VI, vApprun
91
+ --verifyOnly : Do not upload the source but only verify it
92
+ against the target host. Applies to VI 4
93
+ targets only.
94
+ -v /--version : Prints the version of this tool.
95
+ -vf/--vmFolder : Target VM folder in VI inventory (relative to
96
+ datacenter).
97
+
98
+ For more help, type: --help <topic>, where topics are:
99
+ locators : For detailed source and destination locator syntax
100
+ examples : For examples of use
101
+ config : For syntax of configuration files
102
+ integration : For a list of options primarily used when ovftool is exec'ed
103
+ from another tool or shellscript.
@@ -0,0 +1,43 @@
1
+ require 'veewee/provider/core/provider'
2
+
3
+ module Veewee
4
+ module Provider
5
+ module Vmfusion
6
+ class Provider < Veewee::Provider::Core::Provider
7
+
8
+ #include ::Veewee::Provider::Vmfusion::ProviderCommand
9
+
10
+ def check_requirements
11
+ require 'fission'
12
+
13
+ if File.exists?("/Library/Application Support/VMware Fusion/vmrun")
14
+ ::Fission.config.attributes["vmrun_bin"] = "/Library/Application Support/VMware Fusion/vmrun"
15
+ elsif File.exists?("/Applications/VMware Fusion.app/Contents/Library/vmrun")
16
+ ::Fission.config.attributes["vmrun_bin"] = "/Applications/VMware Fusion.app/Contents/Library/vmrun"
17
+ elsif
18
+ raise Veewee::Error,"Could not find vmrun at standard locations. Probably you don't have Vmware fusion installed"
19
+ end
20
+ env.logger.info("Found fusion version: #{fusion_version}")
21
+ end
22
+
23
+ def fusion_version
24
+ # We ask the system profiler for all installed software
25
+ shell_results = shell_exec("system_profiler SPApplicationsDataType")
26
+
27
+ env.logger.info("Checking version by querying the system_profiler")
28
+ env.logger.debug(shell_results.stdout)
29
+
30
+ if (shell_results.stdout == "")
31
+ ui.warn "Could not detect the exact version of vmware. assuming 5.1"
32
+ version = "5.1"
33
+ else
34
+ version = shell_results.stdout.split(/VMware/)[1].split(/\n/)[2].split(/:/)[1].strip
35
+ end
36
+
37
+ return version
38
+ end
39
+
40
+ end #End Class
41
+ end # End Module
42
+ end # End Module
43
+ end # End Module
@@ -0,0 +1,32 @@
1
+ module Veewee
2
+ class Providers
3
+ def initialize(env, options = {})
4
+ @env = env
5
+ @options = options
6
+ @providers = Hash.new
7
+ end
8
+
9
+ def [](name)
10
+ return @providers[name] if @providers.has_key?(name)
11
+
12
+ begin
13
+ require_path = 'veewee/provider/' + name.to_s.downcase + "/provider"
14
+ require require_path
15
+
16
+ provider = Object.const_get("Veewee").const_get("Provider").const_get(name.to_s.capitalize).const_get("Provider").new(name, @options, @env)
17
+
18
+ @providers[name] = provider
19
+ rescue ::Veewee::Error => e
20
+ raise
21
+ rescue Error => e
22
+ env.ui.error "Error loading provider with #{name}, #{$!}", :prefix => false
23
+ end
24
+
25
+ end
26
+
27
+ def length
28
+ @providers.length
29
+ end
30
+
31
+ end
32
+ end #Module Veewee
@@ -0,0 +1,26 @@
1
+ module Veewee
2
+ class Template
3
+
4
+ attr_accessor :env
5
+
6
+ attr_reader :name, :path
7
+
8
+ def initialize(name, path, env)
9
+ @name = name
10
+ @path = path
11
+ @env = env
12
+ return self
13
+ end
14
+
15
+ def exists?
16
+ filename = Dir.glob("#{path}/definition.rb")
17
+ if filename.length != 0
18
+ env.logger.debug("[Template] template '#{name}' is valid")
19
+ return true
20
+ else
21
+ return false
22
+ end
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,69 @@
1
+ module Veewee
2
+ class Templates
3
+
4
+ attr_accessor :env
5
+
6
+ def initialize(env)
7
+ @env = env
8
+ return self
9
+ end
10
+
11
+ def [](name)
12
+ result = nil
13
+ valid_paths(env.template_path).each do |template_dir|
14
+ template = Veewee::Template.new(name, File.join(template_dir, name), @env)
15
+ if template.exists?
16
+ result = template
17
+ return result
18
+ end
19
+ end
20
+ return nil
21
+ end
22
+
23
+ # Fetch all Templates
24
+ def each(&block)
25
+ templates = Hash.new
26
+
27
+ valid_paths(env.template_path).each do |template_dir|
28
+
29
+ env.logger.debug("[Template] Searching #{template_dir} for templates")
30
+
31
+ subdirs = Dir.glob("#{template_dir}/*")
32
+ subdirs.each do |sub|
33
+ if File.directory?("#{sub}")
34
+ name = sub.sub(/#{template_dir}\//, '')
35
+ template = Veewee::Template.new(name, sub, @env)
36
+ if template.exists?
37
+ env.logger.debug("[Template] template '#{name}' found")
38
+ templates[name] = template
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ if templates.length == 0
45
+ env.logger.debug("[Template] no templates found")
46
+ end
47
+
48
+ Hash[templates.sort].each(&block)
49
+ end
50
+
51
+ private
52
+
53
+ # Traverses path to see which exist or not
54
+ # and checks if available
55
+ def valid_paths(paths)
56
+ valid_paths = paths.collect { |path|
57
+ if File.exists?(path) && File.directory?(path)
58
+ env.logger.info "Path #{path} exists"
59
+ File.expand_path(path)
60
+ else
61
+ env.logger.info "Path #{path} does not exist, skipping"
62
+ nil
63
+ end
64
+ }
65
+ return valid_paths.compact
66
+ end
67
+
68
+ end
69
+ end