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,60 @@
1
+ #http://chrisadams.me.uk/2010/05/10/setting-up-a-centos-base-box-for-development-and-testing-with-vagrant/
2
+
3
+ date > /etc/vagrant_box_build_time
4
+
5
+ fail()
6
+ {
7
+ echo "FATAL: $*"
8
+ exit 1
9
+ }
10
+
11
+ #kernel source is needed for vbox additions
12
+ yum -y install gcc bzip2 make kernel-devel-`uname -r`
13
+ #yum -y update
14
+ #yum -y upgrade
15
+
16
+ yum -y install gcc-c++ zlib-devel openssl-devel readline-devel sqlite3-devel
17
+ yum -y erase gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts
18
+ yum -y clean all
19
+
20
+ #Installing ruby
21
+ cd /tmp
22
+ wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz || fail "Could not download Ruby source"
23
+ tar xzvf ruby-1.9.2-p180.tar.gz
24
+ cd ruby-1.9.2-p180
25
+ ./configure
26
+ make && make install
27
+ cd /tmp
28
+ rm -rf /tmp/ruby-1.9.2-p180
29
+ rm /tmp/ruby-1.9.2-p180.tar.gz
30
+ ln -s /usr/local/bin/ruby /usr/bin/ruby # Create a sym link for the same path
31
+ ln -s /usr/local/bin/gem /usr/bin/gem # Create a sym link for the same path
32
+
33
+ #Installing chef & Puppet
34
+ echo "Installing chef and puppet"
35
+ /usr/local/bin/gem install chef --no-ri --no-rdoc || fail "Could not install chef"
36
+ /usr/local/bin/gem install puppet --no-ri --no-rdoc || fail "Could not install puppet"
37
+
38
+ #Installing vagrant keys
39
+ mkdir /home/vagrant/.ssh
40
+ chmod 700 /home/vagrant/.ssh
41
+ cd /home/vagrant/.ssh
42
+ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
43
+ chown -R vagrant /home/vagrant/.ssh
44
+
45
+ #Installing the virtualbox guest additions
46
+ VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
47
+ cd /tmp
48
+ wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
49
+ mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
50
+ sh /mnt/VBoxLinuxAdditions.run
51
+ umount /mnt
52
+
53
+ rm VBoxGuestAdditions_$VBOX_VERSION.iso
54
+
55
+ sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
56
+ sed -i "s/^\(.*env_keep = \"\)/\1PATH /" /etc/sudoers
57
+
58
+ #poweroff -h
59
+
60
+ exit
@@ -22,7 +22,7 @@ firstboot --disabled
22
22
  reboot
23
23
 
24
24
  repo --name=epel --baseurl=http://download.fedora.redhat.com/pub/epel/6/i386/ --includepkgs='ruby-augeas,ruby-shadow'
25
- repo --name=puppetlabs --baseurl=http://stahnma.fedorapeople.org/puppetlabs/6/i386 --includepkgs='puppet,facter'
25
+ repo --name=puppetlabs --baseurl=http://yum.puppetlabs.com/el/6/products/i386 --includepkgs='puppet,facter'
26
26
 
27
27
  %packages
28
28
  @ core
@@ -11,7 +11,7 @@ gem install --no-ri --no-rdoc chef
11
11
  mkdir /home/vagrant/.ssh
12
12
  chmod 700 /home/vagrant/.ssh
13
13
  cd /home/vagrant/.ssh
14
- wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
14
+ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
15
15
  chown -R vagrant /home/vagrant/.ssh
16
16
 
17
17
  # Installing the virtualbox guest additions
@@ -5,7 +5,7 @@ date > /etc/vagrant_box_build_time
5
5
  cat > /etc/yum.repos.d/puppetlabs.repo << EOM
6
6
  [puppetlabs]
7
7
  name=puppetlabs
8
- baseurl=http://stahnma.fedorapeople.org/puppetlabs/6/\$basearch
8
+ baseurl=http://yum.puppetlabs.com/el/6/products/\$basearch
9
9
  enabled=1
10
10
  gpgcheck=0
11
11
  EOM
@@ -29,7 +29,7 @@ gem install --no-ri --no-rdoc chef
29
29
  mkdir /home/vagrant/.ssh
