veewee 0.3.12 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (785) hide show
  1. checksums.yaml +15 -0
  2. data/.gitattributes +2 -0
  3. data/.gitignore +2 -0
  4. data/.rvmrc +1 -1
  5. data/.travis.yml +1 -2
  6. data/Gemfile +1 -1
  7. data/bin/veewee +1 -0
  8. data/doc/basics.md +17 -11
  9. data/doc/build_hooks.md +1 -0
  10. data/doc/customize.md +53 -0
  11. data/doc/installation.md +5 -0
  12. data/doc/requirements.md +1 -1
  13. data/doc/vagrant.md +2 -2
  14. data/lib/veewee/command/fusion.rb +3 -0
  15. data/lib/veewee/command/kvm.rb +3 -0
  16. data/lib/veewee/command/parallels.rb +3 -0
  17. data/lib/veewee/command/vbox.rb +3 -0
  18. data/lib/veewee/config/ostypes.yml +17 -3
  19. data/lib/veewee/definition.rb +2 -2
  20. data/lib/veewee/definitions.rb +3 -3
  21. data/lib/veewee/provider/core/box/build.rb +48 -24
  22. data/lib/veewee/provider/core/box/ssh.rb +6 -6
  23. data/lib/veewee/provider/core/box/wincp.rb +19 -13
  24. data/lib/veewee/provider/core/helper/iso.rb +10 -9
  25. data/lib/veewee/provider/core/helper/ssh.rb +60 -7
  26. data/lib/veewee/provider/core/helper/web.rb +14 -15
  27. data/lib/veewee/provider/kvm/provider.rb +1 -1
  28. data/lib/veewee/provider/virtualbox/box.rb +10 -9
  29. data/lib/veewee/provider/virtualbox/box/export_vagrant.rb +1 -1
  30. data/lib/veewee/provider/virtualbox/box/helper/create.rb +2 -2
  31. data/lib/veewee/provider/vmfusion/box/template.vmx.erb +1 -1
  32. data/lib/veewee/version.rb +1 -1
  33. data/templates/.ubuntu/base.sh +2 -0
  34. data/templates/.ubuntu/chef.sh +2 -0
  35. data/templates/.ubuntu/cleanup.sh +7 -0
  36. data/templates/.ubuntu/puppet.sh +2 -0
  37. data/templates/.ubuntu/ruby.sh +2 -0
  38. data/templates/.ubuntu/vagrant.sh +2 -0
  39. data/templates/.ubuntu/virtualbox.sh +2 -0
  40. data/templates/.ubuntu/zerodisk.sh +2 -0
  41. data/templates/CentOS-5.10-i386-netboot/base.sh +8 -0
  42. data/templates/CentOS-5.10-i386-netboot/chef.sh +3 -0
  43. data/templates/CentOS-5.10-i386-netboot/cleanup.sh +11 -0
  44. data/templates/CentOS-5.10-i386-netboot/definition.rb +42 -0
  45. data/templates/CentOS-5.10-i386-netboot/ks.cfg +27 -0
  46. data/templates/CentOS-5.10-i386-netboot/puppet.sh +17 -0
  47. data/templates/CentOS-5.10-i386-netboot/ruby.sh +41 -0
  48. data/templates/CentOS-5.10-i386-netboot/vagrant.sh +9 -0
  49. data/templates/CentOS-5.10-i386-netboot/virtualbox.sh +9 -0
  50. data/templates/CentOS-5.10-i386-netboot/zerodisk.sh +4 -0
  51. data/templates/CentOS-5.10-i386/base.sh +8 -0
  52. data/templates/CentOS-5.10-i386/chef.sh +3 -0
  53. data/templates/CentOS-5.10-i386/cleanup.sh +11 -0
  54. data/templates/CentOS-5.10-i386/definition.rb +42 -0
  55. data/templates/CentOS-5.10-i386/ks.cfg +27 -0
  56. data/templates/CentOS-5.10-i386/puppet.sh +17 -0
  57. data/templates/CentOS-5.10-i386/ruby.sh +41 -0
  58. data/templates/CentOS-5.10-i386/vagrant.sh +9 -0
  59. data/templates/CentOS-5.10-i386/virtualbox.sh +9 -0
  60. data/templates/CentOS-5.10-i386/zerodisk.sh +4 -0
  61. data/templates/CentOS-5.10-x86_64-netboot/base.sh +8 -0
  62. data/templates/CentOS-5.10-x86_64-netboot/chef.sh +3 -0
  63. data/templates/CentOS-5.10-x86_64-netboot/cleanup.sh +11 -0
  64. data/templates/CentOS-5.10-x86_64-netboot/definition.rb +42 -0
  65. data/templates/CentOS-5.10-x86_64-netboot/ks.cfg +27 -0
  66. data/templates/CentOS-5.10-x86_64-netboot/puppet.sh +17 -0
  67. data/templates/CentOS-5.10-x86_64-netboot/ruby.sh +41 -0
  68. data/templates/CentOS-5.10-x86_64-netboot/vagrant.sh +9 -0
  69. data/templates/CentOS-5.10-x86_64-netboot/virtualbox.sh +9 -0
  70. data/templates/CentOS-5.10-x86_64-netboot/zerodisk.sh +4 -0
  71. data/templates/CentOS-5.10-x86_64/base.sh +8 -0
  72. data/templates/CentOS-5.10-x86_64/chef.sh +3 -0
  73. data/templates/CentOS-5.10-x86_64/cleanup.sh +11 -0
  74. data/templates/CentOS-5.10-x86_64/definition.rb +42 -0
  75. data/templates/CentOS-5.10-x86_64/ks.cfg +27 -0
  76. data/templates/CentOS-5.10-x86_64/puppet.sh +17 -0
  77. data/templates/CentOS-5.10-x86_64/ruby.sh +41 -0
  78. data/templates/CentOS-5.10-x86_64/vagrant.sh +9 -0
  79. data/templates/CentOS-5.10-x86_64/virtualbox.sh +9 -0
  80. data/templates/CentOS-5.10-x86_64/zerodisk.sh +4 -0
  81. data/templates/CentOS-5.6-i386/ks.cfg +1 -1
  82. data/templates/CentOS-5.7-i386-netboot/ks.cfg +1 -1
  83. data/templates/CentOS-5.8-i386-netboot/ks.cfg +1 -1
  84. data/templates/CentOS-5.8-i386/ks.cfg +1 -1
  85. data/templates/CentOS-5.9-i386-netboot/base.sh +5 -2
  86. data/templates/CentOS-5.9-i386-netboot/chef.sh +1 -1
  87. data/templates/CentOS-5.9-i386-netboot/cleanup.sh +7 -3
  88. data/templates/CentOS-5.9-i386-netboot/definition.rb +2 -3
  89. data/templates/CentOS-5.9-i386-netboot/ks.cfg +8 -28
  90. data/templates/CentOS-5.9-i386-netboot/puppet.sh +0 -1
  91. data/templates/CentOS-5.9-i386-netboot/ruby.sh +40 -11
  92. data/templates/CentOS-5.9-i386-netboot/vagrant.sh +2 -11
  93. data/templates/CentOS-5.9-i386-netboot/virtualbox.sh +5 -4
  94. data/templates/CentOS-5.9-i386-netboot/zerodisk.sh +1 -0
  95. data/templates/CentOS-5.9-i386/base.sh +5 -2
  96. data/templates/CentOS-5.9-i386/chef.sh +1 -1
  97. data/templates/CentOS-5.9-i386/cleanup.sh +7 -3
  98. data/templates/CentOS-5.9-i386/definition.rb +2 -3
  99. data/templates/CentOS-5.9-i386/ks.cfg +8 -28
  100. data/templates/CentOS-5.9-i386/puppet.sh +0 -1
  101. data/templates/CentOS-5.9-i386/ruby.sh +40 -11
  102. data/templates/CentOS-5.9-i386/vagrant.sh +2 -11
  103. data/templates/CentOS-5.9-i386/virtualbox.sh +5 -4
  104. data/templates/CentOS-5.9-i386/zerodisk.sh +1 -0
  105. data/templates/CentOS-5.9-x86_64-netboot/base.sh +5 -2
  106. data/templates/CentOS-5.9-x86_64-netboot/chef.sh +1 -1
  107. data/templates/CentOS-5.9-x86_64-netboot/cleanup.sh +7 -3
  108. data/templates/CentOS-5.9-x86_64-netboot/definition.rb +2 -3
  109. data/templates/CentOS-5.9-x86_64-netboot/ks.cfg +8 -28
  110. data/templates/CentOS-5.9-x86_64-netboot/puppet.sh +0 -1
  111. data/templates/CentOS-5.9-x86_64-netboot/ruby.sh +40 -11
  112. data/templates/CentOS-5.9-x86_64-netboot/vagrant.sh +2 -11
  113. data/templates/CentOS-5.9-x86_64-netboot/virtualbox.sh +5 -4
  114. data/templates/CentOS-5.9-x86_64-netboot/zerodisk.sh +1 -0
  115. data/templates/CentOS-5.9-x86_64/base.sh +5 -2
  116. data/templates/CentOS-5.9-x86_64/chef.sh +1 -1
  117. data/templates/CentOS-5.9-x86_64/cleanup.sh +7 -3
  118. data/templates/CentOS-5.9-x86_64/definition.rb +4 -5
  119. data/templates/CentOS-5.9-x86_64/ks.cfg +7 -27
  120. data/templates/CentOS-5.9-x86_64/puppet.sh +0 -1
  121. data/templates/CentOS-5.9-x86_64/ruby.sh +40 -11
  122. data/templates/CentOS-5.9-x86_64/vagrant.sh +2 -11
  123. data/templates/CentOS-5.9-x86_64/virtualbox.sh +5 -4
  124. data/templates/CentOS-5.9-x86_64/zerodisk.sh +1 -0
  125. data/templates/CentOS-6.0-i386-netboot/chef.sh +1 -0
  126. data/templates/CentOS-6.0-i386/chef.sh +1 -0
  127. data/templates/CentOS-6.0-x86_64-minimal/chef.sh +1 -0
  128. data/templates/CentOS-6.0-x86_64-netboot/chef.sh +1 -0
  129. data/templates/CentOS-6.0-x86_64/chef.sh +1 -0
  130. data/templates/CentOS-6.1-x86_64-minimal/chef.sh +1 -0
  131. data/templates/CentOS-6.1-x86_64-netboot/chef.sh +1 -0
  132. data/templates/CentOS-6.2-i386-minimal/chef.sh +1 -0
  133. data/templates/CentOS-6.2-x86_64-minimal/chef.sh +1 -0
  134. data/templates/CentOS-6.2-x86_64-netboot/chef.sh +1 -0
  135. data/templates/CentOS-6.3-i386-minimal/chef.sh +1 -0
  136. data/templates/CentOS-6.3-i386-minimal/definition.rb +2 -3
  137. data/templates/CentOS-6.3-x86_64-minimal/chef.sh +1 -0
  138. data/templates/CentOS-6.3-x86_64-minimal/definition.rb +1 -1
  139. data/templates/CentOS-6.3-x86_64-netboot/chef.sh +1 -0
  140. data/templates/CentOS-6.3-x86_64-netboot/definition.rb +1 -1
  141. data/templates/CentOS-6.3-x86_64-reallyminimal/definition.rb +1 -1
  142. data/templates/CentOS-6.4-i386-minimal/chef.sh +3 -1
  143. data/templates/CentOS-6.4-i386-minimal/definition.rb +1 -1
  144. data/templates/CentOS-6.4-i386-minimal/vmfusion.sh +3 -0
  145. data/templates/CentOS-6.4-i386-netboot/chef.sh +1 -0
  146. data/templates/CentOS-6.4-i386-netboot/definition.rb +1 -1
  147. data/templates/CentOS-6.4-i386-netboot/ks.cfg +1 -1
  148. data/templates/CentOS-6.4-i386-netboot/vmfusion.sh +3 -0
  149. data/templates/CentOS-6.4-x86_64-minimal/chef.sh +3 -1
  150. data/templates/CentOS-6.4-x86_64-minimal/definition.rb +1 -1
  151. data/templates/CentOS-6.4-x86_64-minimal/vmfusion.sh +3 -0
  152. data/templates/CentOS-6.4-x86_64-netboot/chef.sh +1 -0
  153. data/templates/CentOS-6.4-x86_64-netboot/definition.rb +1 -1
  154. data/templates/CentOS-6.4-x86_64-netboot/ks.cfg +1 -1
  155. data/templates/CentOS-6.4-x86_64-netboot/vmfusion.sh +3 -0
  156. data/templates/CentOS-6.5-i386-minimal/base.sh +16 -0
  157. data/templates/CentOS-6.5-i386-minimal/chef.sh +4 -0
  158. data/templates/CentOS-6.5-i386-minimal/cleanup.sh +8 -0
  159. data/templates/CentOS-6.5-i386-minimal/definition.rb +38 -0
  160. data/templates/CentOS-6.5-i386-minimal/ks.cfg +37 -0
  161. data/templates/CentOS-6.5-i386-minimal/puppet.sh +18 -0
  162. data/templates/CentOS-6.5-i386-minimal/vagrant.sh +18 -0
  163. data/templates/CentOS-6.5-i386-minimal/virtualbox.sh +8 -0
  164. data/templates/CentOS-6.5-i386-minimal/vmfusion.sh +10 -0
  165. data/templates/CentOS-6.5-i386-minimal/zerodisk.sh +3 -0
  166. data/templates/CentOS-6.5-i386-netboot/base.sh +16 -0
  167. data/templates/CentOS-6.5-i386-netboot/cfengine.sh +69 -0
  168. data/templates/CentOS-6.5-i386-netboot/chef.sh +4 -0
  169. data/templates/CentOS-6.5-i386-netboot/cleanup.sh +8 -0
  170. data/templates/CentOS-6.5-i386-netboot/definition.rb +40 -0
  171. data/templates/CentOS-6.5-i386-netboot/ks.cfg +41 -0
  172. data/templates/CentOS-6.5-i386-netboot/puppet.sh +18 -0
  173. data/templates/CentOS-6.5-i386-netboot/ruby.sh +3 -0
  174. data/templates/CentOS-6.5-i386-netboot/vagrant.sh +18 -0
  175. data/templates/CentOS-6.5-i386-netboot/virtualbox.sh +8 -0
  176. data/templates/CentOS-6.5-i386-netboot/vmfusion.sh +10 -0
  177. data/templates/CentOS-6.5-i386-netboot/zerodisk.sh +3 -0
  178. data/templates/CentOS-6.5-x86_64-minimal/base.sh +16 -0
  179. data/templates/CentOS-6.5-x86_64-minimal/chef.sh +4 -0
  180. data/templates/CentOS-6.5-x86_64-minimal/cleanup.sh +8 -0
  181. data/templates/CentOS-6.5-x86_64-minimal/definition.rb +38 -0
  182. data/templates/CentOS-6.5-x86_64-minimal/ks.cfg +37 -0
  183. data/templates/CentOS-6.5-x86_64-minimal/puppet.sh +18 -0
  184. data/templates/CentOS-6.5-x86_64-minimal/vagrant.sh +18 -0
  185. data/templates/CentOS-6.5-x86_64-minimal/virtualbox.sh +8 -0
  186. data/templates/CentOS-6.5-x86_64-minimal/vmfusion.sh +10 -0
  187. data/templates/CentOS-6.5-x86_64-minimal/zerodisk.sh +3 -0
  188. data/templates/CentOS-6.5-x86_64-netboot/base.sh +16 -0
  189. data/templates/CentOS-6.5-x86_64-netboot/chef.sh +4 -0
  190. data/templates/CentOS-6.5-x86_64-netboot/cleanup.sh +8 -0
  191. data/templates/CentOS-6.5-x86_64-netboot/definition.rb +38 -0
  192. data/templates/CentOS-6.5-x86_64-netboot/ks.cfg +38 -0
  193. data/templates/CentOS-6.5-x86_64-netboot/puppet.sh +18 -0
  194. data/templates/CentOS-6.5-x86_64-netboot/vagrant.sh +18 -0
  195. data/templates/CentOS-6.5-x86_64-netboot/virtualbox.sh +8 -0
  196. data/templates/CentOS-6.5-x86_64-netboot/vmfusion.sh +10 -0
  197. data/templates/CentOS-6.5-x86_64-netboot/zerodisk.sh +3 -0
  198. data/templates/CentOS-7.0-1406-x86_64-netinstall/base.sh +16 -0
  199. data/templates/CentOS-7.0-1406-x86_64-netinstall/chef.sh +2 -0
  200. data/templates/CentOS-7.0-1406-x86_64-netinstall/cleanup.sh +7 -0
  201. data/templates/CentOS-7.0-1406-x86_64-netinstall/definition.rb +38 -0
  202. data/templates/CentOS-7.0-1406-x86_64-netinstall/ks.cfg +39 -0
  203. data/templates/CentOS-7.0-1406-x86_64-netinstall/puppet.sh +18 -0
  204. data/templates/CentOS-7.0-1406-x86_64-netinstall/vagrant.sh +18 -0
  205. data/templates/CentOS-7.0-1406-x86_64-netinstall/virtualbox.sh +8 -0
  206. data/templates/CentOS-7.0-1406-x86_64-netinstall/vmfusion.sh +10 -0
  207. data/templates/CentOS-7.0-1406-x86_64-netinstall/zerodisk.sh +3 -0
  208. data/templates/Debian-6.0.6-i386-netboot/definition.rb +1 -2
  209. data/templates/Debian-6.0.7-amd64-netboot/definition.rb +3 -1
  210. data/templates/Debian-6.0.7-i386-netboot/definition.rb +4 -3
  211. data/templates/Debian-6.0.8-amd64-netboot/base.sh +27 -0
  212. data/templates/Debian-6.0.8-amd64-netboot/chef.sh +2 -0
  213. data/templates/Debian-6.0.8-amd64-netboot/cleanup-virtualbox.sh +4 -0
  214. data/templates/Debian-6.0.8-amd64-netboot/cleanup.sh +17 -0
  215. data/templates/Debian-6.0.8-amd64-netboot/definition.rb +50 -0
  216. data/templates/Debian-6.0.8-amd64-netboot/preseed.cfg +315 -0
  217. data/templates/Debian-6.0.8-amd64-netboot/puppet.sh +7 -0
  218. data/templates/Debian-6.0.8-amd64-netboot/ruby.sh +10 -0
  219. data/templates/Debian-6.0.8-amd64-netboot/vagrant.sh +25 -0
  220. data/templates/Debian-6.0.8-amd64-netboot/virtualbox.sh +18 -0
  221. data/templates/Debian-6.0.8-amd64-netboot/vmfusion.sh +7 -0
  222. data/templates/Debian-6.0.8-amd64-netboot/zerodisk.sh +3 -0
  223. data/templates/Debian-6.0.8-i386-netboot/base.sh +26 -0
  224. data/templates/Debian-6.0.8-i386-netboot/chef.sh +2 -0
  225. data/templates/Debian-6.0.8-i386-netboot/cleanup-virtualbox.sh +4 -0
  226. data/templates/Debian-6.0.8-i386-netboot/cleanup.sh +18 -0
  227. data/templates/Debian-6.0.8-i386-netboot/definition.rb +58 -0
  228. data/templates/Debian-6.0.8-i386-netboot/preseed.cfg +315 -0
  229. data/templates/Debian-6.0.8-i386-netboot/puppet.sh +7 -0
  230. data/templates/Debian-6.0.8-i386-netboot/ruby.sh +10 -0
  231. data/templates/Debian-6.0.8-i386-netboot/vagrant.sh +25 -0
  232. data/templates/Debian-6.0.8-i386-netboot/virtualbox.sh +16 -0
  233. data/templates/Debian-6.0.8-i386-netboot/vmfusion.sh +7 -0
  234. data/templates/Debian-6.0.8-i386-netboot/zerodisk.sh +3 -0
  235. data/templates/Debian-6.0.9-amd64-netboot/base.sh +27 -0
  236. data/templates/Debian-6.0.9-amd64-netboot/chef.sh +2 -0
  237. data/templates/Debian-6.0.9-amd64-netboot/cleanup-virtualbox.sh +4 -0
  238. data/templates/Debian-6.0.9-amd64-netboot/cleanup.sh +17 -0
  239. data/templates/Debian-6.0.9-amd64-netboot/definition.rb +50 -0
  240. data/templates/Debian-6.0.9-amd64-netboot/preseed.cfg +315 -0
  241. data/templates/Debian-6.0.9-amd64-netboot/puppet.sh +7 -0
  242. data/templates/Debian-6.0.9-amd64-netboot/ruby.sh +10 -0
  243. data/templates/Debian-6.0.9-amd64-netboot/vagrant.sh +25 -0
  244. data/templates/Debian-6.0.9-amd64-netboot/virtualbox.sh +18 -0
  245. data/templates/Debian-6.0.9-amd64-netboot/vmfusion.sh +7 -0
  246. data/templates/Debian-6.0.9-amd64-netboot/zerodisk.sh +3 -0
  247. data/templates/Debian-6.0.9-i386-netboot/base.sh +27 -0
  248. data/templates/Debian-6.0.9-i386-netboot/chef.sh +2 -0
  249. data/templates/Debian-6.0.9-i386-netboot/cleanup-virtualbox.sh +4 -0
  250. data/templates/Debian-6.0.9-i386-netboot/cleanup.sh +17 -0
  251. data/templates/Debian-6.0.9-i386-netboot/definition.rb +50 -0
  252. data/templates/Debian-6.0.9-i386-netboot/preseed.cfg +315 -0
  253. data/templates/Debian-6.0.9-i386-netboot/puppet.sh +7 -0
  254. data/templates/Debian-6.0.9-i386-netboot/ruby.sh +10 -0
  255. data/templates/Debian-6.0.9-i386-netboot/vagrant.sh +25 -0
  256. data/templates/Debian-6.0.9-i386-netboot/virtualbox.sh +18 -0
  257. data/templates/Debian-6.0.9-i386-netboot/vmfusion.sh +7 -0
  258. data/templates/Debian-6.0.9-i386-netboot/zerodisk.sh +3 -0
  259. data/templates/Debian-7.0-amd64-netboot/base.sh +1 -0
  260. data/templates/Debian-7.0-amd64-netboot/definition.rb +1 -0
  261. data/templates/Debian-7.0-amd64-netboot/preseed.cfg +1 -1
  262. data/templates/Debian-7.0-amd64-netboot/systemd.sh +22 -0
  263. data/templates/Debian-7.0-i386-netboot/base.sh +1 -0
  264. data/templates/Debian-7.0-i386-netboot/definition.rb +1 -0
  265. data/templates/Debian-7.0-i386-netboot/systemd.sh +22 -0
  266. data/templates/Debian-7.1.0-amd64-netboot/base.sh +1 -0
  267. data/templates/Debian-7.1.0-amd64-netboot/definition.rb +4 -1
  268. data/templates/Debian-7.1.0-amd64-netboot/preseed.cfg +1 -1
  269. data/templates/Debian-7.1.0-amd64-netboot/systemd.sh +22 -0
  270. data/templates/Debian-7.1.0-i386-netboot/base.sh +1 -0
  271. data/templates/Debian-7.1.0-i386-netboot/definition.rb +4 -1
  272. data/templates/Debian-7.1.0-i386-netboot/systemd.sh +22 -0
  273. data/templates/Debian-7.2.0-amd64-netboot/base.sh +1 -0
  274. data/templates/Debian-7.2.0-amd64-netboot/definition.rb +4 -1
  275. data/templates/Debian-7.2.0-amd64-netboot/preseed.cfg +1 -1
  276. data/templates/Debian-7.2.0-amd64-netboot/systemd.sh +22 -0
  277. data/templates/Debian-7.2.0-i386-netboot/base.sh +1 -0
  278. data/templates/Debian-7.2.0-i386-netboot/definition.rb +4 -1
  279. data/templates/Debian-7.2.0-i386-netboot/systemd.sh +22 -0
  280. data/templates/Debian-7.3.0-amd64-netboot/base.sh +26 -0
  281. data/templates/Debian-7.3.0-amd64-netboot/chef.sh +49 -0
  282. data/templates/Debian-7.3.0-amd64-netboot/cleanup-virtualbox.sh +4 -0
  283. data/templates/Debian-7.3.0-amd64-netboot/cleanup.sh +18 -0
  284. data/templates/Debian-7.3.0-amd64-netboot/definition.rb +56 -0
  285. data/templates/Debian-7.3.0-amd64-netboot/preseed.cfg +313 -0
  286. data/templates/Debian-7.3.0-amd64-netboot/puppet.sh +7 -0
  287. data/templates/Debian-7.3.0-amd64-netboot/ruby.sh +10 -0
  288. data/templates/Debian-7.3.0-amd64-netboot/systemd.sh +22 -0
  289. data/templates/Debian-7.3.0-amd64-netboot/vagrant.sh +21 -0
  290. data/templates/Debian-7.3.0-amd64-netboot/virtualbox.sh +34 -0
  291. data/templates/Debian-7.3.0-amd64-netboot/vmfusion.sh +7 -0
  292. data/templates/Debian-7.3.0-amd64-netboot/zerodisk.sh +3 -0
  293. data/templates/Debian-7.3.0-i386-netboot/base.sh +27 -0
  294. data/templates/Debian-7.3.0-i386-netboot/chef.sh +2 -0
  295. data/templates/Debian-7.3.0-i386-netboot/cleanup-virtualbox.sh +4 -0
  296. data/templates/Debian-7.3.0-i386-netboot/cleanup.sh +17 -0
  297. data/templates/Debian-7.3.0-i386-netboot/definition.rb +54 -0
  298. data/templates/Debian-7.3.0-i386-netboot/preseed.cfg +315 -0
  299. data/templates/Debian-7.3.0-i386-netboot/puppet.sh +7 -0
  300. data/templates/Debian-7.3.0-i386-netboot/ruby.sh +10 -0
  301. data/templates/Debian-7.3.0-i386-netboot/systemd.sh +22 -0
  302. data/templates/Debian-7.3.0-i386-netboot/vagrant.sh +23 -0
  303. data/templates/Debian-7.3.0-i386-netboot/virtualbox.sh +34 -0
  304. data/templates/Debian-7.3.0-i386-netboot/vmfusion.sh +7 -0
  305. data/templates/Debian-7.3.0-i386-netboot/zerodisk.sh +3 -0
  306. data/templates/Debian-7.4.0-amd64-netboot/base.sh +26 -0
  307. data/templates/Debian-7.4.0-amd64-netboot/chef.sh +49 -0
  308. data/templates/Debian-7.4.0-amd64-netboot/cleanup.sh +18 -0
  309. data/templates/Debian-7.4.0-amd64-netboot/definition.rb +55 -0
  310. data/templates/Debian-7.4.0-amd64-netboot/preseed.cfg +313 -0
  311. data/templates/Debian-7.4.0-amd64-netboot/puppet.sh +7 -0
  312. data/templates/Debian-7.4.0-amd64-netboot/ruby.sh +10 -0
  313. data/templates/Debian-7.4.0-amd64-netboot/systemd.sh +22 -0
  314. data/templates/Debian-7.4.0-amd64-netboot/vagrant.sh +21 -0
  315. data/templates/Debian-7.4.0-amd64-netboot/virtualbox.sh +35 -0
  316. data/templates/Debian-7.4.0-amd64-netboot/vmfusion.sh +7 -0
  317. data/templates/Debian-7.4.0-amd64-netboot/zerodisk.sh +3 -0
  318. data/templates/Debian-7.4.0-i386-netboot/base.sh +27 -0
  319. data/templates/Debian-7.4.0-i386-netboot/chef.sh +2 -0
  320. data/templates/Debian-7.4.0-i386-netboot/cleanup.sh +17 -0
  321. data/templates/Debian-7.4.0-i386-netboot/definition.rb +53 -0
  322. data/templates/Debian-7.4.0-i386-netboot/preseed.cfg +315 -0
  323. data/templates/Debian-7.4.0-i386-netboot/puppet.sh +7 -0
  324. data/templates/Debian-7.4.0-i386-netboot/ruby.sh +10 -0
  325. data/templates/Debian-7.4.0-i386-netboot/systemd.sh +22 -0
  326. data/templates/Debian-7.4.0-i386-netboot/vagrant.sh +23 -0
  327. data/templates/Debian-7.4.0-i386-netboot/virtualbox.sh +36 -0
  328. data/templates/Debian-7.4.0-i386-netboot/vmfusion.sh +7 -0
  329. data/templates/Debian-7.4.0-i386-netboot/zerodisk.sh +3 -0
  330. data/templates/Debian-7.5.0-amd64-netboot/base.sh +25 -0
  331. data/templates/Debian-7.5.0-amd64-netboot/chef.sh +49 -0
  332. data/templates/Debian-7.5.0-amd64-netboot/cleanup.sh +18 -0
  333. data/templates/Debian-7.5.0-amd64-netboot/definition.rb +55 -0
  334. data/templates/Debian-7.5.0-amd64-netboot/preseed.cfg +313 -0
  335. data/templates/Debian-7.5.0-amd64-netboot/puppet.sh +7 -0
  336. data/templates/Debian-7.5.0-amd64-netboot/ruby.sh +10 -0
  337. data/templates/Debian-7.5.0-amd64-netboot/systemd.sh +22 -0
  338. data/templates/Debian-7.5.0-amd64-netboot/vagrant.sh +21 -0
  339. data/templates/Debian-7.5.0-amd64-netboot/virtualbox.sh +37 -0
  340. data/templates/Debian-7.5.0-amd64-netboot/vmfusion.sh +7 -0
  341. data/templates/Debian-7.5.0-amd64-netboot/zerodisk.sh +3 -0
  342. data/templates/Debian-7.5.0-i386-netboot/base.sh +26 -0
  343. data/templates/Debian-7.5.0-i386-netboot/chef.sh +2 -0
  344. data/templates/Debian-7.5.0-i386-netboot/cleanup.sh +17 -0
  345. data/templates/Debian-7.5.0-i386-netboot/definition.rb +51 -0
  346. data/templates/Debian-7.5.0-i386-netboot/preseed.cfg +315 -0
  347. data/templates/Debian-7.5.0-i386-netboot/puppet.sh +7 -0
  348. data/templates/Debian-7.5.0-i386-netboot/ruby.sh +10 -0
  349. data/templates/Debian-7.5.0-i386-netboot/systemd.sh +22 -0
  350. data/templates/Debian-7.5.0-i386-netboot/vagrant.sh +23 -0
  351. data/templates/Debian-7.5.0-i386-netboot/virtualbox.sh +38 -0
  352. data/templates/Debian-7.5.0-i386-netboot/vmfusion.sh +7 -0
  353. data/templates/Debian-7.5.0-i386-netboot/zerodisk.sh +3 -0
  354. data/templates/Debian-7.6.0-amd64-netboot/base.sh +25 -0
  355. data/templates/Debian-7.6.0-amd64-netboot/chef.sh +49 -0
  356. data/templates/Debian-7.6.0-amd64-netboot/cleanup.sh +18 -0
  357. data/templates/Debian-7.6.0-amd64-netboot/definition.rb +52 -0
  358. data/templates/Debian-7.6.0-amd64-netboot/preseed.cfg +313 -0
  359. data/templates/Debian-7.6.0-amd64-netboot/puppet.sh +7 -0
  360. data/templates/Debian-7.6.0-amd64-netboot/ruby.sh +10 -0
  361. data/templates/Debian-7.6.0-amd64-netboot/vagrant.sh +21 -0
  362. data/templates/Debian-7.6.0-amd64-netboot/virtualbox.sh +37 -0
  363. data/templates/Debian-7.6.0-amd64-netboot/vmfusion.sh +7 -0
  364. data/templates/Debian-7.6.0-amd64-netboot/zerodisk.sh +3 -0
  365. data/templates/Debian-7.6.0-i386-netboot/base.sh +26 -0
  366. data/templates/Debian-7.6.0-i386-netboot/chef.sh +2 -0
  367. data/templates/Debian-7.6.0-i386-netboot/cleanup.sh +17 -0
  368. data/templates/Debian-7.6.0-i386-netboot/definition.rb +50 -0
  369. data/templates/Debian-7.6.0-i386-netboot/preseed.cfg +315 -0
  370. data/templates/Debian-7.6.0-i386-netboot/puppet.sh +7 -0
  371. data/templates/Debian-7.6.0-i386-netboot/ruby.sh +10 -0
  372. data/templates/Debian-7.6.0-i386-netboot/vagrant.sh +23 -0
  373. data/templates/Debian-7.6.0-i386-netboot/virtualbox.sh +38 -0
  374. data/templates/Debian-7.6.0-i386-netboot/vmfusion.sh +7 -0
  375. data/templates/Debian-7.6.0-i386-netboot/zerodisk.sh +3 -0
  376. data/templates/Fedora-14-amd64-netboot/definition.rb +1 -1
  377. data/templates/Fedora-14-amd64/definition.rb +1 -1
  378. data/templates/Fedora-14-i386-netboot/definition.rb +1 -1
  379. data/templates/Fedora-14-i386/definition.rb +1 -1
  380. data/templates/Fedora-15-i386-netboot/definition.rb +1 -1
  381. data/templates/Fedora-15-i386/definition.rb +1 -1
  382. data/templates/Fedora-15-x86_64-netboot/definition.rb +1 -1
  383. data/templates/Fedora-15-x86_64/definition.rb +1 -1
  384. data/templates/Fedora-16-i386/definition.rb +1 -1
  385. data/templates/Fedora-16-x86_64-netboot/definition.rb +1 -1
  386. data/templates/Fedora-16-x86_64/definition.rb +1 -1
  387. data/templates/Fedora-17-i386/definition.rb +1 -1
  388. data/templates/Fedora-17-x86_64/definition.rb +1 -1
  389. data/templates/Fedora-18-i386/definition.rb +1 -1
  390. data/templates/Fedora-18-x86_64/definition.rb +1 -1
  391. data/templates/Fedora-19-i386/definition.rb +1 -1
  392. data/templates/Fedora-19-x86_64/definition.rb +1 -1
  393. data/templates/Fedora-20-i386/base.sh +9 -0
  394. data/templates/Fedora-20-i386/chef.sh +17 -0
  395. data/templates/Fedora-20-i386/cleanup.sh +6 -0
  396. data/templates/Fedora-20-i386/definition.rb +39 -0
  397. data/templates/Fedora-20-i386/ks.cfg +83 -0
  398. data/templates/Fedora-20-i386/puppet.sh +2 -0
  399. data/templates/Fedora-20-i386/ruby.sh +3 -0
  400. data/templates/Fedora-20-i386/vagrant.sh +18 -0
  401. data/templates/Fedora-20-i386/virtualbox.sh +4 -0
  402. data/templates/Fedora-20-i386/vmfusion.sh +7 -0
  403. data/templates/Fedora-20-i386/zerodisk.sh +3 -0
  404. data/templates/Fedora-20-x86_64/base.sh +9 -0
  405. data/templates/Fedora-20-x86_64/chef.sh +17 -0
  406. data/templates/Fedora-20-x86_64/cleanup.sh +6 -0
  407. data/templates/Fedora-20-x86_64/definition.rb +39 -0
  408. data/templates/Fedora-20-x86_64/ks.cfg +83 -0
  409. data/templates/Fedora-20-x86_64/puppet.sh +2 -0
  410. data/templates/Fedora-20-x86_64/ruby.sh +3 -0
  411. data/templates/Fedora-20-x86_64/vagrant.sh +18 -0
  412. data/templates/Fedora-20-x86_64/virtualbox.sh +4 -0
  413. data/templates/Fedora-20-x86_64/vmfusion.sh +7 -0
  414. data/templates/Fedora-20-x86_64/zerodisk.sh +3 -0
  415. data/templates/OSX/definition.rb +13 -1
  416. data/templates/OSX/prepare_veewee_iso/prepare_veewee_iso.sh +51 -2
  417. data/templates/OracleLinux-5.10-i386-DVD/base.sh +19 -0
  418. data/templates/OracleLinux-5.10-i386-DVD/chef.sh +3 -0
  419. data/templates/OracleLinux-5.10-i386-DVD/cleanup.sh +8 -0
  420. data/templates/OracleLinux-5.10-i386-DVD/definition.rb +37 -0
  421. data/templates/OracleLinux-5.10-i386-DVD/ks.cfg +55 -0
  422. data/templates/OracleLinux-5.10-i386-DVD/proxy.sh +6 -0
  423. data/templates/OracleLinux-5.10-i386-DVD/puppet.sh +3 -0
  424. data/templates/OracleLinux-5.10-i386-DVD/ruby.sh +36 -0
  425. data/templates/OracleLinux-5.10-i386-DVD/vagrant.sh +21 -0
  426. data/templates/OracleLinux-5.10-i386-DVD/virtualbox.sh +8 -0
  427. data/templates/OracleLinux-5.10-i386-DVD/zerodisk.sh +3 -0
  428. data/templates/OracleLinux-5.10-x86_64-DVD/base.sh +19 -0
  429. data/templates/OracleLinux-5.10-x86_64-DVD/chef.sh +3 -0
  430. data/templates/OracleLinux-5.10-x86_64-DVD/cleanup.sh +8 -0
  431. data/templates/OracleLinux-5.10-x86_64-DVD/definition.rb +37 -0
  432. data/templates/OracleLinux-5.10-x86_64-DVD/ks.cfg +55 -0
  433. data/templates/OracleLinux-5.10-x86_64-DVD/proxy.sh +6 -0
  434. data/templates/OracleLinux-5.10-x86_64-DVD/puppet.sh +3 -0
  435. data/templates/OracleLinux-5.10-x86_64-DVD/ruby.sh +36 -0
  436. data/templates/OracleLinux-5.10-x86_64-DVD/vagrant.sh +21 -0
  437. data/templates/OracleLinux-5.10-x86_64-DVD/virtualbox.sh +8 -0
  438. data/templates/OracleLinux-5.10-x86_64-DVD/zerodisk.sh +3 -0
  439. data/templates/OracleLinux-5.9-i386-DVD/base.sh +1 -8
  440. data/templates/OracleLinux-5.9-i386-DVD/ks.cfg +21 -1
  441. data/templates/OracleLinux-5.9-i386-DVD/ruby.sh +2 -2
  442. data/templates/OracleLinux-5.9-x86_64-DVD/base.sh +1 -8
  443. data/templates/OracleLinux-5.9-x86_64-DVD/ks.cfg +21 -1
  444. data/templates/OracleLinux-5.9-x86_64-DVD/ruby.sh +2 -2
  445. data/templates/OracleLinux-6.4-i386-DVD/base.sh +1 -6
  446. data/templates/OracleLinux-6.4-i386-DVD/ks.cfg +21 -1
  447. data/templates/OracleLinux-6.4-i386-DVD/puppet.sh +3 -3
  448. data/templates/OracleLinux-6.4-x86_64-DVD/base.sh +1 -6
  449. data/templates/OracleLinux-6.4-x86_64-DVD/ks.cfg +21 -1
  450. data/templates/OracleLinux-6.4-x86_64-DVD/puppet.sh +3 -3
  451. data/templates/OracleLinux-6.5-i386-DVD/base.sh +20 -0
  452. data/templates/OracleLinux-6.5-i386-DVD/chef.sh +3 -0
  453. data/templates/OracleLinux-6.5-i386-DVD/cleanup.sh +9 -0
  454. data/templates/OracleLinux-6.5-i386-DVD/definition.rb +39 -0
  455. data/templates/OracleLinux-6.5-i386-DVD/ks.cfg +56 -0
  456. data/templates/OracleLinux-6.5-i386-DVD/proxy.sh +6 -0
  457. data/templates/OracleLinux-6.5-i386-DVD/puppet.sh +10 -0
  458. data/templates/OracleLinux-6.5-i386-DVD/ruby.sh +5 -0
  459. data/templates/OracleLinux-6.5-i386-DVD/vagrant.sh +21 -0
  460. data/templates/OracleLinux-6.5-i386-DVD/virtualbox.sh +8 -0
  461. data/templates/OracleLinux-6.5-i386-DVD/zerodisk.sh +3 -0
  462. data/templates/OracleLinux-6.5-x86_64-DVD/base.sh +20 -0
  463. data/templates/OracleLinux-6.5-x86_64-DVD/chef.sh +3 -0
  464. data/templates/OracleLinux-6.5-x86_64-DVD/cleanup.sh +9 -0
  465. data/templates/OracleLinux-6.5-x86_64-DVD/definition.rb +39 -0
  466. data/templates/OracleLinux-6.5-x86_64-DVD/ks.cfg +56 -0
  467. data/templates/OracleLinux-6.5-x86_64-DVD/proxy.sh +6 -0
  468. data/templates/OracleLinux-6.5-x86_64-DVD/puppet.sh +10 -0
  469. data/templates/OracleLinux-6.5-x86_64-DVD/ruby.sh +5 -0
  470. data/templates/OracleLinux-6.5-x86_64-DVD/vagrant.sh +21 -0
  471. data/templates/OracleLinux-6.5-x86_64-DVD/virtualbox.sh +8 -0
  472. data/templates/OracleLinux-6.5-x86_64-DVD/zerodisk.sh +3 -0
  473. data/templates/OracleLinux-7.0-x86_64-DVD/base.sh +19 -0
  474. data/templates/OracleLinux-7.0-x86_64-DVD/chef.sh +3 -0
  475. data/templates/OracleLinux-7.0-x86_64-DVD/cleanup.sh +11 -0
  476. data/templates/OracleLinux-7.0-x86_64-DVD/definition.rb +40 -0
  477. data/templates/OracleLinux-7.0-x86_64-DVD/ks.cfg +60 -0
  478. data/templates/OracleLinux-7.0-x86_64-DVD/provision.sh +35 -0
  479. data/templates/OracleLinux-7.0-x86_64-DVD/proxy.sh +3 -0
  480. data/templates/OracleLinux-7.0-x86_64-DVD/puppet.sh +15 -0
  481. data/templates/OracleLinux-7.0-x86_64-DVD/ruby.sh +5 -0
  482. data/templates/OracleLinux-7.0-x86_64-DVD/vagrant.sh +21 -0
  483. data/templates/OracleLinux-7.0-x86_64-DVD/virtualbox.sh +8 -0
  484. data/templates/OracleLinux-7.0-x86_64-DVD/zerodisk.sh +2 -0
  485. data/templates/SLES-11-SP3-DVD-x86_64-GM/autoinst.xml +2608 -0
  486. data/templates/SLES-11-SP3-DVD-x86_64-GM/definition.rb +33 -0
  487. data/templates/SLES-11-SP3-DVD-x86_64-GM/postinstall.sh +52 -0
  488. data/templates/VMware-ESXi-5.0u2-x86_64/definition.rb +1 -1
  489. data/templates/VMware-ESXi-5.1-x86_64/definition.rb +1 -1
  490. data/templates/archlinux-x86_64/aur.sh +2 -2
  491. data/templates/archlinux-x86_64/base.sh +1 -1
  492. data/templates/archlinux-x86_64/chef.sh +0 -11
  493. data/templates/archlinux-x86_64/definition.rb +1 -2
  494. data/templates/archlinux-x86_64/ruby.sh +2 -18
  495. data/templates/archlinux-x86_64/vagrant.sh +2 -4
  496. data/templates/freebsd-10.0-RELEASE-amd64/definition.rb +48 -0
  497. data/templates/freebsd-10.0-RELEASE-amd64/install.sh +33 -0
  498. data/templates/freebsd-10.0-RELEASE-amd64/postinstall.csh +125 -0
  499. data/templates/freebsd-9.1-RELEASE-amd64/definition.rb +1 -1
  500. data/templates/freebsd-9.1-RELEASE-amd64/install.sh +1 -0
  501. data/templates/freebsd-9.1-RELEASE-amd64/postinstall.csh +8 -8
  502. data/templates/freebsd-9.2-RELEASE-amd64/definition.rb +28 -0
  503. data/templates/freebsd-9.2-RELEASE-amd64/install.sh +66 -0
  504. data/templates/freebsd-9.2-RELEASE-amd64/postinstall.csh +134 -0
  505. data/templates/{funtoo-latest-x86_64 → funtoo-stable-x86_64}/definition.rb +5 -3
  506. data/templates/{funtoo-latest-x86_64 → funtoo-stable-x86_64}/postinstall.sh +78 -89
  507. data/templates/funtoo-unstable-x86_64/definition.rb +41 -0
  508. data/templates/funtoo-unstable-x86_64/postinstall.sh +459 -0
  509. data/templates/gentoo-latest-amd64/add_chef.sh +1 -1
  510. data/templates/gentoo-latest-amd64/add_puppet.sh +1 -1
  511. data/templates/gentoo-latest-amd64/cron.sh +1 -1
  512. data/templates/gentoo-latest-amd64/syslog.sh +1 -1
  513. data/templates/gentoo-latest-i686/add_chef.sh +1 -1
  514. data/templates/gentoo-latest-i686/add_puppet.sh +1 -1
  515. data/templates/gentoo-latest-i686/cron.sh +1 -1
  516. data/templates/gentoo-latest-i686/syslog.sh +1 -1
  517. data/templates/netbsd-613-amd64/README +2 -0
  518. data/templates/netbsd-613-amd64/base.sh +11 -0
  519. data/templates/netbsd-613-amd64/chef.sh +1 -0
  520. data/templates/netbsd-613-amd64/definition.rb +103 -0
  521. data/templates/netbsd-613-amd64/vagrant.sh +14 -0
  522. data/templates/nixos64/configuration.nix +41 -0
  523. data/templates/nixos64/definition.rb +50 -0
  524. data/templates/nixos64/postinstall.sh +28 -0
  525. data/templates/openSUSE-13.1/autoinst.xml +937 -0
  526. data/templates/openSUSE-13.1/definition.rb +70 -0
  527. data/templates/openSUSE-13.1/postinstall.sh +50 -0
  528. data/templates/openbsd54_amd64/README +28 -0
  529. data/templates/openbsd54_amd64/base.sh +40 -0
  530. data/templates/openbsd54_amd64/chef.sh +2 -0
  531. data/templates/openbsd54_amd64/definition.rb +91 -0
  532. data/templates/openbsd54_amd64/puppet.sh +3 -0
  533. data/templates/openbsd54_amd64/ruby.sh +14 -0
  534. data/templates/openbsd54_amd64/vagrant.sh +27 -0
  535. data/templates/openbsd54_i386/README +28 -0
  536. data/templates/openbsd54_i386/base.sh +40 -0
  537. data/templates/openbsd54_i386/chef.sh +2 -0
  538. data/templates/openbsd54_i386/definition.rb +91 -0
  539. data/templates/openbsd54_i386/puppet.sh +3 -0
  540. data/templates/openbsd54_i386/ruby.sh +14 -0
  541. data/templates/openbsd54_i386/vagrant.sh +27 -0
  542. data/templates/openbsd55_amd64/README +28 -0
  543. data/templates/openbsd55_amd64/base.sh +40 -0
  544. data/templates/openbsd55_amd64/chef.sh +2 -0
  545. data/templates/openbsd55_amd64/definition.rb +93 -0
  546. data/templates/openbsd55_amd64/puppet.sh +3 -0
  547. data/templates/openbsd55_amd64/ruby.sh +14 -0
  548. data/templates/openbsd55_amd64/vagrant.sh +27 -0
  549. data/templates/openbsd55_i386/README +28 -0
  550. data/templates/openbsd55_i386/base.sh +40 -0
  551. data/templates/openbsd55_i386/chef.sh +2 -0
  552. data/templates/openbsd55_i386/definition.rb +93 -0
  553. data/templates/openbsd55_i386/puppet.sh +3 -0
  554. data/templates/openbsd55_i386/ruby.sh +14 -0
  555. data/templates/openbsd55_i386/vagrant.sh +27 -0
  556. data/templates/openindiana-148-ai-x86/definition.rb +1 -1
  557. data/templates/openindiana-151a7-text-x86/definition.rb +1 -1
  558. data/templates/scientificlinux-6.1-i386-netboot/chef.sh +3 -0
  559. data/templates/scientificlinux-6.1-x86_64-netboot/chef.sh +3 -0
  560. data/templates/scientificlinux-6.2-i386-netboot/chef.sh +3 -0
  561. data/templates/scientificlinux-6.2-x86_64-netboot/chef.sh +3 -0
  562. data/templates/scientificlinux-6.3-i386-netboot/chef.sh +3 -0
  563. data/templates/scientificlinux-6.3-x86_64-netboot/chef.sh +3 -0
  564. data/templates/scientificlinux-6.4-i386-netboot/chef.sh +1 -0
  565. data/templates/scientificlinux-6.4-x86_64-netboot/chef.sh +1 -0
  566. data/templates/scientificlinux-6.5-i386-netboot/base.sh +14 -0
  567. data/templates/scientificlinux-6.5-i386-netboot/cfengine.sh +69 -0
  568. data/templates/scientificlinux-6.5-i386-netboot/chef.sh +4 -0
  569. data/templates/scientificlinux-6.5-i386-netboot/cleanup.sh +5 -0
  570. data/templates/scientificlinux-6.5-i386-netboot/definition.rb +40 -0
  571. data/templates/scientificlinux-6.5-i386-netboot/ks.cfg +41 -0
  572. data/templates/scientificlinux-6.5-i386-netboot/puppet.sh +18 -0
  573. data/templates/scientificlinux-6.5-i386-netboot/ruby.sh +3 -0
  574. data/templates/scientificlinux-6.5-i386-netboot/vagrant.sh +18 -0
  575. data/templates/scientificlinux-6.5-i386-netboot/virtualbox.sh +8 -0
  576. data/templates/scientificlinux-6.5-i386-netboot/zerodisk.sh +3 -0
  577. data/templates/scientificlinux-6.5-x86_64-netboot/base.sh +14 -0
  578. data/templates/scientificlinux-6.5-x86_64-netboot/cfengine.sh +69 -0
  579. data/templates/scientificlinux-6.5-x86_64-netboot/chef.sh +4 -0
  580. data/templates/scientificlinux-6.5-x86_64-netboot/cleanup.sh +5 -0
  581. data/templates/scientificlinux-6.5-x86_64-netboot/definition.rb +40 -0
  582. data/templates/scientificlinux-6.5-x86_64-netboot/ks.cfg +41 -0
  583. data/templates/scientificlinux-6.5-x86_64-netboot/puppet.sh +18 -0
  584. data/templates/scientificlinux-6.5-x86_64-netboot/ruby.sh +3 -0
  585. data/templates/scientificlinux-6.5-x86_64-netboot/vagrant.sh +18 -0
  586. data/templates/scientificlinux-6.5-x86_64-netboot/virtualbox.sh +8 -0
  587. data/templates/scientificlinux-6.5-x86_64-netboot/zerodisk.sh +3 -0
  588. data/templates/solaris-10-ga-x86/README.md +5 -7
  589. data/templates/solaris-10-ga-x86/chef.sh +3 -6
  590. data/templates/solaris-10-ga-x86/cleanup.sh +1 -1
  591. data/templates/solaris-10-ga-x86/definition.rb +4 -3
  592. data/templates/solaris-10-ga-x86/postinstall.sh +6 -2
  593. data/templates/solaris-11-express-i386/definition.rb +1 -1
  594. data/templates/ubuntu-10.04.2-amd64-netboot/postinstall.sh +7 -0
  595. data/templates/ubuntu-10.04.2-server-i386-netboot/postinstall.sh +7 -0
  596. data/templates/ubuntu-10.04.3-server-amd64-alt/definition.rb +1 -1
  597. data/templates/ubuntu-10.04.3-server-amd64-alt/postinstall.sh +6 -0
  598. data/templates/ubuntu-10.04.3-server-amd64/base.sh +8 -1
  599. data/templates/ubuntu-10.04.3-server-amd64/chef.sh +8 -1
  600. data/templates/ubuntu-10.04.3-server-amd64/cleanup.sh +7 -0
  601. data/templates/ubuntu-10.04.3-server-amd64/puppet.sh +8 -1
  602. data/templates/ubuntu-10.04.3-server-amd64/ruby.sh +8 -1
  603. data/templates/ubuntu-10.04.3-server-amd64/vagrant.sh +7 -0
  604. data/templates/ubuntu-10.04.3-server-amd64/virtualbox.sh +7 -0
  605. data/templates/ubuntu-10.04.3-server-i386/postinstall.sh +7 -0
  606. data/templates/ubuntu-10.04.4-server-amd64-netboot/base.sh +7 -0
  607. data/templates/ubuntu-10.04.4-server-amd64-netboot/chef.sh +7 -0
  608. data/templates/ubuntu-10.04.4-server-amd64-netboot/cleanup.sh +7 -0
  609. data/templates/ubuntu-10.04.4-server-amd64-netboot/puppet.sh +7 -0
  610. data/templates/ubuntu-10.04.4-server-amd64-netboot/ruby.sh +7 -0
  611. data/templates/ubuntu-10.04.4-server-amd64-netboot/vagrant.sh +7 -0
  612. data/templates/ubuntu-10.04.4-server-amd64-netboot/virtualbox.sh +7 -0
  613. data/templates/ubuntu-10.04.4-server-amd64-netboot/vmfusion.sh +7 -0
  614. data/templates/ubuntu-10.04.4-server-amd64-netboot/zerodisk.sh +7 -0
  615. data/templates/ubuntu-10.04.4-server-amd64/base.sh +7 -0
  616. data/templates/ubuntu-10.04.4-server-amd64/chef.sh +7 -0
  617. data/templates/ubuntu-10.04.4-server-amd64/cleanup.sh +7 -0
  618. data/templates/ubuntu-10.04.4-server-amd64/puppet.sh +7 -0
  619. data/templates/ubuntu-10.04.4-server-amd64/ruby.sh +7 -0
  620. data/templates/ubuntu-10.04.4-server-amd64/vagrant.sh +7 -0
  621. data/templates/ubuntu-10.04.4-server-amd64/virtualbox.sh +7 -0
  622. data/templates/ubuntu-10.04.4-server-amd64/vmfusion.sh +7 -0
  623. data/templates/ubuntu-10.04.4-server-amd64/zerodisk.sh +7 -0
  624. data/templates/ubuntu-10.04.4-server-i386-netboot/base.sh +7 -0
  625. data/templates/ubuntu-10.04.4-server-i386-netboot/chef.sh +7 -0
  626. data/templates/ubuntu-10.04.4-server-i386-netboot/cleanup.sh +7 -0
  627. data/templates/ubuntu-10.04.4-server-i386-netboot/puppet.sh +7 -0
  628. data/templates/ubuntu-10.04.4-server-i386-netboot/ruby.sh +7 -0
  629. data/templates/ubuntu-10.04.4-server-i386-netboot/vagrant.sh +7 -0
  630. data/templates/ubuntu-10.04.4-server-i386-netboot/virtualbox.sh +7 -0
  631. data/templates/ubuntu-10.04.4-server-i386-netboot/vmfusion.sh +7 -0
  632. data/templates/ubuntu-10.04.4-server-i386-netboot/zerodisk.sh +7 -0
  633. data/templates/ubuntu-10.04.4-server-i386/base.sh +7 -0
  634. data/templates/ubuntu-10.04.4-server-i386/chef.sh +7 -0
  635. data/templates/ubuntu-10.04.4-server-i386/cleanup.sh +7 -0
  636. data/templates/ubuntu-10.04.4-server-i386/puppet.sh +7 -0
  637. data/templates/ubuntu-10.04.4-server-i386/ruby.sh +7 -0
  638. data/templates/ubuntu-10.04.4-server-i386/vagrant.sh +7 -0
  639. data/templates/ubuntu-10.04.4-server-i386/virtualbox.sh +7 -0
  640. data/templates/ubuntu-10.04.4-server-i386/vmfusion.sh +7 -0
  641. data/templates/ubuntu-10.04.4-server-i386/zerodisk.sh +7 -0
  642. data/templates/ubuntu-10.10-server-amd64-netboot/postinstall.sh +7 -0
  643. data/templates/ubuntu-10.10-server-amd64/base.sh +7 -0
  644. data/templates/ubuntu-10.10-server-amd64/chef.sh +8 -1
  645. data/templates/ubuntu-10.10-server-amd64/cleanup.sh +7 -0
  646. data/templates/ubuntu-10.10-server-amd64/postinstall.sh +7 -0
  647. data/templates/ubuntu-10.10-server-amd64/puppet.sh +8 -1
  648. data/templates/ubuntu-10.10-server-amd64/ruby.sh +7 -0
  649. data/templates/ubuntu-10.10-server-amd64/vagrant.sh +7 -0
  650. data/templates/ubuntu-10.10-server-amd64/virtualbox.sh +7 -0
  651. data/templates/ubuntu-10.10-server-i386-netboot/postinstall.sh +7 -0
  652. data/templates/ubuntu-10.10-server-i386/postinstall.sh +7 -0
  653. data/templates/ubuntu-11.04-server-amd64/apt-upgrade.sh +7 -0
  654. data/templates/ubuntu-11.04-server-amd64/chef.sh +7 -0
  655. data/templates/ubuntu-11.04-server-amd64/network-cleanup.sh +7 -0
  656. data/templates/ubuntu-11.04-server-amd64/nfs-client.sh +7 -0
  657. data/templates/ubuntu-11.04-server-amd64/puppet.sh +7 -0
  658. data/templates/ubuntu-11.04-server-amd64/remove-build-essentials.sh +7 -0
  659. data/templates/ubuntu-11.04-server-amd64/ruby.sh +7 -0
  660. data/templates/ubuntu-11.04-server-amd64/ssh-keys.sh +7 -0
  661. data/templates/ubuntu-11.04-server-amd64/sudo.sh +7 -0
  662. data/templates/ubuntu-11.04-server-amd64/timestamp.sh +7 -0
  663. data/templates/ubuntu-11.04-server-amd64/vbox_additions.sh +7 -0
  664. data/templates/ubuntu-11.04-server-amd64/zero-disk.sh +7 -0
  665. data/templates/ubuntu-11.04-server-i386/postinstall.sh +7 -0
  666. data/templates/ubuntu-11.10-server-amd64-ishaya/postinstall.sh +7 -0
  667. data/templates/ubuntu-11.10-server-amd64-ruby192/postinstall.sh +7 -0
  668. data/templates/ubuntu-11.10-server-amd64-rvm/postinstall.sh +7 -0
  669. data/templates/ubuntu-11.10-server-amd64/postinstall.sh +7 -0
  670. data/templates/ubuntu-11.10-server-i386/postinstall.sh +7 -0
  671. data/templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh +7 -0
  672. data/templates/ubuntu-12.04.1-server-amd64/postinstall.sh +7 -0
  673. data/templates/ubuntu-12.04.1-server-i386-packages/postinstall.sh +7 -0
  674. data/templates/ubuntu-12.04.1-server-i386/postinstall.sh +7 -0
  675. data/templates/ubuntu-12.04.2-desktop-amd64/postinstall.sh +7 -0
  676. data/templates/ubuntu-12.04.2-server-amd64-netboot/postinstall.sh +7 -0
  677. data/templates/ubuntu-12.04.2-server-amd64-packages/postinstall.sh +7 -0
  678. data/templates/ubuntu-12.04.2-server-amd64/base.sh +7 -0
  679. data/templates/ubuntu-12.04.2-server-amd64/chef.sh +7 -0
  680. data/templates/ubuntu-12.04.2-server-amd64/cleanup.sh +7 -0
  681. data/templates/ubuntu-12.04.2-server-amd64/puppet.sh +7 -0
  682. data/templates/ubuntu-12.04.2-server-amd64/ruby.sh +7 -0
  683. data/templates/ubuntu-12.04.2-server-amd64/vagrant.sh +7 -0
  684. data/templates/ubuntu-12.04.2-server-amd64/virtualbox.sh +7 -0
  685. data/templates/ubuntu-12.04.2-server-amd64/vmfusion.sh +7 -0
  686. data/templates/ubuntu-12.04.2-server-amd64/vmtools.sh +7 -0
  687. data/templates/ubuntu-12.04.2-server-amd64/zerodisk.sh +7 -0
  688. data/templates/ubuntu-12.04.2-server-i386-netboot/postinstall.sh +7 -0
  689. data/templates/ubuntu-12.04.2-server-i386-packages/postinstall.sh +7 -0
  690. data/templates/ubuntu-12.04.2-server-i386/postinstall.sh +7 -0
  691. data/templates/ubuntu-12.04.3-server-amd64/base.sh +1 -0
  692. data/templates/ubuntu-12.04.3-server-i386/apt.sh +1 -0
  693. data/templates/ubuntu-12.04.4-server-amd64/apt.sh +8 -0
  694. data/templates/ubuntu-12.04.4-server-amd64/build_time.sh +1 -0
  695. data/templates/ubuntu-12.04.4-server-amd64/chef.sh +3 -0
  696. data/templates/ubuntu-12.04.4-server-amd64/cleanup.sh +16 -0
  697. data/templates/ubuntu-12.04.4-server-amd64/definition.rb +45 -0
  698. data/templates/ubuntu-12.04.4-server-amd64/preseed.cfg +61 -0
  699. data/templates/ubuntu-12.04.4-server-amd64/puppet.sh +4 -0
  700. data/templates/ubuntu-12.04.4-server-amd64/ruby.sh +25 -0
  701. data/templates/ubuntu-12.04.4-server-amd64/sudo.sh +5 -0
  702. data/templates/ubuntu-12.04.4-server-amd64/vagrant.sh +6 -0
  703. data/templates/ubuntu-12.04.4-server-amd64/vbox.sh +18 -0
  704. data/templates/ubuntu-12.04.4-server-i386/apt.sh +8 -0
  705. data/templates/ubuntu-12.04.4-server-i386/build_time.sh +1 -0
  706. data/templates/ubuntu-12.04.4-server-i386/chef.sh +3 -0
  707. data/templates/ubuntu-12.04.4-server-i386/cleanup.sh +16 -0
  708. data/templates/ubuntu-12.04.4-server-i386/definition.rb +45 -0
  709. data/templates/ubuntu-12.04.4-server-i386/preseed.cfg +61 -0
  710. data/templates/ubuntu-12.04.4-server-i386/puppet.sh +4 -0
  711. data/templates/ubuntu-12.04.4-server-i386/ruby.sh +25 -0
  712. data/templates/ubuntu-12.04.4-server-i386/sudo.sh +5 -0
  713. data/templates/ubuntu-12.04.4-server-i386/vagrant.sh +6 -0
  714. data/templates/ubuntu-12.04.4-server-i386/vbox.sh +18 -0
  715. data/templates/ubuntu-12.10-desktop-amd64/postinstall.sh +7 -0
  716. data/templates/ubuntu-12.10-server-amd64-packages/base.sh +2 -0
  717. data/templates/ubuntu-12.10-server-amd64-packages/chef.sh +2 -0
  718. data/templates/ubuntu-12.10-server-amd64-packages/cleanup.sh +7 -0
  719. data/templates/ubuntu-12.10-server-amd64-packages/puppet.sh +2 -0
  720. data/templates/ubuntu-12.10-server-amd64-packages/ruby.sh +2 -0
  721. data/templates/ubuntu-12.10-server-amd64-packages/vagrant.sh +2 -0
  722. data/templates/ubuntu-12.10-server-amd64-packages/virtualbox.sh +2 -0
  723. data/templates/ubuntu-12.10-server-amd64-packages/zerodisk.sh +2 -0
  724. data/templates/ubuntu-12.10-server-amd64/postinstall.sh +7 -0
  725. data/templates/ubuntu-12.10-server-i386-packages/base.sh +2 -0
  726. data/templates/ubuntu-12.10-server-i386-packages/chef.sh +2 -0
  727. data/templates/ubuntu-12.10-server-i386-packages/cleanup.sh +7 -0
  728. data/templates/ubuntu-12.10-server-i386-packages/puppet.sh +2 -0
  729. data/templates/ubuntu-12.10-server-i386-packages/ruby.sh +2 -0
  730. data/templates/ubuntu-12.10-server-i386-packages/vagrant.sh +2 -0
  731. data/templates/ubuntu-12.10-server-i386-packages/virtualbox.sh +2 -0
  732. data/templates/ubuntu-12.10-server-i386-packages/zerodisk.sh +2 -0
  733. data/templates/ubuntu-12.10-server-i386/postinstall.sh +7 -0
  734. data/templates/ubuntu-13.04-server-amd64-rvm/apt.sh +8 -1
  735. data/templates/ubuntu-13.04-server-amd64-rvm/build_time.sh +7 -0
  736. data/templates/ubuntu-13.04-server-amd64-rvm/chef.sh +8 -1
  737. data/templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh +7 -0
  738. data/templates/ubuntu-13.04-server-amd64-rvm/puppet.sh +8 -1
  739. data/templates/ubuntu-13.04-server-amd64-rvm/rvm.sh +8 -1
  740. data/templates/ubuntu-13.04-server-amd64-rvm/sudo.sh +7 -0
  741. data/templates/ubuntu-13.04-server-amd64-rvm/vagrant.sh +7 -0
  742. data/templates/ubuntu-13.04-server-amd64-rvm/vbox.sh +7 -0
  743. data/templates/ubuntu-13.04-server-amd64/apt.sh +7 -0
  744. data/templates/ubuntu-13.04-server-amd64/build_time.sh +7 -0
  745. data/templates/ubuntu-13.04-server-amd64/chef.sh +7 -0
  746. data/templates/ubuntu-13.04-server-amd64/cleanup.sh +7 -0
  747. data/templates/ubuntu-13.04-server-amd64/puppet.sh +7 -0
  748. data/templates/ubuntu-13.04-server-amd64/ruby.sh +7 -0
  749. data/templates/ubuntu-13.04-server-amd64/sudo.sh +7 -0
  750. data/templates/ubuntu-13.04-server-amd64/vagrant.sh +7 -0
  751. data/templates/ubuntu-13.04-server-amd64/vbox.sh +7 -0
  752. data/templates/ubuntu-14.04-server-amd64/apt.sh +7 -0
  753. data/templates/ubuntu-14.04-server-amd64/build_time.sh +1 -0
  754. data/templates/ubuntu-14.04-server-amd64/chef.sh +3 -0
  755. data/templates/ubuntu-14.04-server-amd64/cleanup.sh +16 -0
  756. data/templates/ubuntu-14.04-server-amd64/definition.rb +46 -0
  757. data/templates/ubuntu-14.04-server-amd64/parallels.sh +9 -0
  758. data/templates/ubuntu-14.04-server-amd64/preseed.cfg +61 -0
  759. data/templates/ubuntu-14.04-server-amd64/puppet.sh +4 -0
  760. data/templates/ubuntu-14.04-server-amd64/ruby.sh +25 -0
  761. data/templates/ubuntu-14.04-server-amd64/sudo.sh +5 -0
  762. data/templates/ubuntu-14.04-server-amd64/vagrant.sh +6 -0
  763. data/templates/ubuntu-14.04-server-amd64/vbox.sh +22 -0
  764. data/templates/ubuntu-8.04.4-server-amd64/postinstall.sh +7 -0
  765. data/templates/ubuntu-8.04.4-server-i386/postinstall.sh +7 -0
  766. data/templates/windows-2008R1-serverweb-amd64/install-vbox-guest.bat +7 -2
  767. data/templates/windows-2008R1-serverweb-i386/install-vbox-guest.bat +7 -2
  768. data/templates/windows-2008R1-serverwebcore-amd64/install-vbox-guest.bat +7 -2
  769. data/templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat +6 -1
  770. data/templates/windows-2008R2-serverweb-amd64/install-vbox-guest.bat +8 -2
  771. data/templates/windows-2008R2-serverwebcore-amd64/install-vbox-guest.bat +7 -2
  772. data/templates/windows-2012-serverstandard-amd64/install-vbox.bat +5 -1
  773. data/templates/windows-2012R2-serverdatacenter-amd64/install-vbox.bat +5 -1
  774. data/templates/windows-7-enterprise-amd64-winrm/install-vbox.bat +6 -3
  775. data/templates/windows-7-enterprise-amd64/install-vbox-guest.bat +7 -2
  776. data/templates/windows-7-enterprise-i386/definition.rb +1 -1
  777. data/templates/windows-7-enterprise-i386/install-winrm.bat +4 -0
  778. data/templates/windows-7-enterprise-i386/postinstall.sh +1 -1
  779. data/templates/windows-8-amd64/definition.rb +3 -3
  780. data/veewee.gemspec +2 -0
  781. metadata +462 -45
  782. data/templates/archlinux-x86_64/basedevel.sh +0 -6
  783. data/templates/funtoo-latest-generic_64-stable/definition.rb +0 -34
  784. data/templates/funtoo-latest-generic_64-stable/postinstall.sh +0 -177
  785. data/templates/funtoo-latest-generic_64-stable/postinstall2.sh +0 -83
