HeSYINUvSBZfxqA-veewee 0.2.0.2 → 0.203.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. data/README.md +53 -26
  2. data/Rakefile +41 -36
  3. data/lib/veewee.rb +2 -0
  4. data/lib/veewee/command.rb +1 -59
  5. data/lib/veewee/command/basebox.rb +63 -0
  6. data/lib/veewee/command/basebox_build.rb +32 -0
  7. data/lib/veewee/command/basebox_define.rb +28 -0
  8. data/lib/veewee/command/basebox_destroy.rb +22 -0
  9. data/lib/veewee/command/basebox_export.rb +22 -0
  10. data/lib/veewee/command/basebox_list.rb +23 -0
  11. data/lib/veewee/command/basebox_ostypes.rb +23 -0
  12. data/lib/veewee/command/basebox_templates.rb +23 -0
  13. data/lib/veewee/command/basebox_undefine.rb +22 -0
  14. data/lib/veewee/command/basebox_validate.rb +26 -0
  15. data/lib/veewee/config.rb +1 -2
  16. data/lib/veewee/export.rb +2 -2
  17. data/lib/veewee/scancode.rb +1 -1
  18. data/lib/veewee/session.rb +373 -249
  19. data/lib/veewee/transaction.rb +2 -11
  20. data/lib/veewee/version.rb +1 -1
  21. data/templates/CentOS-4.8-i386/definition.rb +1 -1
  22. data/templates/CentOS-4.8-i386/postinstall.sh +1 -1
  23. data/templates/CentOS-5.5-x86_64-netboot/definition.rb +16 -0
  24. data/templates/CentOS-5.5-x86_64-netboot/ks.cfg +46 -0
  25. data/templates/CentOS-5.5-x86_64-netboot/postinstall.sh +60 -0
  26. data/templates/CentOS-5.6-i386-netboot/definition.rb +1 -1
  27. data/templates/CentOS-5.6-i386-netboot/ks.cfg +2 -2
  28. data/templates/CentOS-5.6-i386-netboot/postinstall.sh +1 -1
  29. data/templates/CentOS-5.6-i386/postinstall.sh +1 -1
  30. data/templates/CentOS-5.6-x86_64-netboot/definition.rb +1 -1
  31. data/templates/CentOS-5.6-x86_64-netboot/ks.cfg +1 -1
  32. data/templates/CentOS-5.6-x86_64-netboot/postinstall.sh +3 -2
  33. data/templates/CentOS-5.7-i386-netboot/definition.rb +16 -0
  34. data/templates/CentOS-5.7-i386-netboot/ks.cfg +45 -0
  35. data/templates/CentOS-5.7-i386-netboot/postinstall.sh +53 -0
  36. data/templates/CentOS-5.7-x86_64-netboot/definition.rb +16 -0
  37. data/templates/CentOS-5.7-x86_64-netboot/ks.cfg +45 -0
  38. data/templates/CentOS-5.7-x86_64-netboot/postinstall.sh +60 -0
  39. data/templates/CentOS-6.0-i386-netboot/ks.cfg +1 -1
  40. data/templates/CentOS-6.0-i386-netboot/postinstall.sh +1 -1
  41. data/templates/CentOS-6.0-i386/postinstall.sh +2 -2
  42. data/templates/CentOS-6.0-x86_64-minimal/definition.rb +17 -0
  43. data/templates/CentOS-6.0-x86_64-minimal/ks.cfg +37 -0
  44. data/templates/CentOS-6.0-x86_64-minimal/postinstall.sh +58 -0
  45. data/templates/CentOS-6.0-x86_64-netboot/ks.cfg +1 -1
  46. data/templates/CentOS-6.0-x86_64-netboot/postinstall.sh +1 -1
  47. data/templates/CentOS-6.0-x86_64/postinstall.sh +2 -2
  48. data/templates/CentOS-6.1-x86_64-minimal/definition.rb +15 -0
  49. data/templates/CentOS-6.1-x86_64-minimal/ks.cfg +37 -0
  50. data/templates/CentOS-6.1-x86_64-minimal/postinstall.sh +50 -0
  51. data/templates/CentOS-6.2-x86_64-minimal/definition.rb +15 -0
  52. data/templates/CentOS-6.2-x86_64-minimal/ks.cfg +37 -0
  53. data/templates/CentOS-6.2-x86_64-minimal/postinstall.sh +50 -0
  54. data/templates/Debian-5.0.8-amd64-netboot/postinstall.sh +1 -1
  55. data/templates/Debian-5.0.8-i386-netboot/postinstall.sh +1 -1
  56. data/templates/{Debian-6.0.2-amd64-netboot → Debian-6.0.3-amd64-netboot}/definition.rb +3 -3
  57. data/templates/Debian-6.0.3-amd64-netboot/postinstall.sh +80 -0
  58. data/templates/{Debian-6.0.2-amd64-netboot → Debian-6.0.3-amd64-netboot}/preseed.cfg +0 -0
  59. data/templates/{Debian-6.0.2-i386-netboot → Debian-6.0.3-i386-netboot}/definition.rb +3 -3
  60. data/templates/{Debian-6.0.2-i386-netboot → Debian-6.0.3-i386-netboot}/postinstall.sh +2 -2
  61. data/templates/{Debian-6.0.2-i386-netboot → Debian-6.0.3-i386-netboot}/preseed.cfg +0 -0
  62. data/templates/Fedora-14-amd64-netboot/definition.rb +1 -1
  63. data/templates/Fedora-14-amd64-netboot/postinstall.sh +1 -1
  64. data/templates/Fedora-14-amd64/definition.rb +1 -1
  65. data/templates/Fedora-14-amd64/postinstall.sh +1 -1
  66. data/templates/Fedora-14-i386-netboot/postinstall.sh +1 -1
  67. data/templates/Fedora-14-i386/postinstall.sh +1 -1
  68. data/templates/Fedora-15-x86_64-netboot/definition.rb +29 -0
  69. data/templates/Fedora-15-x86_64-netboot/ks.cfg +64 -0
  70. data/templates/Fedora-15-x86_64-netboot/postinstall.sh +33 -0
  71. data/templates/Fedora-15-x86_64/definition.rb +17 -0
  72. data/templates/Fedora-15-x86_64/ks.cfg +64 -0
  73. data/templates/Fedora-15-x86_64/postinstall.sh +33 -0
  74. data/templates/Fedora-16-i386/definition.rb +17 -0
  75. data/templates/Fedora-16-i386/ks.cfg +72 -0
  76. data/templates/Fedora-16-i386/postinstall.sh +35 -0
  77. data/templates/Fedora-16-x86_64/definition.rb +17 -0
  78. data/templates/Fedora-16-x86_64/ks.cfg +72 -0
  79. data/templates/Fedora-16-x86_64/postinstall.sh +35 -0
  80. data/templates/SLES-11-SP1-DVD-i586-GM/autoinst_de.xml +1127 -0
  81. data/templates/SLES-11-SP1-DVD-i586-GM/autoinst_en.xml +1127 -0
  82. data/templates/SLES-11-SP1-DVD-i586-GM/definition.rb +37 -0
  83. data/templates/SLES-11-SP1-DVD-i586-GM/postinstall.sh +43 -0
  84. data/templates/SLES-11-SP1-DVD-x86_64-GM/autoinst_de.xml +1171 -0
  85. data/templates/SLES-11-SP1-DVD-x86_64-GM/autoinst_en.xml +1171 -0
  86. data/templates/SLES-11-SP1-DVD-x86_64-GM/definition.rb +37 -0
  87. data/templates/SLES-11-SP1-DVD-x86_64-GM/postinstall.sh +43 -0
  88. data/templates/archlinux-i386-netboot/aif.cfg +28 -0
  89. data/templates/archlinux-i386-netboot/definition.rb +26 -0
  90. data/templates/archlinux-i386-netboot/postinstall.sh +75 -0
  91. data/templates/archlinux-i386-netboot/postinstall2.sh +30 -0
  92. data/templates/archlinux-i386/postinstall.sh +12 -1
  93. data/templates/archlinux-x86_64-netboot/aif.cfg +28 -0
  94. data/templates/archlinux-x86_64-netboot/definition.rb +26 -0
  95. data/templates/archlinux-x86_64-netboot/postinstall.sh +75 -0
  96. data/templates/archlinux-x86_64-netboot/postinstall2.sh +30 -0
  97. data/templates/archlinux-x86_64/aif.cfg +1 -1
  98. data/templates/archlinux-x86_64/definition.rb +1 -1
  99. data/templates/archlinux-x86_64/postinstall.sh +16 -21
  100. data/templates/archlinux-x86_64/postinstall2.sh +38 -0
  101. data/templates/freebsd-8.2-pcbsd-i386-netboot/definition.rb +2 -4
  102. data/templates/freebsd-8.2-pcbsd-i386-netboot/postinstall.sh +1 -1
  103. data/templates/freebsd-8.2-pcbsd-i386/definition.rb +3 -2
  104. data/templates/freebsd-8.2-pcbsd-i386/postinstall.sh +1 -1
  105. data/templates/funtoo-latest-generic_64-stable/definition.rb +34 -0
  106. data/templates/funtoo-latest-generic_64-stable/postinstall.sh +177 -0
  107. data/templates/funtoo-latest-generic_64-stable/postinstall2.sh +83 -0
  108. data/templates/gentoo-latest-i386-experimental/definition.rb +9 -9
  109. data/templates/gentoo-latest-i386-experimental/postinstall.sh +1 -1
  110. data/templates/gentoo-latest-x86_64-experimental/definition.rb +34 -0
  111. data/templates/gentoo-latest-x86_64-experimental/postinstall.sh +214 -0
  112. data/templates/openSUSE-11.4-DVD-i586/autoinst_de.xml +1284 -0
  113. data/templates/openSUSE-11.4-DVD-i586/autoinst_en.xml +1284 -0
  114. data/templates/openSUSE-11.4-DVD-i586/definition.rb +28 -0
  115. data/templates/openSUSE-11.4-DVD-i586/postinstall.sh +43 -0
  116. data/templates/openSUSE-11.4-DVD-x86_64/autoinst_de.xml +1459 -0
  117. data/templates/openSUSE-11.4-DVD-x86_64/autoinst_en.xml +1459 -0
  118. data/templates/openSUSE-11.4-DVD-x86_64/definition.rb +28 -0
  119. data/templates/openSUSE-11.4-DVD-x86_64/postinstall.sh +43 -0
  120. data/templates/openSUSE-11.4-NET-i586/autoinst_de.xml +1278 -0
  121. data/templates/openSUSE-11.4-NET-i586/autoinst_en.xml +1278 -0
  122. data/templates/openSUSE-11.4-NET-i586/definition.rb +28 -0
  123. data/templates/openSUSE-11.4-NET-i586/postinstall.sh +43 -0
  124. data/templates/openSUSE-11.4-NET-x86_64/autoinst_de.xml +1453 -0
  125. data/templates/openSUSE-11.4-NET-x86_64/autoinst_en.xml +1453 -0
  126. data/templates/openSUSE-11.4-NET-x86_64/definition.rb +28 -0
  127. data/templates/openSUSE-11.4-NET-x86_64/postinstall.sh +43 -0
  128. data/templates/openSUSE-12.1-DVD+NET-i586/autoinst_de.xml +1483 -0
  129. data/templates/openSUSE-12.1-DVD+NET-i586/autoinst_en.xml +1483 -0
  130. data/templates/openSUSE-12.1-DVD+NET-i586/definition.rb +44 -0
  131. data/templates/openSUSE-12.1-DVD+NET-i586/postinstall.sh +43 -0
  132. data/templates/openSUSE-12.1-DVD+NET-x86_64/autoinst_de.xml +1727 -0
  133. data/templates/openSUSE-12.1-DVD+NET-x86_64/autoinst_en.xml +1727 -0
  134. data/templates/openSUSE-12.1-DVD+NET-x86_64/definition.rb +44 -0
  135. data/templates/openSUSE-12.1-DVD+NET-x86_64/postinstall.sh +43 -0
  136. data/templates/openbsd50_amd64/README +28 -0
  137. data/templates/openbsd50_amd64/definition.rb +84 -0
  138. data/templates/openbsd50_amd64/postinstall.sh +81 -0
  139. data/templates/openbsd50_i386/.definition.rb.swp +0 -0
  140. data/templates/openbsd50_i386/README +28 -0
  141. data/templates/openbsd50_i386/definition.rb +84 -0
  142. data/templates/openbsd50_i386/postinstall.sh +80 -0
  143. data/templates/openindiana-148-ai-x86/definition.rb +1 -1
  144. data/templates/openindiana-148-ai-x86/postinstall.sh +1 -1
  145. data/templates/opensuse-11.4-i386-experimental/postinstall.sh +1 -1
  146. data/templates/scientificlinux-6.1-i386-netboot/definition.rb +16 -0
  147. data/templates/scientificlinux-6.1-i386-netboot/ks.cfg +53 -0
  148. data/templates/scientificlinux-6.1-i386-netboot/postinstall.sh +30 -0
  149. data/templates/scientificlinux-6.1-x86_64-netboot/definition.rb +16 -0
  150. data/templates/scientificlinux-6.1-x86_64-netboot/ks.cfg +53 -0
  151. data/templates/scientificlinux-6.1-x86_64-netboot/postinstall.sh +30 -0
  152. data/templates/solaris-11-express-i386/definition.rb +1 -1
  153. data/templates/solaris-11-express-i386/postinstall.sh +1 -1
  154. data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +1 -1
  155. data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +1 -1
  156. data/templates/{ubuntu-10.04.2-server-amd64-alt → ubuntu-10.04.3-server-amd64-alt}/definition.rb +6 -6
  157. data/templates/{ubuntu-10.04.2-server-amd64-alt → ubuntu-10.04.3-server-amd64-alt}/postinstall.sh +1 -1
  158. data/templates/{ubuntu-10.04.2-server-amd64-alt → ubuntu-10.04.3-server-amd64-alt}/preseed.cfg +0 -0
  159. data/templates/{ubuntu-10.04.2-server-amd64 → ubuntu-10.04.3-server-amd64}/definition.rb +3 -6
  160. data/templates/{ubuntu-10.04.2-server-amd64 → ubuntu-10.04.3-server-amd64}/postinstall.sh +1 -1
  161. data/templates/{ubuntu-10.04.2-server-amd64 → ubuntu-10.04.3-server-amd64}/preseed.cfg +0 -0
  162. data/templates/{ubuntu-10.04.2-server-i386 → ubuntu-10.04.3-server-i386}/definition.rb +4 -4
  163. data/templates/{ubuntu-10.04.2-server-i386 → ubuntu-10.04.3-server-i386}/postinstall.sh +1 -1
  164. data/templates/{ubuntu-10.04.2-server-i386 → ubuntu-10.04.3-server-i386}/preseed.cfg +0 -0
  165. data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +1 -1
  166. data/templates/ubuntu-10.10-server-amd64/postinstall.sh +1 -1
  167. data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +1 -1
  168. data/templates/ubuntu-10.10-server-i386/postinstall.sh +1 -1
  169. data/templates/ubuntu-11.04-server-amd64/postinstall.sh +7 -1
  170. data/templates/ubuntu-11.04-server-i386/definition.rb +1 -1
  171. data/templates/ubuntu-11.04-server-i386/postinstall.sh +1 -1
  172. data/templates/ubuntu-11.10-server-amd64-ishaya/definition.rb +24 -0
  173. data/templates/{Debian-6.0.2-amd64-netboot → ubuntu-11.10-server-amd64-ishaya}/postinstall.sh +42 -23
  174. data/templates/ubuntu-11.10-server-amd64-ishaya/preseed.cfg +87 -0
  175. data/templates/ubuntu-11.10-server-amd64-ruby192/definition.rb +24 -0
  176. data/templates/ubuntu-11.10-server-amd64-ruby192/postinstall.sh +90 -0
  177. data/templates/ubuntu-11.10-server-amd64-ruby192/preseed.cfg +87 -0
  178. data/templates/ubuntu-11.10-server-amd64/definition.rb +35 -0
  179. data/templates/ubuntu-11.10-server-amd64/postinstall.sh +88 -0
  180. data/templates/ubuntu-11.10-server-amd64/preseed.cfg +87 -0
  181. data/templates/ubuntu-11.10-server-i386/definition.rb +35 -0
  182. data/templates/ubuntu-11.10-server-i386/postinstall.sh +88 -0
  183. data/templates/ubuntu-11.10-server-i386/preseed.cfg +87 -0
  184. data/templates/ubuntu-8.04.4-server-amd64/definition.rb +1 -0
  185. data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +8 -7
  186. data/templates/ubuntu-8.04.4-server-amd64/preseed.cfg +0 -1
  187. data/templates/ubuntu-8.04.4-server-i386/definition.rb +1 -1
  188. data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +25 -3
  189. data/templates/windows-2008R1-serverstandard-amd64/Autounattend.xml +146 -0
  190. data/templates/windows-2008R1-serverstandard-amd64/README.md +134 -0
  191. data/templates/windows-2008R1-serverstandard-amd64/cygwin-setup.exe +0 -0
  192. data/templates/windows-2008R1-serverstandard-amd64/definition.rb +114 -0
  193. data/templates/windows-2008R1-serverstandard-amd64/install-cygwin-sshd.bat +40 -0
  194. data/templates/windows-2008R1-serverstandard-amd64/install-guest-additions.bat +5 -0
  195. data/templates/windows-2008R1-serverstandard-amd64/install-winrm.bat +14 -0
  196. data/templates/windows-2008R1-serverstandard-amd64/oracle-cert.cer +0 -0
  197. data/templates/windows-2008R1-serverstandard-amd64/postinstall.sh +74 -0
  198. data/templates/windows-2008R1-serverstandard-amd64/sudo +2 -0
  199. data/templates/windows-2008R1-serverstandard-amd64/winrm.rb +8 -0
  200. data/templates/windows-2008R2-amd64/cygwin-setup.exe +0 -0
  201. data/templates/windows-2008R2-amd64/install-winrm.bat +2 -0
  202. data/templates/windows-2008R2-amd64/postinstall.sh +1 -1
  203. data/templates/windows-2008R2-serverstandard-amd64/Autounattend.xml +147 -0
  204. data/templates/windows-2008R2-serverstandard-amd64/README.md +142 -0
  205. data/templates/windows-2008R2-serverstandard-amd64/definition.rb +44 -0
  206. data/templates/windows-2008R2-serverstandard-amd64/install-cygwin-sshd.bat +41 -0
  207. data/templates/windows-2008R2-serverstandard-amd64/install-winrm.bat +11 -0
  208. data/templates/windows-2008R2-serverstandard-amd64/oracle-cert.cer +0 -0
  209. data/templates/windows-2008R2-serverstandard-amd64/postinstall.sh +74 -0
  210. data/templates/windows-7-enterprise-amd64/Autounattend.xml +149 -0
  211. data/templates/windows-7-enterprise-amd64/README.md +52 -0
  212. data/templates/windows-7-enterprise-amd64/definition.rb +39 -0
  213. data/templates/windows-7-enterprise-amd64/install-cygwin-sshd.bat +40 -0
  214. data/templates/windows-7-enterprise-amd64/install-winrm.bat +14 -0
  215. data/templates/windows-7-enterprise-amd64/oracle-cert.cer +0 -0
  216. data/templates/windows-7-enterprise-amd64/postinstall.sh +74 -0
  217. data/templates/windows-7-enterprise-i386/Autounattend.xml +151 -0
  218. data/templates/windows-7-enterprise-i386/README.md +169 -0
  219. data/templates/windows-7-enterprise-i386/definition.rb +40 -0
  220. data/templates/windows-7-enterprise-i386/install-cygwin-sshd.bat +40 -0
  221. data/templates/windows-7-enterprise-i386/install-winrm.bat +14 -0
  222. data/templates/windows-7-enterprise-i386/oracle-cert.cer +0 -0
  223. data/templates/windows-7-enterprise-i386/postinstall.sh +74 -0
  224. data/templates/windows-7-premium-amd64/Autounattend.xml +152 -0
  225. data/templates/windows-7-premium-amd64/README.md +171 -0
  226. data/templates/windows-7-premium-amd64/definition.rb +38 -0
  227. data/templates/windows-7-premium-amd64/install-chefclient.bat +44 -0
  228. data/templates/windows-7-premium-amd64/install-winrm.bat +11 -0
  229. data/templates/windows-7-premium-amd64/oracle-cert.cer +0 -0
  230. data/templates/windows-7-premium-amd64/postinstall.sh +124 -0
  231. data/templates/windows-7-premium-amd64/winrm.rb +8 -0
  232. data/templates/windows-7-professional-amd64/Autounattend.xml +152 -0
  233. data/templates/windows-7-professional-amd64/README.md +171 -0
  234. data/templates/windows-7-professional-amd64/definition.rb +41 -0
  235. data/templates/windows-7-professional-amd64/install-cygwin-sshd.bat +40 -0
  236. data/templates/windows-7-professional-amd64/install-winrm.bat +14 -0
  237. data/templates/windows-7-professional-amd64/oracle-cert.cer +0 -0
  238. data/templates/windows-7-professional-amd64/postinstall.sh +74 -0
  239. data/templates/windows-7-ultimate-amd64/Autounattend.xml +152 -0
  240. data/templates/windows-7-ultimate-amd64/README.md +89 -0
  241. data/templates/windows-7-ultimate-amd64/definition.rb +41 -0
  242. data/templates/windows-7-ultimate-amd64/install-cygwin-sshd.bat +40 -0
  243. data/templates/windows-7-ultimate-amd64/install-winrm.bat +14 -0
  244. data/templates/windows-7-ultimate-amd64/oracle-cert.cer +0 -0
  245. data/templates/windows-7-ultimate-amd64/postinstall.sh +74 -0
  246. data/templates/windows-7sp1-ultimate-amd64/Autounattend.xml +152 -0
  247. data/templates/windows-7sp1-ultimate-amd64/README.md +89 -0
  248. data/templates/windows-7sp1-ultimate-amd64/definition.rb +42 -0
  249. data/templates/windows-7sp1-ultimate-amd64/install-cygwin-sshd.bat +40 -0
  250. data/templates/windows-7sp1-ultimate-amd64/install-winrm.bat +14 -0
  251. data/templates/windows-7sp1-ultimate-amd64/oracle-cert.cer +0 -0
  252. data/templates/windows-7sp1-ultimate-amd64/postinstall.sh +74 -0
  253. data/templates/windows-8-preview-dev-amd64/Autounattend.xml +140 -0
  254. data/templates/windows-8-preview-dev-amd64/README.md +134 -0
  255. data/templates/windows-8-preview-dev-amd64/cygwin-setup.exe +0 -0
  256. data/templates/windows-8-preview-dev-amd64/definition.rb +114 -0
  257. data/templates/windows-8-preview-dev-amd64/install-cygwin-sshd.bat +38 -0
  258. data/templates/windows-8-preview-dev-amd64/install-winrm.bat +11 -0
  259. data/templates/windows-8-preview-dev-amd64/oracle-cert.cer +0 -0
  260. data/templates/windows-8-preview-dev-amd64/postinstall.sh +122 -0
  261. data/templates/windows-8-preview-dev-amd64/winrm.rb +8 -0
  262. data/validation/features/steps/ssh_steps.rb +1 -1
  263. data/validation/vagrant.feature +35 -35
  264. data/veewee.gemspec +9 -8
  265. metadata +247 -82
  266. data/.gitignore +0 -15
  267. data/Gemfile +0 -3
  268. data/Gemfile.lock +0 -69
  269. data/HeSYINUvSBZfxqA-veewee.gemspec +0 -33
  270. data/vendor/cache/Platform-0.4.0.gem +0 -0
  271. data/vendor/cache/archive-tar-minitar-0.5.2.gem +0 -0
  272. data/vendor/cache/builder-3.0.0.gem +0 -0
  273. data/vendor/cache/cucumber-1.0.2.gem +0 -0
  274. data/vendor/cache/diff-lcs-1.1.2.gem +0 -0
  275. data/vendor/cache/erubis-2.7.0.gem +0 -0
  276. data/vendor/cache/ffi-1.0.9.gem +0 -0
  277. data/vendor/cache/gherkin-2.4.6.gem +0 -0
  278. data/vendor/cache/highline-1.6.2.gem +0 -0
  279. data/vendor/cache/i18n-0.5.0.gem +0 -0
  280. data/vendor/cache/json-1.5.3.gem +0 -0
  281. data/vendor/cache/net-scp-1.0.4.gem +0 -0
  282. data/vendor/cache/net-ssh-2.1.4.gem +0 -0
  283. data/vendor/cache/open4-1.1.0.gem +0 -0
  284. data/vendor/cache/popen4-0.1.2.gem +0 -0
  285. data/vendor/cache/progressbar-0.9.1.gem +0 -0
  286. data/vendor/cache/rspec-2.5.0.gem +0 -0
  287. data/vendor/cache/rspec-core-2.5.2.gem +0 -0
  288. data/vendor/cache/rspec-expectations-2.5.0.gem +0 -0
  289. data/vendor/cache/rspec-mocks-2.5.0.gem +0 -0
  290. data/vendor/cache/term-ansicolor-1.0.6.gem +0 -0
  291. data/vendor/cache/thor-0.14.6.gem +0 -0
  292. data/vendor/cache/vagrant-0.8.2.gem +0 -0
  293. data/vendor/cache/virtualbox-0.9.1.gem +0 -0