30
30
  chmod 700 /home/vagrant/.ssh
31
31
  cd /home/vagrant/.ssh
32
- wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
32
+ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
33
33
  chown -R vagrant /home/vagrant/.ssh
34
34
 
35
35
  # Installing the virtualbox guest additions
@@ -0,0 +1,17 @@
1
+ Veewee::Session.declare({
2
+ :cpu_count => '1', :memory_size=> '384',
3
+ :disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
4
+ :os_type_id => 'RedHat_64',
5
+ :iso_file => "CentOS-6.0-x86_64-minimal.iso", :iso_src => "http://vault.centos.org/6.0/isos/x86_64/CentOS-6.0-x86_64-minimal.iso", :iso_md5 => "b9fff4dad7aad0edaa564d7a251cb971", :iso_download_timeout => 1000,
6
+ :iso_download_instructions => "We can not download the ISO , you need to download it yourself and put it in the iso directory\n"+
7
+ "- URL: http://isoredirect.centos.org/centos/6/isos/x86_64/ ",
8
+ :boot_wait => "10", :boot_cmd_sequence => [
9
+ '<Tab> text ks=http://%IP%:%PORT%/ks.cfg<Enter>'
10
+ ],
11
+ :kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "ks.cfg",
12
+ :ssh_login_timeout => "100", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
13
+ :ssh_host_port => "7222", :ssh_guest_port => "22",
14
+ :sudo_cmd => "echo '%p'|sudo -S sh '%f'",
15
+ :shutdown_cmd => "/sbin/halt -h -p",
16
+ :postinstall_files => [ "postinstall.sh"], :postinstall_timeout => 10000
17
+ })
@@ -0,0 +1,37 @@
1
+ install
2
+ cdrom
3
+ lang en_US.UTF-8
4
+ keyboard us
5
+ network --bootproto=dhcp
6
+ rootpw --iscrypted $1$damlkd,f$UC/u5pUts5QiU3ow.CSso/
7
+ firewall --enabled --service=ssh
8
+ authconfig --enableshadow --passalgo=sha512
9
+ selinux --disabled
10
+ timezone Europe/Brussels
11
+ bootloader --location=mbr
12
+
13
+ text
14
+ skipx
15
+ zerombr
16
+
17
+ clearpart --all --initlabel
18
+ autopart
19
+
20
+ auth --useshadow --enablemd5
21
+ firstboot --disabled
22
+ reboot
23
+
24
+ %packages --ignoremissing
25
+ @core
26
+ bzip2
27
+
28
+ -ipw2100-firmware
29
+ -ipw2200-firmware
30
+ -ivtv-firmware
31
+
32
+ %post
33
+ /usr/bin/yum -y install sudo
34
+ /usr/sbin/groupadd vagrant
35
+ /usr/sbin/useradd vagrant -g vagrant -G wheel
36
+ echo "vagrant"|passwd --stdin vagrant
37
+ echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
@@ -0,0 +1,58 @@
1
+ #http://chrisadams.me.uk/2010/05/10/setting-up-a-centos-base-box-for-development-and-testing-with-vagrant/
2
+
3
+ date > /etc/vagrant_box_build_time
4
+
5
+ yum -y install gcc make gcc-c++ ruby zlib-devel openssl-devel readline-devel sqlite-devel perl
6
+
7
+ cat > /etc/yum.repos.d/puppetlabs.repo << EOM
8
+ [puppetlabs]
9
+ name=puppetlabs
10
+ baseurl=http://yum.puppetlabs.com/el/6/products/\$basearch
11
+ enabled=1
12
+ gpgcheck=0
13
+ EOM
14
+
15
+ cat > /etc/yum.repos.d/epel.repo << EOM
16
+ [epel]
17
+ name=epel
18
+ baseurl=http://download.fedoraproject.org/pub/epel/6/\$basearch
19
+ enabled=1
20
+ gpgcheck=0
21
+ EOM
22
+
23
+ yum -y install dkms puppet facter ruby-devel rubygems
24
+ yum -y clean all
25
+ rm /etc/yum.repos.d/{puppetlabs,epel}.repo
26
+
27
+ gem install --no-ri --no-rdoc chef
28
+
29
+ # Installing vagrant keys
30
+ mkdir /home/vagrant/.ssh
31
+ chmod 700 /home/vagrant/.ssh
32
+ cd /home/vagrant/.ssh
33
+ echo "Installing authorized keys for vagrant user"
34
+ curl --silent -L -o authorized_keys https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub
35
+ chown -R vagrant /home/vagrant/.ssh
36
+
37
+ # Installing the virtualbox guest additions
38
+ VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
39
+ cd /tmp
40
+
41
+ #force install the correct kernel headers for this version of centos
42
+ echo "Retrieving and installing kernel-devel-2.6.32-71.el6.x86_64.rpm "
43
+ curl --silent -L -o kernel-devel-2.6.32-71.el6.x86_64.rpm http://vault.centos.org/6.0/os/x86_64/Packages/kernel-devel-2.6.32-71.el6.x86_64.rpm
44
+ sudo rpm -ivh --force kernel-devel-2.6.32-71.el6.x86_64.rpm
45
+
46
+ echo "Retrieving and installing VBoxGuestAdditions"
47
+ curl --silent -L -o VBoxGuestAdditions_$VBOX_VERSION.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
48
+ mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
49
+ sh /mnt/VBoxLinuxAdditions.run
50
+ umount /mnt
51
+
52
+ rm VBoxGuestAdditions_$VBOX_VERSION.iso
53
+
54
+ sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
55
+
56
+ dd if=/dev/zero of=/tmp/clean || rm /tmp/clean
57
+
58
+ exit
@@ -22,7 +22,7 @@ firstboot --disabled
22
22
  reboot