@@ -0,0 +1,7 @@
1
+ # Prepare puppetlabs repo
2
+ wget http://apt.puppetlabs.com/puppetlabs-release-wheezy.deb
3
+ dpkg -i puppetlabs-release-wheezy.deb
4
+ apt-get update
5
+
6
+ # Install puppet/facter
7
+ apt-get install -y puppet facter
@@ -0,0 +1,10 @@
1
+ # Install Ruby from packages
2
+ apt-get -y install ruby ruby-dev libopenssl-ruby1.8 irb ri rdoc
3
+
4
+ # Install Rubygems from source
5
+ rg_ver=1.8.22
6
+ curl -o /tmp/rubygems-${rg_ver}.zip \
7
+ "http://production.cf.rubygems.org/rubygems/rubygems-${rg_ver}.zip"
8
+ (cd /tmp && unzip rubygems-${rg_ver}.zip && \
9
+ cd rubygems-${rg_ver} && ruby setup.rb --no-format-executable)
10
+ rm -rf /tmp/rubygems-${rg_ver} /tmp/rubygems-${rg_ver}.zip
@@ -0,0 +1,22 @@
1
+ if [ -f .veewee_params ]
2
+ then
3
+ . .veewee_params
4
+ fi
5
+
6
+ # Default to not installing systemd
7
+ if [ "$USE_SYSTEMD" = yes ]; then
8
+ apt-get install -y systemd
9
+
10
+ cat > /etc/default/grub << EOF
11
+ # If you change this file, run 'update-grub' afterwards to update
12
+ # /boot/grub/grub.cfg.
13
+
14
+ GRUB_DEFAULT=0
15
+ GRUB_TIMEOUT=0
16
+ GRUB_DISTRIBUTOR=Debian
17
+ GRUB_CMDLINE_LINUX_DEFAULT="quiet"
18
+ GRUB_CMDLINE_LINUX="init=/lib/systemd/systemd debian-installer=en_US"
19
+ EOF
20
+
21
+ update-grub
22
+ fi
@@ -0,0 +1,21 @@
1
+ # Set up Vagrant.
2
+
3
+ date > /etc/vagrant_box_build_time
4
+
5
+ # Create the user vagrant with password vagrant
6
+ useradd -G sudo -p $(perl -e'print crypt("vagrant", "vagrant")') -m -s /bin/bash -N vagrant
7
+
8
+ # Install vagrant keys
9
+ mkdir -pm 700 /home/vagrant/.ssh
10
+ curl -Lo /home/vagrant/.ssh/authorized_keys \
11
+ 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub'
12
+ chmod 0600 /home/vagrant/.ssh/authorized_keys
13
+ chown -R vagrant:vagrant /home/vagrant/.ssh
14
+
15
+ # Customize the message of the day
16
+ echo 'Welcome to your Vagrant-built virtual machine.' > /var/run/motd
17
+
18
+ # Install NFS client
19
+ apt-get -y install nfs-common
20
+
21
+
@@ -0,0 +1,37 @@
1
+ if test -f .vbox_version ; then
2
+ # The netboot installs the VirtualBox support (old) so we have to remove it
3
+ if test -f /etc/init.d/virtualbox-ose-guest-utils ; then
4
+ /etc/init.d/virtualbox-ose-guest-utils stop
5
+ fi
6
+
7
+ rmmod vboxguest
8
+ aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms virtualbox-ose-guest-utils
9
+
10
+ # Install dkms for dynamic compiles
11
+
12
+ apt-get install -y dkms
13
+
14
+ # If libdbus is not installed, virtualbox will not autostart
15
+ apt-get -y install --no-install-recommends libdbus-1-3
16
+
17
+ # Install the VirtualBox guest additions
18
+ VBOX_VERSION=$(cat .vbox_version)
19
+ VBOX_ISO=VBoxGuestAdditions_$VBOX_VERSION.iso
20
+ mount -o loop $VBOX_ISO /mnt
21
+ yes|sh /mnt/VBoxLinuxAdditions.run
22
+ umount /mnt
23
+
24
+ # Start the newly build driver
25
+ /etc/init.d/vboxadd start
26
+
27
+ # Make a temporary mount point
28
+ mkdir /tmp/veewee-validation
29
+
30
+ # Test mount the veewee-validation
31
+ mount -t vboxsf veewee-validation /tmp/veewee-validation
32
+
33
+ rm $VBOX_ISO
34
+
35
+ # Symlink vbox guest additions. Fix for https://github.com/mitchellh/vagrant/issues/3341
36
+ ln -s /opt/VBoxGuestAdditions-$VBOX_VERSION/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
37
+ fi
@@ -0,0 +1,7 @@
1
+ cd /tmp
2
+ mkdir -p /mnt/cdrom
3
+ mount -o loop /home/vagrant/linux.iso /mnt/cdrom
4
+ tar zxvf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp/
5
+ /tmp/vmware-tools-distrib/vmware-install.pl -d
6
+ rm /home/vagrant/linux.iso
7
+ umount /mnt/cdrom
@@ -0,0 +1,3 @@
1
+ # Zero out the free space to save space in the final image:
2
+ dd if=/dev/zero of=/EMPTY bs=1M
3
+ rm -f /EMPTY
@@ -0,0 +1,26 @@
1
+ # Update the box
2
+ apt-get -y update
3
+ apt-get -y install linux-headers-$(uname -r) build-essential
4
+ apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
5
+ apt-get -y install curl unzip
6
+ apt-get clean
7
+
8
+ # Set up sudo
9
+ echo 'vagrant ALL=NOPASSWD:ALL' > /etc/sudoers.d/vagrant
10
+
11
+ # Tweak sshd to prevent DNS resolution (speed up logins)
12
+ echo 'UseDNS no' >> /etc/ssh/sshd_config
13
+
14
+ # Remove 5s grub timeout to speed up booting
15
+ cat <<EOF > /etc/default/grub
16
+ # If you change this file, run 'update-grub' afterwards to update
17
+ # /boot/grub/grub.cfg.
18
+
19
+ GRUB_DEFAULT=0
20
+ GRUB_TIMEOUT=0
21
+ GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
22
+ GRUB_CMDLINE_LINUX_DEFAULT="quiet"
23
+ GRUB_CMDLINE_LINUX="debian-installer=en_US"
24
+ EOF
25
+
26
+ update-grub
@@ -0,0 +1,2 @@
1
+ # Install Chef
2
+ gem install chef --no-ri --no-rdoc
@@ -0,0 +1,17 @@
1
+ # Clean up
2
+ apt-get -y remove linux-headers-$(uname -r) build-essential
3
+ apt-get -y autoremove
4
+
5
+ # Removing leftover leases and persistent rules
6
+ echo "cleaning up dhcp leases"
7
+ rm /var/lib/dhcp/*
8
+
9
+ # Make sure Udev doesn't block our network
10
+ echo "cleaning up udev rules"
11
+ rm /etc/udev/rules.d/70-persistent-net.rules
12
+ mkdir /etc/udev/rules.d/70-persistent-net.rules
13
+ rm -rf /dev/.udev/
14
+ rm /lib/udev/rules.d/75-persistent-net-generator.rules
15
+
16
+ echo "Adding a 2 sec delay to the interface up, to make the dhclient happy"
17
+ echo "pre-up sleep 2" >> /etc/network/interfaces
@@ -0,0 +1,51 @@
1
+ Veewee::Definition.declare({
2
+ :cpu_count => '1',
3
+ :memory_size=> '256',
4
+ :disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off',
5
+ :os_type_id => 'Debian',
6
+ :iso_file => "debian-7.5.0-i386-netinst.iso",
7
+ :iso_src => "http://cdimage.debian.org/cdimage/archive/7.5.0/i386/iso-cd/debian-7.5.0-i386-netinst.iso",
8
+ :iso_md5 => "0e6eaacb5a5828473afe90f6df9c8f16",
9
+ :iso_download_timeout => "1000",
10
+ :boot_wait => "10", :boot_cmd_sequence => [
11
+ '<Esc>',
12
+ 'install ',
13
+ 'preseed/url=http://%IP%:%PORT%/preseed.cfg ',
14
+ 'debian-installer=en_US ',
15
+ 'auto ',
16
+ 'locale=en_US ',
17
+ 'kbd-chooser/method=us ',
18
+ 'netcfg/get_hostname=%NAME% ',
19
+ 'netcfg/get_domain=vagrantup.com ',
20
+ 'fb=false ',
21
+ 'debconf/frontend=noninteractive ',
22
+ 'console-setup/ask_detect=false ',
23
+ 'console-keymaps-at/keymap=us ',
24
+ 'keyboard-configuration/xkb-keymap=us ',
25
+ '<Enter>'
26
+ ],
27
+ :kickstart_port => "7122",
28
+ :kickstart_timeout => "10000",
29
+ :kickstart_file => "preseed.cfg",
30
+ :ssh_login_timeout => "10000",
31
+ :ssh_user => "vagrant",
32
+ :ssh_password => "vagrant",
33
+ :ssh_key => "",
34
+ :ssh_host_port => "7222",
35
+ :ssh_guest_port => "22",
36
+ :sudo_cmd => "echo '%p'|sudo -S sh '%f'",
37
+ :shutdown_cmd => "halt -p",
38
+ :postinstall_files => [
39
+ "base.sh",
40
+ "vagrant.sh",
41
+ "virtualbox.sh",
42
+ #"vmfusion.sh",
43
+ "ruby.sh",
44
+ "puppet.sh",
45
+ "chef.sh",
46
+ "systemd.sh",
47
+ "cleanup.sh",
48
+ "zerodisk.sh"
49
+ ],
50
+ :postinstall_timeout => "10000"
51
+ })
@@ -0,0 +1,315 @@
1
+ #### Contents of the preconfiguration file (for wheezy)
2
+ ### Localization
3
+ # Locale sets language and country.
4
+ d-i debian-installer/locale string en_US.UTF-8
5
+
6
+ # Keyboard selection.
7
+ #d-i console-tools/archs select at
8
+ d-i console-keymaps-at/keymap select us
9
+ # Example for a different keyboard architecture
10
+ #d-i console-keymaps-usb/keymap select mac-usb-us
11
+
12
+ ### Network configuration
13
+ # netcfg will choose an interface that has link if possible. This makes it
14
+ # skip displaying a list if there is more than one interface.
15
+ d-i netcfg/choose_interface select auto
16
+
17
+ # To pick a particular interface instead:
18
+ #d-i netcfg/choose_interface select eth1
19
+
20
+ # If you have a slow dhcp server and the installer times out waiting for
21
+ # it, this might be useful.
22
+ #d-i netcfg/dhcp_timeout string 60
23
+
24
+ # If you prefer to configure the network manually, uncomment this line and
25
+ # the static network configuration below.
26
+ #d-i netcfg/disable_dhcp boolean true
27
+
28
+ # If you want the preconfiguration file to work on systems both with and
29
+ # without a dhcp server, uncomment these lines and the static network
30
+ # configuration below.
31
+ #d-i netcfg/dhcp_failed note
32
+ #d-i netcfg/dhcp_options select Configure network manually
33
+
34
+ # Static network configuration.
35
+ #d-i netcfg/get_nameservers string 192.168.1.1
36
+ #d-i netcfg/get_ipaddress string 192.168.1.42
37
+ #d-i netcfg/get_netmask string 255.255.255.0
38
+ #d-i netcfg/get_gateway string 192.168.1.1
39
+ #d-i netcfg/confirm_static boolean true
40
+
41
+ # Any hostname and domain names assigned from dhcp take precedence over
42
+ # values set here. However, setting the values still prevents the questions
43
+ # from being shown, even if values come from dhcp.
44
+ #d-i netcfg/get_hostname string vagrant
45
+ d-i netcfg/get_domain string vagrantup.com
46
+
47
+ # Disable that annoying WEP key dialog.
48
+ d-i netcfg/wireless_wep string
49
+ # The wacky dhcp hostname that some ISPs use as a password of sorts.
50
+ #d-i netcfg/dhcp_hostname string radish
51
+
52
+ # If non-free firmware is needed for the network or other hardware, you can
53
+ # configure the installer to always try to load it, without prompting. Or
54
+ # change to false to disable asking.
55
+ #d-i hw-detect/load_firmware boolean true
56
+
57
+ ### Network console
58
+ # Use the following settings if you wish to make use of the network-console
59
+ # component for remote installation over SSH. This only makes sense if you
60
+ # intend to perform the remainder of the installation manually.
61
+ #d-i anna/choose_modules string network-console
62
+ #d-i network-console/password password r00tme
63
+ #d-i network-console/password-again password r00tme
64
+
65
+ ### Mirror settings
66
+ # If you select ftp, the mirror/country string does not need to be set.
67
+ #d-i mirror/protocol string ftp
68
+ d-i mirror/country string manual
69
+ d-i mirror/http/hostname string http.us.debian.org
70
+ d-i mirror/http/directory string /debian
71
+ d-i mirror/http/proxy string
72
+
73
+ # Suite to install.
74
+ #d-i mirror/suite string testing
75
+ # Suite to use for loading installer components (optional).
76
+ #d-i mirror/udeb/suite string testing
77
+
78
+ ### Clock and time zone setup
79
+ # Controls whether or not the hardware clock is set to UTC.
80
+ d-i clock-setup/utc boolean true
81
+
82
+ # You may set this to any valid setting for $TZ; see the contents of
83
+ # /usr/share/zoneinfo/ for valid values.
84
+ d-i time/zone string UTC
85
+
86
+ # Controls whether to use NTP to set the clock during the install
87
+ d-i clock-setup/ntp boolean true
88
+ # NTP server to use. The default is almost always fine here.
89
+ #d-i clock-setup/ntp-server string ntp.example.com
90
+
91
+ ### Partitioning
92
+ # If the system has free space you can choose to only partition that space.
93
+ #d-i partman-auto/init_automatically_partition select biggest_free
94
+
95
+ # Alternatively, you can specify a disk to partition. The device name must
96
+ # be given in traditional non-devfs format.
97
+ # Note: A disk must be specified, unless the system has only one disk.
98
+ # For example, to use the first SCSI/SATA hard disk:
99
+ #d-i partman-auto/disk string /dev/sda
100
+ # In addition, you'll need to specify the method to use.
101
+ # The presently available methods are: "regular", "lvm" and "crypto"
102
+ d-i partman-auto/method string lvm
103
+
104
+ # If one of the disks that are going to be automatically partitioned
105
+ # contains an old LVM configuration, the user will normally receive a
106
+ # warning. This can be preseeded away...
107
+ d-i partman-lvm/device_remove_lvm boolean true
108
+ # The same applies to pre-existing software RAID array:
109
+ d-i partman-md/device_remove_md boolean true
110
+
111
+ # And the same goes for the confirmation to write the lvm partitions.
112
+ d-i partman-lvm/confirm boolean true
113
+ d-i partman-lvm/confirm_nooverwrite boolean true
114
+
115
+
116
+ d-i partman/choose_partition select finish
117
+ d-i partman-auto-lvm/guided_size string max
118
+
119
+ # You can choose one of the three predefined partitioning recipes:
120
+ # - atomic: all files in one partition
121
+ # - home: separate /home partition
122
+ # - multi: separate /home, /usr, /var, and /tmp partitions
123
+ d-i partman-auto/choose_recipe select atomic
124
+ d-i partman/default_filesystem string ext3
125
+
126
+ # Or provide a recipe of your own...
127
+ # The recipe format is documented in the file devel/partman-auto-recipe.txt.
128
+ # If you have a way to get a recipe file into the d-i environment, you can
129
+ # just point at it.
130
+ #d-i partman-auto/expert_recipe_file string /hd-media/recipe
131
+
132
+ # If not, you can put an entire recipe into the preconfiguration file in one
133
+ # (logical) line. This example creates a small /boot partition, suitable
134
+ # swap, and uses the rest of the space for the root partition:
135
+ #d-i partman-auto/expert_recipe string \
136
+ # boot-root :: \
137
+ # 40 50 100 ext3 \
138
+ # $primary{ } $bootable{ } \
139
+ # method{ format } format{ } \
140
+ # use_filesystem{ } filesystem{ ext3 } \
141
+ # mountpoint{ /boot } \
142
+ # . \
143
+ # 500 10000 1000000000 ext3 \
144
+ # method{ format } format{ } \
145
+ # use_filesystem{ } filesystem{ ext3 } \
146
+ # mountpoint{ / } \
147
+ # . \
148
+ # 64 512 300% linux-swap \
149
+ # method{ swap } format{ } \
150
+ # .
151
+
152
+ #The preseed line that "selects finish" needs to be in a certain order in your preseed, the example-preseed does not follow this.
153
+ #http://ubuntuforums.org/archive/index.php/t-1504045.html
154
+
155
+ # This makes partman automatically partition without confirmation, provided
156
+ # that you told it what to do using one of the methods above.
157
+ d-i partman/confirm_write_new_label boolean true
158
+ d-i partman/confirm boolean true
159
+ d-i partman/confirm_nooverwrite boolean true
160
+
161
+
162
+ ### Base system installation
163
+ # Select the initramfs generator used to generate the initrd for 2.6 kernels.
164
+ #d-i base-installer/kernel/linux/initramfs-generators string yaird
165
+
166
+ # The kernel image (meta) package to be installed; "none" can be used if no
167
+ # kernel is to be installed.
168
+ #d-i base-installer/kernel/image string linux-image-2.6-486
169
+
170
+ ### Account setup
171
+ # Skip creation of a root account (normal user account will be able to
172
+ # use sudo).
173
+ d-i passwd/root-login boolean false
174
+ # Alternatively, to skip creation of a normal user account.
175
+ #d-i passwd/make-user boolean false
176
+
177
+ # Root password, either in clear text
178
+ d-i passwd/root-password password vagrant
179
+ d-i passwd/root-password-again password vagrant
180
+ # or encrypted using an MD5 hash.
181
+ #d-i passwd/root-password-crypted password [MD5 hash]
182
+
183
+ # To create a normal user account.
184
+ d-i passwd/user-fullname string Vagrant User
185
+ d-i passwd/username string vagrant
186
+ # Normal user's password, either in clear text
187
+ d-i passwd/user-password password vagrant
188
+ d-i passwd/user-password-again password vagrant
189
+ # or encrypted using an MD5 hash.
190
+ #d-i passwd/user-password-crypted password [MD5 hash]
191
+ # Create the first user with the specified UID instead of the default.
192
+ #d-i passwd/user-uid string 1010
193
+ d-i user-setup/encrypt-home boolean false
194
+ d-i user-setup/allow-password-weak boolean true
195
+
196
+ # The user account will be added to some standard initial groups. To
197
+ # override that, use this.
198
+ d-i passwd/user-default-groups string audio cdrom video admin
199
+
200
+ ### Apt setup
201
+ # You can choose to install non-free and contrib software.
202
+ #d-i apt-setup/non-free boolean true
203
+ #d-i apt-setup/contrib boolean true
204
+ # Uncomment this if you don't want to use a network mirror.
205
+ #d-i apt-setup/use_mirror boolean false
206
+ # Select which update services to use; define the mirrors to be used.
207
+ # Values shown below are the normal defaults.
208
+ #d-i apt-setup/services-select multiselect security, volatile
209
+ #d-i apt-setup/security_host string security.debian.org
210
+ #d-i apt-setup/volatile_host string volatile.debian.org
211
+
212
+
213
+ # By default the installer requires that repositories be authenticated
214
+ # using a known gpg key. This setting can be used to disable that
215
+ # authentication. Warning: Insecure, not recommended.
216
+ #d-i debian-installer/allow_unauthenticated string true
217
+
218
+ ### Package selection
219
+ tasksel tasksel/first multiselect standard
220
+ # If the desktop task is selected, install the kde and xfce desktops
221
+ # instead of the default gnome desktop.
222
+ #tasksel tasksel/desktop multiselect kde, xfce
223
+
224
+ # Individual additional packages to install
225
+ d-i pkgsel/include string openssh-server ntp acpid sudo bzip2 rsync
226
+
227
+ # Whether to upgrade packages after debootstrap.
228
+ # Allowed values: none, safe-upgrade, full-upgrade
229
+ d-i pkgsel/upgrade select none
230
+
231
+ # Some versions of the installer can report back on what software you have
232
+ # installed, and what software you use. The default is not to report back,
233
+ # but sending reports helps the project determine what software is most
234
+ # popular and include it on CDs.
235
+ popularity-contest popularity-contest/participate boolean false
236
+
237
+ ### Boot loader installation
238
+ # Grub is the default boot loader (for x86). If you want lilo installed
239
+ # instead, uncomment this:
240
+ #d-i grub-installer/skip boolean true
241
+ # To also skip installing lilo, and install no bootloader, uncomment this
242
+ # too:
243
+ #d-i lilo-installer/skip boolean true
244
+
245
+ # This is fairly safe to set, it makes grub install automatically to the MBR
246
+ # if no other operating system is detected on the machine.
247
+ d-i grub-installer/only_debian boolean true
248
+
249
+ # This one makes grub-installer install to the MBR if it also finds some other
250
+ # OS, which is less safe as it might not be able to boot that other OS.
251
+ d-i grub-installer/with_other_os boolean true
252
+
253
+ # Alternatively, if you want to install to a location other than the mbr,
254
+ # uncomment and edit these lines:
255
+ #d-i grub-installer/only_debian boolean false
256
+ #d-i grub-installer/with_other_os boolean false
257
+ #d-i grub-installer/bootdev string (hd0,0)
258
+ # To install grub to multiple disks:
259
+ #d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)
260
+
261
+ # Optional password for grub, either in clear text
262
+ #d-i grub-installer/password password r00tme
263
+ #d-i grub-installer/password-again password r00tme
264
+ # or encrypted using an MD5 hash, see grub-md5-crypt(8).
265
+ #d-i grub-installer/password-crypted password [MD5 hash]
266
+
267
+ ### Finishing up the installation
268
+ # During installations from serial console, the regular virtual consoles
269
+ # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
270
+ # line to prevent this.
271
+ #d-i finish-install/keep-consoles boolean true
272
+
273
+ # Avoid that last message about the install being complete.
274
+ d-i finish-install/reboot_in_progress note
275
+
276
+ # This will prevent the installer from ejecting the CD during the reboot,
277
+ # which is useful in some situations.
278
+ #d-i cdrom-detect/eject boolean false
279
+
280
+ # This is how to make the installer shutdown when finished, but not
281
+ # reboot into the installed system.
282
+ #d-i debian-installer/exit/halt boolean true
283
+ # This will power off the machine instead of just halting it.
284
+ #d-i debian-installer/exit/poweroff boolean true
285
+
286
+ ### Preseeding other packages
287
+ # Depending on what software you choose to install, or if things go wrong
288
+ # during the installation process, it's possible that other questions may
289
+ # be asked. You can preseed those too, of course. To get a list of every
290
+ # possible question that could be asked during an install, do an
291
+ # installation, and then run these commands:
292
+ # debconf-get-selections --installer > file
293
+ # debconf-get-selections >> file
294
+
295
+
296
+ #### Advanced options
297
+ ### Running custom commands during the installation
298
+ # d-i preseeding is inherently not secure. Nothing in the installer checks
299
+ # for attempts at buffer overflows or other exploits of the values of a
300
+ # preconfiguration file like this one. Only use preconfiguration files from
301
+ # trusted locations! To drive that home, and because it's generally useful,
302
+ # here's a way to run any shell command you'd like inside the installer,
303
+ # automatically.
304
+
305
+ # This first command is run as early as possible, just after
306
+ # preseeding is read.
307
+ # Prevent packaged version of VirtualBox Guest Additions being installed:
308
+ d-i preseed/early_command string sed -i \
309
+ '/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \
310
+ /usr/lib/pre-pkgsel.d/20install-hwpackages
311
+
312
+ # This command is run just before the install finishes, but when there is
313
+ # still a usable /target directory. You can chroot to /target and use it
314
+ # directly, or use the apt-install and in-target commands to easily install
315
+ # packages and run commands in the target system.