@@ -0,0 +1,37 @@
1
+ Veewee::Session.declare({
2
+ :os_type_id => 'OpenSUSE_64',
3
+ :cpu_count => '1',
4
+ :memory_size => '1024',
5
+ :disk_size => '20480',
6
+ :disk_format => 'VDI',
7
+ :hostiocache => 'off',
8
+ :iso_file => "SLES-11-SP1-DVD-x86_64-GM-DVD1.iso",
9
+ :iso_src => "",
10
+ :iso_md5 => "d2e10420f3689faa49a004b60fb396b7",
11
+ :iso_download_timeout => "1000",
12
+ :boot_wait => "10",
13
+ :boot_cmd_sequence => [
14
+ '<Esc><Enter>',
15
+ 'linux netdevice=eth0 netsetup=dhcp install=cd:/',
16
+ ' lang=en_US autoyast=http://%IP%:%PORT%/autoinst_en.xml',
17
+ ### disable prev line and enable next line to install with german settings
18
+ #' lang=de_DE autoyast=http://%IP%:%PORT%/autoinst_de.xml',
19
+ ' textmode=1',
20
+ '<Enter>'
21
+ ],
22
+ :kickstart_port => "7122",
23
+ :kickstart_timeout => "10000",
24
+ :kickstart_file => ["autoinst_en.xml", "autoinst_en.xml"],
25
+ ### disable prev line and enable next line to install with german settings
26
+ #:kickstart_file => ["autoinst_de.xml", "autoinst_de.xml"],
27
+ :ssh_login_timeout => "10000",
28
+ :ssh_user => "vagrant",
29
+ :ssh_password => "vagrant",
30
+ :ssh_key => "",
31
+ :ssh_host_port => "7222",
32
+ :ssh_guest_port => "22",
33
+ :sudo_cmd => "echo '%p'|sudo -S sh '%f'",
34
+ :shutdown_cmd => "shutdown -P now",
35
+ :postinstall_files => ["postinstall.sh"],
36
+ :postinstall_timeout => "10000"
37
+ })
@@ -0,0 +1,43 @@
1
+ #
2
+ # postinstall.sh
3
+ #
4
+
5
+ date > /etc/vagrant_box_build_time
6
+
7
+ # install vagrant key
8
+ echo -e "\ninstall vagrant key ..."
9
+ mkdir -m 0700 /home/vagrant/.ssh
10
+ cd /home/vagrant/.ssh
11
+ wget --no-check-certificate -O authorized_keys https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub
12
+ chmod 0600 /home/vagrant/.ssh/authorized_keys
13
+ chown -R vagrant.users /home/vagrant/.ssh
14
+
15
+ # update sudoers
16
+ echo -e "\nupdate sudoers ..."
17
+ echo -e "\n# added by veewee/postinstall.sh" >> /etc/sudoers
18
+ echo -e "vagrant ALL=(ALL) NOPASSWD: ALL\n" >> /etc/sudoers
19
+
20
+ # speed-up remote logins
21
+ echo -e "\nspeed-up remote logins ..."
22
+ echo -e "\n# added by veewee/postinstall.sh" >> /etc/ssh/sshd_config
23
+ echo -e "UseDNS no\n" >> /etc/ssh/sshd_config
24
+
25
+ # install chef and puppet
26
+ echo -e "\ninstall chef and puppet ..."
27
+ gem install chef --no-ri --no-rdoc
28
+ gem install puppet --no-ri --no-rdoc
29
+
30
+ # install the virtualbox guest additions
31
+ echo -e "\ninstall the virtualbox guest additions ..."
32
+ zypper --non-interactive remove `rpm -qa virtualbox-guest-*` >/dev/null 2>&1
33
+ VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
34
+ cd /tmp
35
+ wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
36
+ #wget http://192.168.178.10/VBoxGuestAdditions_$VBOX_VERSION.iso
37
+ mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
38
+ sh /mnt/VBoxLinuxAdditions.run
39
+ umount /mnt
40
+ rm -f VBoxGuestAdditions_$VBOX_VERSION.iso
41
+
42
+ echo -e "\nall done.\n"
43
+ exit
@@ -0,0 +1,28 @@
1
+ # Archlinux AIF config file
2
+ # created by Dave Simons
3
+ # 21/09/2011
4
+
5
+ # install source
6
+ SOURCE=net
7
+ if [ -d /repo/core ]; then
8
+ TARGET_REPOSITORIES=(core 'file:///repo/$repo/$arch')
9
+ else
10
+ MIRROR='http://archlinux.mirror.kangaroot.net/$repo/os/$arch'
11
+ TARGET_REPOSITORIES=(core $var_MIRRORLIST extra $var_MIRRORLIST community $var_MIRRORLIST)
12
+ fi
13
+
14
+ # time/date
15
+ HARDWARECLOCK=localtime
16
+ TIMEZONE=Europe/Brussels
17
+
18
+ # packages to install
19
+ TARGET_GROUPS=base
20
+ TARGET_PACKAGES='sudo openssh vim libyaml ruby linux-headers make gcc glibc git perl net-tools'
21
+ TARGET_PACKAGES_EXCLUDE='nano emacs wpa_supplicant xfsprogs reiserfsprogs pcmciautils mdadm jfsutils cryptsetup lvm2'
22
+
23
+ # hard drive setup
24
+ GRUB_DEVICE='/dev/sda'
25
+ PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4'
26
+ BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
27
+ /dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
28
+ /dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params'
@@ -0,0 +1,26 @@
1
+ Veewee::Session.declare({
2
+ :cpu_count => '1', :memory_size=> '256',
3
+ :disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
4
+ :os_type_id => 'ArchLinux',
5
+ :iso_file => "archlinux-2011.08.19-netinstall-i686.iso",
6
+ :iso_src => "http://archlinux.mirror.kangaroot.net/iso/2011.08.19/archlinux-2011.08.19-netinstall-i686.iso",
7
+ :iso_md5 => "c3f7e10d040eac1da0efe68fb2f64d5b",
8
+ :iso_download_timeout => "1000",
9
+ :boot_wait => "5", :boot_cmd_sequence => [
10
+ '<Enter>',
11
+ '<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
12
+ '<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
13
+ 'dhcpcd eth0<Enter><Wait><Wait><Wait><Wait>',
14
+ 'passwd<Enter>',
15
+ 'vagrant<Enter>',
16
+ 'vagrant<Enter>',
17
+ '/etc/rc.d/sshd start<Enter><Wait>',
18
+ 'sleep 3 && wget 10.0.2.2:7122/aif.cfg<Enter>',
19
+ ],
20
+ :kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "aif.cfg",
21
+ :ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
22
+ :ssh_host_port => "7222", :ssh_guest_port => "22",
23
+ :sudo_cmd => "sh '%f'",
24
+ :shutdown_cmd => "shutdown -h now",
25
+ :postinstall_files => [ "postinstall.sh", "postinstall2.sh"], :postinstall_timeout => "10000"
26
+ })
@@ -0,0 +1,75 @@
1
+ #!/bin/bash
2
+
3
+ # var to determine package source
4
+ PKGSRC=net
5
+
6
+ date > /etc/vagrant_box_build_time
7
+
8
+ # launch automated install
9
+ su -c 'aif -p automatic -c aif.cfg'
10
+
11
+ # copy over the vbox version file
12
+ /bin/cp -f /root/.vbox_version /mnt/root/.vbox_version
13
+
14
+ # chroot into the new system
15
+ mount -o bind /dev /mnt/dev
16
+ mount -o bind /sys /mnt/sys
17
+ mount -t proc none /mnt/proc
18
+ chroot /mnt <<ENDCHROOT
19
+
20
+ # make sure network is up and a nameserver is available
21
+ dhcpcd eth0
22
+
23
+ # sudo setup
24
+ # note: do not use tabs here, it autocompletes and borks the sudoers file
25
+ cat <<EOF > /etc/sudoers
26
+ root ALL=(ALL) ALL
27
+ %wheel ALL=(ALL) NOPASSWD: ALL
28
+ EOF
29
+
30
+ # set up user accounts
31
+ passwd<<EOF
32
+ vagrant
33
+ vagrant
34
+ EOF
35
+ useradd -m -G wheel -r vagrant
36
+ passwd -d vagrant
37
+ passwd vagrant<<EOF
38
+ vagrant
39
+ vagrant
40
+ EOF
41
+
42
+ # create puppet group
43
+ groupadd puppet
44
+
45
+ # make sure sshd starts
46
+ sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
47
+
48
+ # install mitchellh's ssh key
49
+ mkdir /home/vagrant/.ssh
50
+ chmod 700 /home/vagrant/.ssh
51
+ wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
52
+ chmod 600 /home/vagrant/.ssh/authorized_keys
53
+ chown -R vagrant /home/vagrant/.ssh
54
+
55
+ # choose a mirror
56
+ sed -i 's/^#\(.*leaseweb.*\)/\1/' /etc/pacman.d/mirrorlist
57
+
58
+ # install some packages
59
+ gem install --no-ri --no-rdoc chef facter
60
+ cd /tmp
61
+ git clone https://github.com/puppetlabs/puppet.git
62
+ cd puppet
63
+ ruby install.rb --bindir=/usr/bin --sbindir=/sbin 2>/dev/null
64
+
65
+ # set up networking
66
+ [[ $PKGSRC == 'net' ]] && sed -i 's/^\(interface=*\)/\1eth0/' /etc/rc.conf
67
+
68
+ # leave the chroot
69
+ ENDCHROOT
70
+
71
+ # take down network to prevent next postinstall.sh from starting too soon
72
+ /etc/rc.d/network stop
73
+
74
+ # and reboot!
75
+ reboot
@@ -0,0 +1,30 @@
1
+ # install virtualbox guest additions
2
+ VBOX_VERSION=$(cat /root/.vbox_version)
3
+ cd /tmp
4
+ wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
5
+ mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
6
+ sh /mnt/VBoxLinuxAdditions.run
7
+ umount /mnt
8
+ rm VBoxGuestAdditions_"$VBOX_VERSION".iso
9
+
10
+ # host-only networking
11
+ cat >> /etc/rc.local <<EOF
12
+ # enable DHCP at boot on eth0
13
+ # See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
14
+ dhcpcd -k eth0
15
+ dhcpcd -nd eth0
16
+ EOF
17
+
18
+ # clean out pacman cache
19
+ pacman -Scc<<EOF
20
+ y
21
+ y
22
+ EOF
23
+
24
+ # zero out the fs
25
+ dd if=/dev/zero of=/clean bs=4M|| rm /clean
26
+ dd if=/dev/zero of=/tmp/clean bs=4M|| rm /tmp/clean
27
+ dd if=/dev/zero of=/boot/clean bs=4M|| rm /boot/clean
28
+
29
+ # and the final reboot!
30
+ #reboot
@@ -37,6 +37,9 @@ vagrant
37
37
  vagrant