23
23
 
24
24
  repo --name=epel --baseurl=http://download.fedora.redhat.com/pub/epel/6/x86_64/ --includepkgs='ruby-augeas,ruby-shadow'
25
- repo --name=puppetlabs --baseurl=http://stahnma.fedorapeople.org/puppetlabs/6/x86_64 --includepkgs='puppet,facter'
25
+ repo --name=puppetlabs --baseurl=http://yum.puppetlabs.com/el/6/products/x86_64 --includepkgs='puppet,facter'
26
26
 
27
27
  %packages
28
28
  @ core
@@ -11,7 +11,7 @@ gem install --no-ri --no-rdoc chef
11
11
  mkdir /home/vagrant/.ssh
12
12
  chmod 700 /home/vagrant/.ssh
13
13
  cd /home/vagrant/.ssh
14
- wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
14
+ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
15
15
  chown -R vagrant /home/vagrant/.ssh
16
16
 
17
17
  # Installing the virtualbox guest additions
@@ -5,7 +5,7 @@ date > /etc/vagrant_box_build_time
5
5
  cat > /etc/yum.repos.d/puppetlabs.repo << EOM
6
6
  [puppetlabs]
7
7
  name=puppetlabs
8
- baseurl=http://stahnma.fedorapeople.org/puppetlabs/6/\$basearch
8
+ baseurl=http://yum.puppetlabs.com/el/6/products/\$basearch
9
9
  enabled=1
10
10
  gpgcheck=0
11
11
  EOM
@@ -29,7 +29,7 @@ gem install --no-ri --no-rdoc chef
29
29
  mkdir /home/vagrant/.ssh
30
30
  chmod 700 /home/vagrant/.ssh
31
31
  cd /home/vagrant/.ssh
32
- wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
32
+ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
33
33
  chown -R vagrant /home/vagrant/.ssh
34
34
 
35
35
  # Installing the virtualbox guest additions