38
38
  EOF
39
39
 
40
+ # create puppet group
41
+ groupadd puppet
42
+
40
43
  # make sure ssh is allowed
41
44
  echo "sshd: ALL" > /etc/hosts.allow
42
45
 
@@ -49,7 +52,7 @@ sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
49
52
  # install mitchellh's ssh key
50
53
  mkdir /home/vagrant/.ssh
51
54
  chmod 700 /home/vagrant/.ssh
52
- wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
55
+ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
53
56
  chmod 600 /home/vagrant/.ssh/authorized_keys
54
57
  chown -R vagrant /home/vagrant/.ssh
55
58
 
@@ -80,6 +83,14 @@ sh /mnt/VBoxLinuxAdditions.run
80
83
  umount /mnt
81
84
  rm VBoxGuestAdditions_"$VBOX_VERSION".iso
82
85
 
86
+ # host-only networking
87
+ cat <<EOF
88
+ # enable DHCP at boot on eth0
89
+ # See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
90
+ dhcpcd -k eth0
91
+ dhcpcd -nd eth0
92
+ EOF >> /etc/rc.local
93
+
83
94
  # clean out pacman cache
84
95
  pacman -Scc<<EOF
85
96
  y
@@ -0,0 +1,28 @@
1
+ # Archlinux AIF config file
2
+ # created by Dave Simons
3
+ # 21/09/2011
4
+
5
+ # install source
6
+ SOURCE=net
7
+ if [ -d /repo/core ]; then
8
+ TARGET_REPOSITORIES=(core 'file:///repo/$repo/$arch')
9
+ else
10
+ MIRROR='http://archlinux.mirror.kangaroot.net/$repo/os/$arch'
11
+ TARGET_REPOSITORIES=(core $var_MIRRORLIST extra $var_MIRRORLIST)
12
+ fi
13
+
14
+ # time/date
15
+ HARDWARECLOCK=localtime
16
+ TIMEZONE=Europe/Brussels
17
+
18
+ # packages to install
19
+ TARGET_GROUPS=base
20
+ TARGET_PACKAGES='sudo openssh vim ruby linux-headers make gcc glibc git perl net-tools'
21
+ TARGET_PACKAGES_EXCLUDE='nano emacs wpa_supplicant xfsprogs reiserfsprogs pcmciautils mdadm jfsutils cryptsetup lvm2'
22
+
23
+ # hard drive setup
24
+ GRUB_DEVICE='/dev/sda'
25
+ PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4'
26
+ BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
27
+ /dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
28
+ /dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params'
@@ -0,0 +1,26 @@
1
+ Veewee::Session.declare({
2
+ :cpu_count => '1', :memory_size=> '256',
3
+ :disk_size => '10140', :disk_format => 'VDI',:hostiocache => 'off',
4
+ :os_type_id => 'ArchLinux_64',
5
+ :iso_file => "archlinux-2011.08.19-netinstall-x86_64.iso",
6
+ :iso_src => "http://archlinux.mirror.kangaroot.net/iso/2011.08.19/archlinux-2011.08.19-netinstall-x86_64.iso",
7
+ :iso_md5 => "03a328dfd7a2f901995d77bcf645130c",
8
+ :iso_download_timeout => "1000",
9
+ :boot_wait => "5", :boot_cmd_sequence => [
10
+ '<Enter>',
11
+ '<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
12
+ '<Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait><Wait>',
13
+ 'dhcpcd eth0<Enter><Wait><Wait><Wait><Wait>',
14
+ 'passwd<Enter>',
15
+ 'vagrant<Enter>',
16
+ 'vagrant<Enter>',
17
+ '/etc/rc.d/sshd start<Enter><Wait>',
18
+ 'sleep 3 && wget 10.0.2.2:7122/aif.cfg<Enter>',
19
+ ],
20
+ :kickstart_port => "7122", :kickstart_timeout => "10000", :kickstart_file => "aif.cfg",
21
+ :ssh_login_timeout => "10000", :ssh_user => "root", :ssh_password => "vagrant", :ssh_key => "",
22
+ :ssh_host_port => "7222", :ssh_guest_port => "22",
23
+ :sudo_cmd => "sh '%f'",
24
+ :shutdown_cmd => "shutdown -h now",
25
+ :postinstall_files => [ "postinstall.sh", "postinstall2.sh"], :postinstall_timeout => "10000"
26
+ })
@@ -0,0 +1,75 @@
1
+ #!/bin/bash
2
+
3
+ # var to determine package source
4
+ PKGSRC=net
5
+
6
+ date > /etc/vagrant_box_build_time
7
+
8
+ # launch automated install
9
+ su -c 'aif -p automatic -c aif.cfg'
10
+
11
+ # copy over the vbox version file
12
+ /bin/cp -f /root/.vbox_version /mnt/root/.vbox_version
13
+
14
+ # chroot into the new system
15
+ mount -o bind /dev /mnt/dev
16
+ mount -o bind /sys /mnt/sys
17
+ mount -t proc none /mnt/proc
18
+ chroot /mnt <<ENDCHROOT
19
+
20
+ # make sure network is up and a nameserver is available
21
+ dhcpcd eth0
22
+
23
+ # sudo setup
24
+ # note: do not use tabs here, it autocompletes and borks the sudoers file
25
+ cat <<EOF > /etc/sudoers
26
+ root ALL=(ALL) ALL
27
+ %wheel ALL=(ALL) NOPASSWD: ALL
28
+ EOF
29
+
30
+ # set up user accounts
31
+ passwd<<EOF
32
+ vagrant
33
+ vagrant
34
+ EOF
35
+ useradd -m -G wheel -r vagrant
36
+ passwd -d vagrant
37
+ passwd vagrant<<EOF
38
+ vagrant
39
+ vagrant
40
+ EOF
41
+
42
+ # create puppet group
43
+ groupadd puppet
44
+
45
+ # make sure sshd starts
46
+ sed -i 's:^DAEMONS\(.*\))$:DAEMONS\1 sshd):' /etc/rc.conf
47
+
48
+ # install mitchellh's ssh key
49
+ mkdir /home/vagrant/.ssh
50
+ chmod 700 /home/vagrant/.ssh
51
+ wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
52
+ chmod 600 /home/vagrant/.ssh/authorized_keys
53
+ chown -R vagrant /home/vagrant/.ssh
54
+
55
+ # choose a mirror
56
+ sed -i 's/^#\(.*leaseweb.*\)/\1/' /etc/pacman.d/mirrorlist
57
+
58
+ # install some packages
59
+ gem install --no-ri --no-rdoc chef facter
60
+ cd /tmp
61
+ git clone https://github.com/puppetlabs/puppet.git
62
+ cd puppet
63
+ ruby install.rb --bindir=/usr/bin --sbindir=/sbin 2>/dev/null
64
+
65
+ # set up networking
66
+ [[ $PKGSRC == 'net' ]] && sed -i 's/^\(interface=*\)/\1eth0/' /etc/rc.conf
67
+
68
+ # leave the chroot
69
+ ENDCHROOT
70
+
71
+ # take down network to prevent next postinstall.sh from starting too soon
72
+ /etc/rc.d/network stop
73
+
74
+ # and reboot!
75
+ reboot
@@ -0,0 +1,30 @@
1
+ # install virtualbox guest additions
2
+ VBOX_VERSION=$(cat /root/.vbox_version)
3
+ cd /tmp
4
+ wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso
5
+ mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
6
+ sh /mnt/VBoxLinuxAdditions.run
7
+ umount /mnt
8
+ rm VBoxGuestAdditions_"$VBOX_VERSION".iso
9
+
10
+ # host-only networking
11
+ cat >> /etc/rc.local <<EOF
12
+ # enable DHCP at boot on eth0
13
+ # See https://wiki.archlinux.org/index.php/Network#DHCP_fails_at_boot
14
+ dhcpcd -k eth0
15
+ dhcpcd -nd eth0
16
+ EOF
17
+
18
+ # clean out pacman cache
19
+ pacman -Scc<<EOF
20
+ y
21
+ y
22
+ EOF
23
+
24
+ # zero out the fs
25
+ dd if=/dev/zero of=/clean bs=4M|| rm /clean
26
+ dd if=/dev/zero of=/tmp/clean bs=4M|| rm /tmp/clean
27
+ dd if=/dev/zero of=/boot/clean bs=4M|| rm /boot/clean
28
+
29
+ # and the final reboot!
30
+ #reboot