@@ -0,0 +1,15 @@
1
+ Veewee::Session.declare({
2
+ :cpu_count => '1', :memory_size=> '512',
3
+ :disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
4
+ :os_type_id => 'RedHat_64',
5
+ :iso_file => "CentOS-6.1-x86_64-minimal.iso", :iso_src => "http://mirror.internode.on.net/pub/centos/6.1/isos/x86_64/CentOS-6.1-x86_64-minimal.iso", :iso_md5 => "03177dfefb4ebfeb03f457c29f00b0a1", :iso_download_timeout => 1000,
6
+ :boot_wait => "10", :boot_cmd_sequence => [
7
+ '<Tab> text ks=http://%IP%:%PORT%/ks.cfg<Enter>'
8
+ ],
9
+ :kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "ks.cfg",
10
+ :ssh_login_timeout => "100", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
11
+ :ssh_host_port => "7222", :ssh_guest_port => "22",
12
+ :sudo_cmd => "echo '%p'|sudo -S sh '%f'",
13
+ :shutdown_cmd => "/sbin/halt -h -p",
14
+ :postinstall_files => [ "postinstall.sh"], :postinstall_timeout => 10000
15
+ })
@@ -0,0 +1,37 @@
1
+ install
2
+ cdrom
3
+ lang en_US.UTF-8
4
+ keyboard us
5
+ network --bootproto=dhcp
6
+ rootpw --iscrypted $1$damlkd,f$UC/u5pUts5QiU3ow.CSso/
7
+ firewall --enabled --service=ssh
8
+ authconfig --enableshadow --passalgo=sha512
9
+ selinux --disabled
10
+ timezone UTC
11
+ bootloader --location=mbr
12
+
13
+ text
14
+ skipx
15
+ zerombr
16
+
17
+ clearpart --all --initlabel
18
+ autopart
19
+
20
+ auth --useshadow --enablemd5
21
+ firstboot --disabled
22
+ reboot
23
+
24
+ %packages --ignoremissing
25
+ @core
26
+ bzip2
27
+
28
+ -ipw2100-firmware
29
+ -ipw2200-firmware
30
+ -ivtv-firmware
31
+
32
+ %post
33
+ /usr/bin/yum -y install sudo
34
+ /usr/sbin/groupadd vagrant
35
+ /usr/sbin/useradd vagrant -g vagrant -G wheel
36
+ echo "vagrant"|passwd --stdin vagrant
37
+ echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
@@ -0,0 +1,50 @@
1
+ #http://chrisadams.me.uk/2010/05/10/setting-up-a-centos-base-box-for-development-and-testing-with-vagrant/
2
+
3
+ date > /etc/vagrant_box_build_time
4
+
5
+ yum -y install gcc make gcc-c++ ruby kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel sqlite-devel perl
6
+
7
+ cat > /etc/yum.repos.d/puppetlabs.repo << EOM
8
+ [puppetlabs]
9
+ name=puppetlabs
10
+ baseurl=http://yum.puppetlabs.com/el/6/products/\$basearch
11
+ enabled=1
12
+ gpgcheck=0
13
+ EOM
14
+
15
+ cat > /etc/yum.repos.d/epel.repo << EOM
16
+ [epel]
17
+ name=epel
18
+ baseurl=http://download.fedoraproject.org/pub/epel/6/\$basearch
19
+ enabled=1
20
+ gpgcheck=0
21
+ EOM
22
+
23
+ yum -y install puppet facter ruby-devel rubygems
24
+ yum -y clean all
25
+ rm /etc/yum.repos.d/{puppetlabs,epel}.repo
26
+
27
+ gem install --no-ri --no-rdoc chef
28
+
29
+ # Installing vagrant keys
30
+ mkdir /home/vagrant/.ssh
31
+ chmod 700 /home/vagrant/.ssh
32
+ cd /home/vagrant/.ssh
33
+ curl -L -o authorized_keys https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub
34
+ chown -R vagrant /home/vagrant/.ssh
35
+
36
+ # Installing the virtualbox guest additions
37
+ VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
38
+ cd /tmp
39
+ curl -L -o VBoxGuestAdditions_$VBOX_VERSION.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
40
+ mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
41
+ sh /mnt/VBoxLinuxAdditions.run
42
+ umount /mnt
43
+
44
+ rm VBoxGuestAdditions_$VBOX_VERSION.iso
45
+
46
+ sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
47
+
48
+ dd if=/dev/zero of=/tmp/clean || rm /tmp/clean
49
+
50
+ exit
@@ -0,0 +1,15 @@
1
+ Veewee::Session.declare({
2
+ :cpu_count => '1', :memory_size=> '512',
3
+ :disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
4
+ :os_type_id => 'RedHat_64',
5
+ :iso_file => "CentOS-6.2-x86_64-minimal.iso", :iso_src => "http://mirror.internode.on.net/pub/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-minimal.iso", :iso_md5 => "20dac370a6e08ded2701e4104855bc6e", :iso_download_timeout => 1000,
6
+ :boot_wait => "10", :boot_cmd_sequence => [
7
+ '<Tab> text ks=http://%IP%:%PORT%/ks.cfg<Enter>'
8
+ ],
9
+ :kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "ks.cfg",
10
+ :ssh_login_timeout => "100", :ssh_user => "vagrant", :ssh_password => "vagrant", :ssh_key => "",
11
+ :ssh_host_port => "7222", :ssh_guest_port => "22",
12
+ :sudo_cmd => "echo '%p'|sudo -S sh '%f'",
13
+ :shutdown_cmd => "/sbin/halt -h -p",
14
+ :postinstall_files => [ "postinstall.sh"], :postinstall_timeout => 10000
15
+ })
@@ -0,0 +1,37 @@
1
+ install
2
+ cdrom
3
+ lang en_US.UTF-8
4
+ keyboard us
5
+ network --bootproto=dhcp
6
+ rootpw --iscrypted $1$damlkd,f$UC/u5pUts5QiU3ow.CSso/
7
+ firewall --enabled --service=ssh
8
+ authconfig --enableshadow --passalgo=sha512
9
+ selinux --disabled
10
+ timezone UTC
11
+ bootloader --location=mbr
12
+
13
+ text
14
+ skipx
15
+ zerombr
16
+
17
+ clearpart --all --initlabel
18
+ autopart
19
+
20
+ auth --useshadow --enablemd5
21
+ firstboot --disabled
22
+ reboot
23
+
24
+ %packages --ignoremissing
25
+ @core
26
+ bzip2
27
+
28
+ -ipw2100-firmware
29
+ -ipw2200-firmware
30
+ -ivtv-firmware
31
+
32
+ %post
33
+ /usr/bin/yum -y install sudo
34
+ /usr/sbin/groupadd vagrant
35
+ /usr/sbin/useradd vagrant -g vagrant -G wheel
36
+ echo "vagrant"|passwd --stdin vagrant
37
+ echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
@@ -0,0 +1,50 @@
1
+ #http://chrisadams.me.uk/2010/05/10/setting-up-a-centos-base-box-for-development-and-testing-with-vagrant/
2
+
3
+ date > /etc/vagrant_box_build_time
4
+
5
+ yum -y install gcc make gcc-c++ ruby kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel sqlite-devel perl
6
+
7
+ cat > /etc/yum.repos.d/puppetlabs.repo << EOM
8
+ [puppetlabs]
9
+ name=puppetlabs
10
+ baseurl=http://yum.puppetlabs.com/el/6/products/\$basearch
11
+ enabled=1
12
+ gpgcheck=0
13
+ EOM
14
+
15
+ cat > /etc/yum.repos.d/epel.repo << EOM
16
+ [epel]
17
+ name=epel
18
+ baseurl=http://download.fedoraproject.org/pub/epel/6/\$basearch
19
+ enabled=1
20
+ gpgcheck=0
21
+ EOM
22
+
23
+ yum -y install puppet facter ruby-devel rubygems
24
+ yum -y clean all
25
+ rm /etc/yum.repos.d/{puppetlabs,epel}.repo
26
+
27
+ gem install --no-ri --no-rdoc chef
28
+
29
+ # Installing vagrant keys
30
+ mkdir /home/vagrant/.ssh
31
+ chmod 700 /home/vagrant/.ssh
32
+ cd /home/vagrant/.ssh
33
+ curl -L -o authorized_keys https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub
34
+ chown -R vagrant /home/vagrant/.ssh
35
+
36
+ # Installing the virtualbox guest additions
37
+ VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
38
+ cd /tmp
39
+ curl -L -o VBoxGuestAdditions_$VBOX_VERSION.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
40
+ mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
41
+ sh /mnt/VBoxLinuxAdditions.run
42
+ umount /mnt
43
+
44
+ rm VBoxGuestAdditions_$VBOX_VERSION.iso
45
+
46
+ sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
47
+
48
+ dd if=/dev/zero of=/tmp/clean || rm /tmp/clean
49
+
50
+ exit