vagrant-lxc 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (473) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +29 -0
  3. data/.gitmodules +3 -0
  4. data/.rspec +2 -0
  5. data/.travis.yml +8 -0
  6. data/.vimrc +1 -0
  7. data/Gemfile +19 -0
  8. data/Gemfile.lock +89 -0
  9. data/Guardfile +34 -0
  10. data/LICENSE.txt +22 -0
  11. data/README.md +209 -0
  12. data/Rakefile +5 -0
  13. data/bin/vagrant-lxc +9 -0
  14. data/boxes/quantal64/download-ubuntu +103 -0
  15. data/boxes/quantal64/lxc-template +567 -0
  16. data/boxes/quantal64/metadata.json +9 -0
  17. data/development/Vagrantfile.1.0 +35 -0
  18. data/development/Vagrantfile.1.1 +55 -0
  19. data/development/lxc-configs/lxc-dev-box +37 -0
  20. data/development/lxc-configs/vbox +37 -0
  21. data/development/shell-provisioning/upgrade-kernel +14 -0
  22. data/development/site.pp +125 -0
  23. data/example/Vagrantfile +42 -0
  24. data/example/puppet/manifests/site.pp +5 -0
  25. data/example/puppet/modules/hello_world/manifests/init.pp +3 -0
  26. data/lib/vagrant-lxc.rb +6 -0
  27. data/lib/vagrant-lxc/action.rb +188 -0
  28. data/lib/vagrant-lxc/action/base_action.rb +11 -0
  29. data/lib/vagrant-lxc/action/boot.rb +55 -0
  30. data/lib/vagrant-lxc/action/check_created.rb +17 -0
  31. data/lib/vagrant-lxc/action/check_running.rb +17 -0
  32. data/lib/vagrant-lxc/action/create.rb +14 -0
  33. data/lib/vagrant-lxc/action/created.rb +16 -0
  34. data/lib/vagrant-lxc/action/destroy.rb +14 -0
  35. data/lib/vagrant-lxc/action/forced_halt.rb +22 -0
  36. data/lib/vagrant-lxc/action/handle_box_metadata.rb +47 -0
  37. data/lib/vagrant-lxc/action/is_running.rb +15 -0
  38. data/lib/vagrant-lxc/action/network.rb +21 -0
  39. data/lib/vagrant-lxc/action/share_folders.rb +65 -0
  40. data/lib/vagrant-lxc/config.rb +14 -0
  41. data/lib/vagrant-lxc/container.rb +170 -0
  42. data/lib/vagrant-lxc/container/cli.rb +124 -0
  43. data/lib/vagrant-lxc/errors.rb +12 -0
  44. data/lib/vagrant-lxc/machine_state.rb +25 -0
  45. data/lib/vagrant-lxc/plugin.rb +23 -0
  46. data/lib/vagrant-lxc/provider.rb +74 -0
  47. data/lib/vagrant-lxc/version.rb +5 -0
  48. data/lib/vendored_vagrant.rb +9 -0
  49. data/locales/en.yml +17 -0
  50. data/spec/fixtures/sample-arp-output +4 -0
  51. data/spec/fixtures/sample-config +47 -0
  52. data/spec/spec_helper.rb +32 -0
  53. data/spec/support/unit_example_group.rb +28 -0
  54. data/spec/unit/action/handle_box_metadata_spec.rb +44 -0
  55. data/spec/unit/container/cli_spec.rb +148 -0
  56. data/spec/unit/container_spec.rb +151 -0
  57. data/spec/unit/machine_state_spec.rb +39 -0
  58. data/spec/unit_helper.rb +9 -0
  59. data/tasks/boxes.rake +17 -0
  60. data/tasks/spec.rake +30 -0
  61. data/vagrant-lxc.gemspec +32 -0
  62. data/vendor/.gitkeep +0 -0
  63. data/vendor/vagrant/.gitignore +31 -0
  64. data/vendor/vagrant/.travis.yml +7 -0
  65. data/vendor/vagrant/.yardopts +1 -0
  66. data/vendor/vagrant/CHANGELOG.md +803 -0
  67. data/vendor/vagrant/Gemfile +3 -0
  68. data/vendor/vagrant/LICENSE +21 -0
  69. data/vendor/vagrant/README.md +89 -0
  70. data/vendor/vagrant/Rakefile +18 -0
  71. data/vendor/vagrant/bin/vagrant +84 -0
  72. data/vendor/vagrant/config/default.rb +35 -0
  73. data/vendor/vagrant/contrib/README.md +12 -0
  74. data/vendor/vagrant/contrib/bash/completion.sh +3 -0
  75. data/vendor/vagrant/contrib/emacs/vagrant.el +8 -0
  76. data/vendor/vagrant/contrib/vim/vagrantfile.vim +9 -0
  77. data/vendor/vagrant/keys/README.md +17 -0
  78. data/vendor/vagrant/keys/vagrant +27 -0
  79. data/vendor/vagrant/keys/vagrant.pub +1 -0
  80. data/vendor/vagrant/lib/vagrant.rb +251 -0
  81. data/vendor/vagrant/lib/vagrant/action.rb +42 -0
  82. data/vendor/vagrant/lib/vagrant/action/builder.rb +154 -0
  83. data/vendor/vagrant/lib/vagrant/action/builtin/box_add.rb +79 -0
  84. data/vendor/vagrant/lib/vagrant/action/builtin/call.rb +67 -0
  85. data/vendor/vagrant/lib/vagrant/action/builtin/config_validate.rb +30 -0
  86. data/vendor/vagrant/lib/vagrant/action/builtin/confirm.rb +38 -0
  87. data/vendor/vagrant/lib/vagrant/action/builtin/env_set.rb +24 -0
  88. data/vendor/vagrant/lib/vagrant/action/builtin/graceful_halt.rb +73 -0
  89. data/vendor/vagrant/lib/vagrant/action/builtin/handle_box_url.rb +43 -0
  90. data/vendor/vagrant/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +117 -0
  91. data/vendor/vagrant/lib/vagrant/action/builtin/lock.rb +57 -0
  92. data/vendor/vagrant/lib/vagrant/action/builtin/nfs.rb +117 -0
  93. data/vendor/vagrant/lib/vagrant/action/builtin/provision.rb +70 -0
  94. data/vendor/vagrant/lib/vagrant/action/builtin/set_hostname.rb +27 -0
  95. data/vendor/vagrant/lib/vagrant/action/builtin/ssh_exec.rb +42 -0
  96. data/vendor/vagrant/lib/vagrant/action/builtin/ssh_run.rb +43 -0
  97. data/vendor/vagrant/lib/vagrant/action/general/package.rb +102 -0
  98. data/vendor/vagrant/lib/vagrant/action/hook.rb +103 -0
  99. data/vendor/vagrant/lib/vagrant/action/runner.rb +69 -0
  100. data/vendor/vagrant/lib/vagrant/action/warden.rb +103 -0
  101. data/vendor/vagrant/lib/vagrant/box.rb +93 -0
  102. data/vendor/vagrant/lib/vagrant/box_collection.rb +315 -0
  103. data/vendor/vagrant/lib/vagrant/cli.rb +82 -0
  104. data/vendor/vagrant/lib/vagrant/config.rb +63 -0
  105. data/vendor/vagrant/lib/vagrant/config/container.rb +37 -0
  106. data/vendor/vagrant/lib/vagrant/config/loader.rb +222 -0
  107. data/vendor/vagrant/lib/vagrant/config/v1.rb +9 -0
  108. data/vendor/vagrant/lib/vagrant/config/v1/dummy_config.rb +13 -0
  109. data/vendor/vagrant/lib/vagrant/config/v1/loader.rb +105 -0
  110. data/vendor/vagrant/lib/vagrant/config/v1/root.rb +60 -0
  111. data/vendor/vagrant/lib/vagrant/config/v2.rb +9 -0
  112. data/vendor/vagrant/lib/vagrant/config/v2/dummy_config.rb +13 -0
  113. data/vendor/vagrant/lib/vagrant/config/v2/loader.rb +141 -0
  114. data/vendor/vagrant/lib/vagrant/config/v2/root.rb +105 -0
  115. data/vendor/vagrant/lib/vagrant/config/v2/util.rb +21 -0
  116. data/vendor/vagrant/lib/vagrant/config/version_base.rb +80 -0
  117. data/vendor/vagrant/lib/vagrant/downloaders.rb +7 -0
  118. data/vendor/vagrant/lib/vagrant/downloaders/base.rb +22 -0
  119. data/vendor/vagrant/lib/vagrant/downloaders/file.rb +28 -0
  120. data/vendor/vagrant/lib/vagrant/downloaders/http.rb +116 -0
  121. data/vendor/vagrant/lib/vagrant/environment.rb +729 -0
  122. data/vendor/vagrant/lib/vagrant/errors.rb +486 -0
  123. data/vendor/vagrant/lib/vagrant/hosts.rb +28 -0
  124. data/vendor/vagrant/lib/vagrant/machine.rb +325 -0
  125. data/vendor/vagrant/lib/vagrant/machine_state.rb +45 -0
  126. data/vendor/vagrant/lib/vagrant/plugin.rb +6 -0
  127. data/vendor/vagrant/lib/vagrant/plugin/v1.rb +19 -0
  128. data/vendor/vagrant/lib/vagrant/plugin/v1/command.rb +169 -0
  129. data/vendor/vagrant/lib/vagrant/plugin/v1/communicator.rb +98 -0
  130. data/vendor/vagrant/lib/vagrant/plugin/v1/config.rb +112 -0
  131. data/vendor/vagrant/lib/vagrant/plugin/v1/errors.rb +15 -0
  132. data/vendor/vagrant/lib/vagrant/plugin/v1/guest.rb +92 -0
  133. data/vendor/vagrant/lib/vagrant/plugin/v1/host.rb +66 -0
  134. data/vendor/vagrant/lib/vagrant/plugin/v1/manager.rb +131 -0
  135. data/vendor/vagrant/lib/vagrant/plugin/v1/plugin.rb +229 -0
  136. data/vendor/vagrant/lib/vagrant/plugin/v1/provider.rb +68 -0
  137. data/vendor/vagrant/lib/vagrant/plugin/v1/provisioner.rb +50 -0
  138. data/vendor/vagrant/lib/vagrant/plugin/v2.rb +22 -0
  139. data/vendor/vagrant/lib/vagrant/plugin/v2/command.rb +234 -0
  140. data/vendor/vagrant/lib/vagrant/plugin/v2/communicator.rb +98 -0
  141. data/vendor/vagrant/lib/vagrant/plugin/v2/components.rb +29 -0
  142. data/vendor/vagrant/lib/vagrant/plugin/v2/config.rb +101 -0
  143. data/vendor/vagrant/lib/vagrant/plugin/v2/errors.rb +15 -0
  144. data/vendor/vagrant/lib/vagrant/plugin/v2/guest.rb +92 -0
  145. data/vendor/vagrant/lib/vagrant/plugin/v2/host.rb +66 -0
  146. data/vendor/vagrant/lib/vagrant/plugin/v2/manager.rb +158 -0
  147. data/vendor/vagrant/lib/vagrant/plugin/v2/plugin.rb +217 -0
  148. data/vendor/vagrant/lib/vagrant/plugin/v2/provider.rb +69 -0
  149. data/vendor/vagrant/lib/vagrant/plugin/v2/provisioner.rb +47 -0
  150. data/vendor/vagrant/lib/vagrant/registry.rb +78 -0
  151. data/vendor/vagrant/lib/vagrant/ssh.rb +132 -0
  152. data/vendor/vagrant/lib/vagrant/test_helpers.rb +154 -0
  153. data/vendor/vagrant/lib/vagrant/ui.rb +170 -0
  154. data/vendor/vagrant/lib/vagrant/util.rb +12 -0
  155. data/vendor/vagrant/lib/vagrant/util/ansi_escape_code_remover.rb +34 -0
  156. data/vendor/vagrant/lib/vagrant/util/busy.rb +59 -0
  157. data/vendor/vagrant/lib/vagrant/util/counter.rb +24 -0
  158. data/vendor/vagrant/lib/vagrant/util/file_checksum.rb +38 -0
  159. data/vendor/vagrant/lib/vagrant/util/file_mode.rb +12 -0
  160. data/vendor/vagrant/lib/vagrant/util/hash_with_indifferent_access.rb +63 -0
  161. data/vendor/vagrant/lib/vagrant/util/is_port_open.rb +38 -0
  162. data/vendor/vagrant/lib/vagrant/util/line_ending_helpers.rb +14 -0
  163. data/vendor/vagrant/lib/vagrant/util/network_ip.rb +28 -0
  164. data/vendor/vagrant/lib/vagrant/util/platform.rb +68 -0
  165. data/vendor/vagrant/lib/vagrant/util/retryable.rb +31 -0
  166. data/vendor/vagrant/lib/vagrant/util/safe_exec.rb +36 -0
  167. data/vendor/vagrant/lib/vagrant/util/safe_puts.rb +31 -0
  168. data/vendor/vagrant/lib/vagrant/util/scoped_hash_override.rb +45 -0
  169. data/vendor/vagrant/lib/vagrant/util/ssh.rb +126 -0
  170. data/vendor/vagrant/lib/vagrant/util/stacked_proc_runner.rb +35 -0
  171. data/vendor/vagrant/lib/vagrant/util/string_block_editor.rb +75 -0
  172. data/vendor/vagrant/lib/vagrant/util/subprocess.rb +270 -0
  173. data/vendor/vagrant/lib/vagrant/util/template_renderer.rb +83 -0
  174. data/vendor/vagrant/lib/vagrant/util/which.rb +43 -0
  175. data/vendor/vagrant/lib/vagrant/version.rb +6 -0
  176. data/vendor/vagrant/plugins/README.md +5 -0
  177. data/vendor/vagrant/plugins/commands/box/command/add.rb +52 -0
  178. data/vendor/vagrant/plugins/commands/box/command/list.rb +41 -0
  179. data/vendor/vagrant/plugins/commands/box/command/remove.rb +37 -0
  180. data/vendor/vagrant/plugins/commands/box/command/repackage.rb +43 -0
  181. data/vendor/vagrant/plugins/commands/box/command/root.rb +75 -0
  182. data/vendor/vagrant/plugins/commands/box/plugin.rb +15 -0
  183. data/vendor/vagrant/plugins/commands/destroy/command.rb +31 -0
  184. data/vendor/vagrant/plugins/commands/destroy/plugin.rb +18 -0
  185. data/vendor/vagrant/plugins/commands/halt/command.rb +33 -0
  186. data/vendor/vagrant/plugins/commands/halt/plugin.rb +18 -0
  187. data/vendor/vagrant/plugins/commands/init/command.rb +40 -0
  188. data/vendor/vagrant/plugins/commands/init/plugin.rb +18 -0
  189. data/vendor/vagrant/plugins/commands/package/command.rb +78 -0
  190. data/vendor/vagrant/plugins/commands/package/plugin.rb +18 -0
  191. data/vendor/vagrant/plugins/commands/plugin/action.rb +52 -0
  192. data/vendor/vagrant/plugins/commands/plugin/action/bundler_check.rb +25 -0
  193. data/vendor/vagrant/plugins/commands/plugin/action/install_gem.rb +70 -0
  194. data/vendor/vagrant/plugins/commands/plugin/action/license_plugin.rb +54 -0
  195. data/vendor/vagrant/plugins/commands/plugin/action/list_plugins.rb +54 -0
  196. data/vendor/vagrant/plugins/commands/plugin/action/prune_gems.rb +149 -0
  197. data/vendor/vagrant/plugins/commands/plugin/action/uninstall_plugin.rb +23 -0
  198. data/vendor/vagrant/plugins/commands/plugin/command/base.rb +22 -0
  199. data/vendor/vagrant/plugins/commands/plugin/command/install.rb +39 -0
  200. data/vendor/vagrant/plugins/commands/plugin/command/license.rb +31 -0
  201. data/vendor/vagrant/plugins/commands/plugin/command/list.rb +28 -0
  202. data/vendor/vagrant/plugins/commands/plugin/command/root.rb +75 -0
  203. data/vendor/vagrant/plugins/commands/plugin/command/uninstall.rb +28 -0
  204. data/vendor/vagrant/plugins/commands/plugin/gem_helper.rb +74 -0
  205. data/vendor/vagrant/plugins/commands/plugin/plugin.rb +22 -0
  206. data/vendor/vagrant/plugins/commands/plugin/state_file.rb +57 -0
  207. data/vendor/vagrant/plugins/commands/provision/command.rb +34 -0
  208. data/vendor/vagrant/plugins/commands/provision/plugin.rb +18 -0
  209. data/vendor/vagrant/plugins/commands/reload/command.rb +37 -0
  210. data/vendor/vagrant/plugins/commands/reload/plugin.rb +18 -0
  211. data/vendor/vagrant/plugins/commands/resume/command.rb +25 -0
  212. data/vendor/vagrant/plugins/commands/resume/plugin.rb +17 -0
  213. data/vendor/vagrant/plugins/commands/ssh/command.rb +66 -0
  214. data/vendor/vagrant/plugins/commands/ssh/plugin.rb +17 -0
  215. data/vendor/vagrant/plugins/commands/ssh_config/command.rb +49 -0
  216. data/vendor/vagrant/plugins/commands/ssh_config/plugin.rb +18 -0
  217. data/vendor/vagrant/plugins/commands/status/command.rb +39 -0
  218. data/vendor/vagrant/plugins/commands/status/plugin.rb +18 -0
  219. data/vendor/vagrant/plugins/commands/suspend/command.rb +25 -0
  220. data/vendor/vagrant/plugins/commands/suspend/plugin.rb +18 -0
  221. data/vendor/vagrant/plugins/commands/up/command.rb +45 -0
  222. data/vendor/vagrant/plugins/commands/up/plugin.rb +17 -0
  223. data/vendor/vagrant/plugins/commands/up/start_mixins.rb +26 -0
  224. data/vendor/vagrant/plugins/communicators/ssh/communicator.rb +317 -0
  225. data/vendor/vagrant/plugins/communicators/ssh/plugin.rb +19 -0
  226. data/vendor/vagrant/plugins/guests/arch/guest.rb +41 -0
  227. data/vendor/vagrant/plugins/guests/arch/plugin.rb +15 -0
  228. data/vendor/vagrant/plugins/guests/debian/guest.rb +72 -0
  229. data/vendor/vagrant/plugins/guests/debian/plugin.rb +15 -0
  230. data/vendor/vagrant/plugins/guests/fedora/guest.rb +71 -0
  231. data/vendor/vagrant/plugins/guests/fedora/plugin.rb +15 -0
  232. data/vendor/vagrant/plugins/guests/freebsd/config.rb +13 -0
  233. data/vendor/vagrant/plugins/guests/freebsd/guest.rb +70 -0
  234. data/vendor/vagrant/plugins/guests/freebsd/plugin.rb +20 -0
  235. data/vendor/vagrant/plugins/guests/gentoo/guest.rb +51 -0
  236. data/vendor/vagrant/plugins/guests/gentoo/plugin.rb +15 -0
  237. data/vendor/vagrant/plugins/guests/linux/config.rb +13 -0
  238. data/vendor/vagrant/plugins/guests/linux/guest.rb +118 -0
  239. data/vendor/vagrant/plugins/guests/linux/plugin.rb +20 -0
  240. data/vendor/vagrant/plugins/guests/openbsd/guest.rb +13 -0
  241. data/vendor/vagrant/plugins/guests/openbsd/plugin.rb +15 -0
  242. data/vendor/vagrant/plugins/guests/redhat/guest.rb +74 -0
  243. data/vendor/vagrant/plugins/guests/redhat/plugin.rb +15 -0
  244. data/vendor/vagrant/plugins/guests/solaris/config.rb +18 -0
  245. data/vendor/vagrant/plugins/guests/solaris/guest.rb +73 -0
  246. data/vendor/vagrant/plugins/guests/solaris/plugin.rb +20 -0
  247. data/vendor/vagrant/plugins/guests/suse/guest.rb +24 -0
  248. data/vendor/vagrant/plugins/guests/suse/plugin.rb +15 -0
  249. data/vendor/vagrant/plugins/guests/ubuntu/guest.rb +44 -0
  250. data/vendor/vagrant/plugins/guests/ubuntu/plugin.rb +15 -0
  251. data/vendor/vagrant/plugins/hosts/arch/host.rb +68 -0
  252. data/vendor/vagrant/plugins/hosts/arch/plugin.rb +15 -0
  253. data/vendor/vagrant/plugins/hosts/bsd/host.rb +102 -0
  254. data/vendor/vagrant/plugins/hosts/bsd/plugin.rb +15 -0
  255. data/vendor/vagrant/plugins/hosts/fedora/host.rb +51 -0
  256. data/vendor/vagrant/plugins/hosts/fedora/plugin.rb +15 -0
  257. data/vendor/vagrant/plugins/hosts/freebsd/host.rb +43 -0
  258. data/vendor/vagrant/plugins/hosts/freebsd/plugin.rb +15 -0
  259. data/vendor/vagrant/plugins/hosts/gentoo/host.rb +24 -0
  260. data/vendor/vagrant/plugins/hosts/gentoo/plugin.rb +15 -0
  261. data/vendor/vagrant/plugins/hosts/linux/host.rb +95 -0
  262. data/vendor/vagrant/plugins/hosts/linux/plugin.rb +15 -0
  263. data/vendor/vagrant/plugins/hosts/opensuse/host.rb +34 -0
  264. data/vendor/vagrant/plugins/hosts/opensuse/plugin.rb +15 -0
  265. data/vendor/vagrant/plugins/hosts/windows/host.rb +17 -0
  266. data/vendor/vagrant/plugins/hosts/windows/plugin.rb +15 -0
  267. data/vendor/vagrant/plugins/kernel_v1/config/nfs.rb +20 -0
  268. data/vendor/vagrant/plugins/kernel_v1/config/package.rb +17 -0
  269. data/vendor/vagrant/plugins/kernel_v1/config/ssh.rb +46 -0
  270. data/vendor/vagrant/plugins/kernel_v1/config/vagrant.rb +31 -0
  271. data/vendor/vagrant/plugins/kernel_v1/config/vm.rb +184 -0
  272. data/vendor/vagrant/plugins/kernel_v1/plugin.rb +44 -0
  273. data/vendor/vagrant/plugins/kernel_v2/config/nfs.rb +10 -0
  274. data/vendor/vagrant/plugins/kernel_v2/config/package.rb +9 -0
  275. data/vendor/vagrant/plugins/kernel_v2/config/ssh.rb +35 -0
  276. data/vendor/vagrant/plugins/kernel_v2/config/vagrant.rb +9 -0
  277. data/vendor/vagrant/plugins/kernel_v2/config/vm.rb +314 -0
  278. data/vendor/vagrant/plugins/kernel_v2/config/vm_provisioner.rb +40 -0
  279. data/vendor/vagrant/plugins/kernel_v2/config/vm_subvm.rb +30 -0
  280. data/vendor/vagrant/plugins/kernel_v2/plugin.rb +44 -0
  281. data/vendor/vagrant/plugins/providers/virtualbox/action.rb +308 -0
  282. data/vendor/vagrant/plugins/providers/virtualbox/action/boot.rb +49 -0
  283. data/vendor/vagrant/plugins/providers/virtualbox/action/check_accessible.rb +23 -0
  284. data/vendor/vagrant/plugins/providers/virtualbox/action/check_created.rb +21 -0
  285. data/vendor/vagrant/plugins/providers/virtualbox/action/check_guest_additions.rb +45 -0
  286. data/vendor/vagrant/plugins/providers/virtualbox/action/check_running.rb +21 -0
  287. data/vendor/vagrant/plugins/providers/virtualbox/action/check_virtualbox.rb +22 -0
  288. data/vendor/vagrant/plugins/providers/virtualbox/action/clean_machine_folder.rb +43 -0
  289. data/vendor/vagrant/plugins/providers/virtualbox/action/clear_forwarded_ports.rb +18 -0
  290. data/vendor/vagrant/plugins/providers/virtualbox/action/clear_network_interfaces.rb +31 -0
  291. data/vendor/vagrant/plugins/providers/virtualbox/action/clear_shared_folders.rb +17 -0
  292. data/vendor/vagrant/plugins/providers/virtualbox/action/created.rb +20 -0
  293. data/vendor/vagrant/plugins/providers/virtualbox/action/customize.rb +36 -0
  294. data/vendor/vagrant/plugins/providers/virtualbox/action/destroy.rb +19 -0
  295. data/vendor/vagrant/plugins/providers/virtualbox/action/destroy_confirm.rb +17 -0
  296. data/vendor/vagrant/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb +16 -0
  297. data/vendor/vagrant/plugins/providers/virtualbox/action/discard_state.rb +20 -0
  298. data/vendor/vagrant/plugins/providers/virtualbox/action/export.rb +57 -0
  299. data/vendor/vagrant/plugins/providers/virtualbox/action/forced_halt.rb +25 -0
  300. data/vendor/vagrant/plugins/providers/virtualbox/action/forward_ports.rb +79 -0
  301. data/vendor/vagrant/plugins/providers/virtualbox/action/import.rb +51 -0
  302. data/vendor/vagrant/plugins/providers/virtualbox/action/is_paused.rb +20 -0
  303. data/vendor/vagrant/plugins/providers/virtualbox/action/is_running.rb +20 -0
  304. data/vendor/vagrant/plugins/providers/virtualbox/action/is_saved.rb +20 -0
  305. data/vendor/vagrant/plugins/providers/virtualbox/action/match_mac_address.rb +21 -0
  306. data/vendor/vagrant/plugins/providers/virtualbox/action/message_not_created.rb +16 -0
  307. data/vendor/vagrant/plugins/providers/virtualbox/action/message_not_running.rb +16 -0
  308. data/vendor/vagrant/plugins/providers/virtualbox/action/message_will_not_destroy.rb +17 -0
  309. data/vendor/vagrant/plugins/providers/virtualbox/action/network.rb +366 -0
  310. data/vendor/vagrant/plugins/providers/virtualbox/action/package.rb +20 -0
  311. data/vendor/vagrant/plugins/providers/virtualbox/action/package_vagrantfile.rb +33 -0
  312. data/vendor/vagrant/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb +35 -0
  313. data/vendor/vagrant/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +51 -0
  314. data/vendor/vagrant/plugins/providers/virtualbox/action/prune_nfs_exports.rb +20 -0
  315. data/vendor/vagrant/plugins/providers/virtualbox/action/resume.rb +25 -0
  316. data/vendor/vagrant/plugins/providers/virtualbox/action/sane_defaults.rb +87 -0
  317. data/vendor/vagrant/plugins/providers/virtualbox/action/set_name.rb +40 -0
  318. data/vendor/vagrant/plugins/providers/virtualbox/action/setup_package_files.rb +51 -0
  319. data/vendor/vagrant/plugins/providers/virtualbox/action/share_folders.rb +113 -0
  320. data/vendor/vagrant/plugins/providers/virtualbox/action/suspend.rb +20 -0
  321. data/vendor/vagrant/plugins/providers/virtualbox/config.rb +82 -0
  322. data/vendor/vagrant/plugins/providers/virtualbox/driver/base.rb +344 -0
  323. data/vendor/vagrant/plugins/providers/virtualbox/driver/meta.rb +141 -0
  324. data/vendor/vagrant/plugins/providers/virtualbox/driver/version_4_0.rb +481 -0
  325. data/vendor/vagrant/plugins/providers/virtualbox/driver/version_4_1.rb +481 -0
  326. data/vendor/vagrant/plugins/providers/virtualbox/driver/version_4_2.rb +471 -0
  327. data/vendor/vagrant/plugins/providers/virtualbox/model/forwarded_port.rb +58 -0
  328. data/vendor/vagrant/plugins/providers/virtualbox/plugin.rb +42 -0
  329. data/vendor/vagrant/plugins/providers/virtualbox/provider.rb +92 -0
  330. data/vendor/vagrant/plugins/providers/virtualbox/util/compile_forwarded_ports.rb +31 -0
  331. data/vendor/vagrant/plugins/provisioners/chef/config/base.rb +65 -0
  332. data/vendor/vagrant/plugins/provisioners/chef/config/chef_client.rb +39 -0
  333. data/vendor/vagrant/plugins/provisioners/chef/config/chef_solo.rb +87 -0
  334. data/vendor/vagrant/plugins/provisioners/chef/plugin.rb +33 -0
  335. data/vendor/vagrant/plugins/provisioners/chef/provisioner/base.rb +91 -0
  336. data/vendor/vagrant/plugins/provisioners/chef/provisioner/chef_client.rb +103 -0
  337. data/vendor/vagrant/plugins/provisioners/chef/provisioner/chef_solo.rb +182 -0
  338. data/vendor/vagrant/plugins/provisioners/puppet/config/puppet.rb +70 -0
  339. data/vendor/vagrant/plugins/provisioners/puppet/config/puppet_server.rb +16 -0
  340. data/vendor/vagrant/plugins/provisioners/puppet/plugin.rb +33 -0
  341. data/vendor/vagrant/plugins/provisioners/puppet/provisioner/puppet.rb +110 -0
  342. data/vendor/vagrant/plugins/provisioners/puppet/provisioner/puppet_server.rb +67 -0
  343. data/vendor/vagrant/plugins/provisioners/shell/config.rb +46 -0
  344. data/vendor/vagrant/plugins/provisioners/shell/plugin.rb +23 -0
  345. data/vendor/vagrant/plugins/provisioners/shell/provisioner.rb +66 -0
  346. data/vendor/vagrant/tasks/acceptance.rake +113 -0
  347. data/vendor/vagrant/tasks/bundler.rake +3 -0
  348. data/vendor/vagrant/tasks/test.rake +20 -0
  349. data/vendor/vagrant/templates/commands/init/Vagrantfile.erb +111 -0
  350. data/vendor/vagrant/templates/commands/ssh_config/config.erb +16 -0
  351. data/vendor/vagrant/templates/config/messages.erb +14 -0
  352. data/vendor/vagrant/templates/config/validation_failed.erb +7 -0
  353. data/vendor/vagrant/templates/guests/arch/network_dhcp.erb +4 -0
  354. data/vendor/vagrant/templates/guests/arch/network_static.erb +6 -0
  355. data/vendor/vagrant/templates/guests/debian/network_dhcp.erb +11 -0
  356. data/vendor/vagrant/templates/guests/debian/network_static.erb +7 -0
  357. data/vendor/vagrant/templates/guests/fedora/network_dhcp.erb +6 -0
  358. data/vendor/vagrant/templates/guests/fedora/network_static.erb +13 -0
  359. data/vendor/vagrant/templates/guests/freebsd/network_dhcp.erb +3 -0
  360. data/vendor/vagrant/templates/guests/freebsd/network_static.erb +3 -0
  361. data/vendor/vagrant/templates/guests/gentoo/network_dhcp.erb +4 -0
  362. data/vendor/vagrant/templates/guests/gentoo/network_static.erb +4 -0
  363. data/vendor/vagrant/templates/guests/redhat/network_dhcp.erb +6 -0
  364. data/vendor/vagrant/templates/guests/redhat/network_static.erb +7 -0
  365. data/vendor/vagrant/templates/locales/en.yml +993 -0
  366. data/vendor/vagrant/templates/nfs/exports.erb +5 -0
  367. data/vendor/vagrant/templates/nfs/exports_freebsd.erb +5 -0
  368. data/vendor/vagrant/templates/nfs/exports_linux.erb +5 -0
  369. data/vendor/vagrant/templates/package_Vagrantfile.erb +11 -0
  370. data/vendor/vagrant/templates/provisioners/chef_client/client.erb +32 -0
  371. data/vendor/vagrant/templates/provisioners/chef_solo/solo.erb +25 -0
  372. data/vendor/vagrant/templates/rgloader.rb +9 -0
  373. data/vendor/vagrant/test/acceptance/base.rb +48 -0
  374. data/vendor/vagrant/test/acceptance/box_test.rb +99 -0
  375. data/vendor/vagrant/test/acceptance/destroy_test.rb +37 -0
  376. data/vendor/vagrant/test/acceptance/halt_test.rb +72 -0
  377. data/vendor/vagrant/test/acceptance/init_test.rb +33 -0
  378. data/vendor/vagrant/test/acceptance/networking/host_only_test.rb +37 -0
  379. data/vendor/vagrant/test/acceptance/networking/port_forward_test.rb +125 -0
  380. data/vendor/vagrant/test/acceptance/package_test.rb +46 -0
  381. data/vendor/vagrant/test/acceptance/provisioning/basic_test.rb +61 -0
  382. data/vendor/vagrant/test/acceptance/provisioning/chef_solo_test.rb +37 -0
  383. data/vendor/vagrant/test/acceptance/provisioning/shell_test.rb +53 -0
  384. data/vendor/vagrant/test/acceptance/resume_test.rb +17 -0
  385. data/vendor/vagrant/test/acceptance/shared_folders_test.rb +84 -0
  386. data/vendor/vagrant/test/acceptance/skeletons/chef_solo_basic/README.md +3 -0
  387. data/vendor/vagrant/test/acceptance/skeletons/chef_solo_basic/cookbooks/basic/recipes/default.rb +5 -0
  388. data/vendor/vagrant/test/acceptance/skeletons/chef_solo_json/README.md +3 -0
  389. data/vendor/vagrant/test/acceptance/skeletons/chef_solo_json/cookbooks/basic/recipes/default.rb +6 -0
  390. data/vendor/vagrant/test/acceptance/skeletons/provisioner_multi/README.md +3 -0
  391. data/vendor/vagrant/test/acceptance/skeletons/provisioner_multi/cookbooks/basic/recipes/default.rb +5 -0
  392. data/vendor/vagrant/test/acceptance/ssh_test.rb +46 -0
  393. data/vendor/vagrant/test/acceptance/support/config.rb +42 -0
  394. data/vendor/vagrant/test/acceptance/support/isolated_environment.rb +118 -0
  395. data/vendor/vagrant/test/acceptance/support/matchers/have_color.rb +9 -0
  396. data/vendor/vagrant/test/acceptance/support/matchers/match_output.rb +14 -0
  397. data/vendor/vagrant/test/acceptance/support/matchers/succeed.rb +14 -0
  398. data/vendor/vagrant/test/acceptance/support/network_tests.rb +29 -0
  399. data/vendor/vagrant/test/acceptance/support/output.rb +95 -0
  400. data/vendor/vagrant/test/acceptance/support/shared/base_context.rb +72 -0
  401. data/vendor/vagrant/test/acceptance/support/shared/command_examples.rb +33 -0
  402. data/vendor/vagrant/test/acceptance/support/virtualbox.rb +36 -0
  403. data/vendor/vagrant/test/acceptance/suspend_test.rb +56 -0
  404. data/vendor/vagrant/test/acceptance/up_basic_test.rb +33 -0
  405. data/vendor/vagrant/test/acceptance/up_with_box_url.rb +40 -0
  406. data/vendor/vagrant/test/acceptance/vagrant_test.rb +47 -0
  407. data/vendor/vagrant/test/acceptance/version_test.rb +15 -0
  408. data/vendor/vagrant/test/config/acceptance_boxes.yml +7 -0
  409. data/vendor/vagrant/test/support/isolated_environment.rb +46 -0
  410. data/vendor/vagrant/test/support/tempdir.rb +43 -0
  411. data/vendor/vagrant/test/unit/base.rb +27 -0
  412. data/vendor/vagrant/test/unit/support/dummy_provider.rb +16 -0
  413. data/vendor/vagrant/test/unit/support/isolated_environment.rb +177 -0
  414. data/vendor/vagrant/test/unit/support/shared/base_context.rb +104 -0
  415. data/vendor/vagrant/test/unit/vagrant/action/builder_test.rb +196 -0
  416. data/vendor/vagrant/test/unit/vagrant/action/builtin/call_test.rb +145 -0
  417. data/vendor/vagrant/test/unit/vagrant/action/builtin/confirm_test.rb +36 -0
  418. data/vendor/vagrant/test/unit/vagrant/action/builtin/env_set_test.rb +20 -0
  419. data/vendor/vagrant/test/unit/vagrant/action/builtin/graceful_halt_test.rb +61 -0
  420. data/vendor/vagrant/test/unit/vagrant/action/builtin/lock_test.rb +98 -0
  421. data/vendor/vagrant/test/unit/vagrant/action/builtin/ssh_exec_test.rb +57 -0
  422. data/vendor/vagrant/test/unit/vagrant/action/hook_test.rb +101 -0
  423. data/vendor/vagrant/test/unit/vagrant/action/runner_test.rb +71 -0
  424. data/vendor/vagrant/test/unit/vagrant/action/warden_test.rb +92 -0
  425. data/vendor/vagrant/test/unit/vagrant/box_collection_test.rb +224 -0
  426. data/vendor/vagrant/test/unit/vagrant/box_test.rb +109 -0
  427. data/vendor/vagrant/test/unit/vagrant/cli_test.rb +27 -0
  428. data/vendor/vagrant/test/unit/vagrant/config/loader_test.rb +184 -0
  429. data/vendor/vagrant/test/unit/vagrant/config/v1/dummy_config_test.rb +24 -0
  430. data/vendor/vagrant/test/unit/vagrant/config/v1/loader_test.rb +145 -0
  431. data/vendor/vagrant/test/unit/vagrant/config/v1/root_test.rb +40 -0
  432. data/vendor/vagrant/test/unit/vagrant/config/v2/dummy_config_test.rb +24 -0
  433. data/vendor/vagrant/test/unit/vagrant/config/v2/loader_test.rb +151 -0
  434. data/vendor/vagrant/test/unit/vagrant/config/v2/root_test.rb +97 -0
  435. data/vendor/vagrant/test/unit/vagrant/config/v2/util_test.rb +21 -0
  436. data/vendor/vagrant/test/unit/vagrant/config_test.rb +66 -0
  437. data/vendor/vagrant/test/unit/vagrant/downloaders/base_test.rb +14 -0
  438. data/vendor/vagrant/test/unit/vagrant/downloaders/file_test.rb +87 -0
  439. data/vendor/vagrant/test/unit/vagrant/downloaders/http_test.rb +23 -0
  440. data/vendor/vagrant/test/unit/vagrant/environment_test.rb +571 -0
  441. data/vendor/vagrant/test/unit/vagrant/hosts_test.rb +37 -0
  442. data/vendor/vagrant/test/unit/vagrant/machine_state_test.rb +26 -0
  443. data/vendor/vagrant/test/unit/vagrant/machine_test.rb +418 -0
  444. data/vendor/vagrant/test/unit/vagrant/plugin/v1/command_test.rb +143 -0
  445. data/vendor/vagrant/test/unit/vagrant/plugin/v1/communicator_test.rb +9 -0
  446. data/vendor/vagrant/test/unit/vagrant/plugin/v1/config_test.rb +50 -0
  447. data/vendor/vagrant/test/unit/vagrant/plugin/v1/host_test.rb +5 -0
  448. data/vendor/vagrant/test/unit/vagrant/plugin/v1/manager_test.rb +114 -0
  449. data/vendor/vagrant/test/unit/vagrant/plugin/v1/plugin_test.rb +267 -0
  450. data/vendor/vagrant/test/unit/vagrant/plugin/v1/provider_test.rb +18 -0
  451. data/vendor/vagrant/test/unit/vagrant/plugin/v2/command_test.rb +238 -0
  452. data/vendor/vagrant/test/unit/vagrant/plugin/v2/communicator_test.rb +9 -0
  453. data/vendor/vagrant/test/unit/vagrant/plugin/v2/components_test.rb +17 -0
  454. data/vendor/vagrant/test/unit/vagrant/plugin/v2/config_test.rb +60 -0
  455. data/vendor/vagrant/test/unit/vagrant/plugin/v2/host_test.rb +5 -0
  456. data/vendor/vagrant/test/unit/vagrant/plugin/v2/manager_test.rb +157 -0
  457. data/vendor/vagrant/test/unit/vagrant/plugin/v2/plugin_test.rb +287 -0
  458. data/vendor/vagrant/test/unit/vagrant/plugin/v2/provider_test.rb +18 -0
  459. data/vendor/vagrant/test/unit/vagrant/registry_test.rb +128 -0
  460. data/vendor/vagrant/test/unit/vagrant/util/ansi_escape_code_remover_test.rb +16 -0
  461. data/vendor/vagrant/test/unit/vagrant/util/file_checksum_test.rb +23 -0
  462. data/vendor/vagrant/test/unit/vagrant/util/hash_with_indifferent_access_test.rb +38 -0
  463. data/vendor/vagrant/test/unit/vagrant/util/is_port_open_test.rb +53 -0
  464. data/vendor/vagrant/test/unit/vagrant/util/line_endings_helper_test.rb +16 -0
  465. data/vendor/vagrant/test/unit/vagrant/util/network_ip_test.rb +17 -0
  466. data/vendor/vagrant/test/unit/vagrant/util/retryable_test.rb +106 -0
  467. data/vendor/vagrant/test/unit/vagrant/util/scoped_hash_override_test.rb +48 -0
  468. data/vendor/vagrant/test/unit/vagrant/util/ssh_test.rb +30 -0
  469. data/vendor/vagrant/test/unit/vagrant/util/string_block_editor_test.rb +98 -0
  470. data/vendor/vagrant/test/unit/vagrant/util/which_test.rb +43 -0
  471. data/vendor/vagrant/test/unit/vagrant_test.rb +56 -0
  472. data/vendor/vagrant/vagrant.gemspec +69 -0
  473. metadata +642 -0
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ before_install:
3
+ - sudo apt-get update -qq
4
+ - sudo apt-get install -qq -y bsdtar
5
+ rvm:
6
+ - 1.9.3
7
+ script: rake test:unit
@@ -0,0 +1 @@
1
+ -m markdown
@@ -0,0 +1,803 @@
1
+ ## 1.1.0 (unreleased)
2
+
3
+ BACKWARDS INCOMPATIBILITIES:
4
+
5
+ - Vagrantfiles from 1.0.x that _do not use_ any plugins are fully
6
+ backwards compatible. If plugins are used, they must be removed prior
7
+ to upgrading. The new plugin system in place will avoid this issue in
8
+ the future.
9
+ - Lots of changes introduced in the form of a new configuration version and
10
+ format, but this is opt-in. Old Vagrantfile format continues to be supported,
11
+ as promised. To use the new features that will be introduced throughout
12
+ the 1.x series, you'll have to upgrade at some point.
13
+
14
+ FEATURES:
15
+
16
+ - Groundwork for **providers**, alternate backends for Vagrant that
17
+ allow Vagrant to power systems other than VirtualBox. Much improvement
18
+ and change will come to this throughout the 1.x lifecycle. The API
19
+ will continue to change, features will be added, and more. Specifically,
20
+ in this release, a robust system for handling shared folders and
21
+ networks is not introduced, so new providers shouldn't yet support this.
22
+ A system will come into place in future releases.
23
+ - New plugin system which adds much more structure and stability to
24
+ the overall API. The goal of this system is to make it easier to write
25
+ powerful plugins for Vagrant while providing a backwards-compatible API
26
+ so that plugins will always _load_ (though they will almost certainly
27
+ not be _functional_ in future versions of Vagrant).
28
+ - Plugins installed as gems no longer "autoload". You must now explicitly
29
+ require plugins in the `~/.vagrantrc` file, using `Vagrant.require_plugin`.
30
+ This decreases Vagrant's initial startup time considerably.
31
+ - Allow "file://" URLs for box URLs. [GH-1087]
32
+ - Emit "vagrant-mount" upstart event when NFS shares are mounted. [GH-1118]
33
+ - Add a VirtualBox provider config `auto_nat_dns_proxy` which when set to
34
+ false will not attempt to automatically manage NAT DNS proxy settings
35
+ with VirtualBox. [GH-1313]
36
+ - `vagrant provision` accepts the `--provision-with` flag [GH-1167]
37
+ - Set the name of VirtualBox machines with `virtualbox.name` in the
38
+ VirtualBox provider config. [GH-1126]
39
+ - `vagrant ssh` will execute an `ssh` binary on Windows if it is on
40
+ your PATH. [GH-933]
41
+ - The environmental variable `VAGRANT_VAGRANTFILE` can be used to
42
+ specify an alternate Vagrantfile filename.
43
+
44
+ IMPROVEMENTS / BUG FIXES:
45
+
46
+ - Improve the SSH "ready?" check. [GH-841]
47
+ - Human friendly error if connection times out for HTTP downloads. [GH-849]
48
+ - Detect when the VirtualBox installation is incomplete and error. [GH-846]
49
+ - Use `LogLevel QUIET` for SSH to suppress the known hosts warning. [GH-847]
50
+ - All `vagrant` commands that can take a target VM name can take one even
51
+ if you're not in a multi-VM environment. [GH-894]
52
+ - Hostname is set before networks are setup to avoid very slow `sudo`
53
+ speeds on CentOS. [GH-922]
54
+ - `config.ssh.shell` now includes the flags to pass to it, such as `-l` [GH-917]
55
+ - The check for whether a port is open or not is more complete. [GH-948]
56
+ - SSH uses LogLevel FATAL so that errors are still shown.
57
+ - Sending a SIGINT (Ctrl-C) very early on when executing `vagrant` no
58
+ longer results in an ugly stack trace.
59
+ - Chef JSON configuration output is now pretty-printed to be
60
+ human readable. [GH-1146]
61
+ - SSH retries in the face of a `EHOSTUNREACH` error, improving the robustness
62
+ that SSHing succeeds when booting a machine.
63
+ - VMs in the "guru meditation" state can be destroyed now using
64
+ `vagrant destroy`.
65
+ - Fix issue where changing SSH key permissions didn't properly work. [GH-911]
66
+ - Disable the NAT DNS proxy when the DNS server is already proxied to
67
+ localhost on Linux machines. This fixes issues with 12.04. [GH-909]
68
+ - Fix issue where Vagrant didn't properly detect VBoxManage on Windows
69
+ if VBOX_INSTALL_PATH contained multiple paths. [GH-885]
70
+ - Fix typo in setting host name for Gentoo guests. [GH-931]
71
+ - Files that are included with `vagrant package --include` now properly
72
+ preserve file attributes on earlier versions of Ruby. [GH-951]
73
+ - Multiple interfaces now work with Arch linux guests. [GH-957]
74
+ - Fix issue where subprocess execution would always spin CPU of Ruby
75
+ process to 100%. [GH-832]
76
+ - Fix issue where shell provisioner would sometimes never end. [GH-968]
77
+ - Fix issue where puppet would reorder module paths. [GH-964]
78
+ - When console input is asked for (destroying a VM, bridged interfaces, etc.),
79
+ keystrokes such as ctrl-D and ctrl-C are more gracefully handled. [GH-1017]
80
+ - Fixed bug where port check would use "localhost" on systems where
81
+ "localhost" is not available. [GH-1057]
82
+ - Add missing translation for "saving" state on VirtualBox. [GH-1110]
83
+ - Proper error message if the remote end unexpectedly resets the connection
84
+ while downloading a box over HTTP. [GH-1090]
85
+ - Human-friendly error is raised if there are permission issues when
86
+ using SCP to upload files. [GH-924]
87
+ - Box adding doesn't use `/tmp` anymore which can avoid some cross-device
88
+ copy issues. [GH-1199]
89
+ - Vagrant works properly in folders with strange characters. [GH-1223]
90
+ - Vagrant properly handles "paused" VirtualBox machines. [GH-1184]
91
+ - Better behavior around permissions issues when copying insecure
92
+ private key. [GH-580]
93
+
94
+ ## 1.0.6 (December 21, 2012)
95
+
96
+ - Shell provisioner outputs proper line endings on Windows [GH-1164]
97
+ - SSH upload opens file to stream which fixes strange upload issues.
98
+ - Check for proper exit codes for Puppet, since multiple exit codes
99
+ can mean success. [GH-1180]
100
+ - Fix issue where DNS doesn't resolve properly for 12.10. [GH-1176]
101
+ - Allow hostname to be a substring of the box name for Ubuntu [GH-1163]
102
+ - Use `puppet agent` instead of `puppetd` to be Puppet 3.x
103
+ compatible. [GH-1169]
104
+ - Work around bug in VirtualBox exposed by bug in OS X 10.8 where
105
+ VirtualBox executables couldn't handle garbage being injected into
106
+ stdout by OS X.
107
+
108
+ ## 1.0.5 (September 18, 2012)
109
+
110
+ - Work around a critical bug in VirtualBox 4.2.0 on Windows that
111
+ causes Vagrant to not work. [GH-1130]
112
+ - Plugin loading works better on Windows by using the proper
113
+ file path separator.
114
+ - NFS works on Fedora 16+. [GH-1140]
115
+ - NFS works with newer versions of Arch hosts that use systemd. [GH-1142]
116
+
117
+ ## 1.0.4 (September 13, 2012)
118
+
119
+ - VirtualBox 4.2 driver. [GH-1120]
120
+ - Correct `ssh-config` help to use `--host`, not `-h`.
121
+ - Use "127.0.0.1" instead of "localhost" for port checking to fix problem
122
+ where "localhost" is not properly setup. [GH-1057]
123
+ - Disable read timeout on Net::HTTP to avoid `rbuf_fill` error. [GH-1072]
124
+ - Retry SSH on `EHOSTUNREACH` errors.
125
+ - Add missing translation for "saving" state. [GH-1110]
126
+
127
+ ## 1.0.3 (May 1, 2012)
128
+
129
+ - Don't enable NAT DNS proxy on machines where resolv.conf already points
130
+ to localhost. This allows Vagrant to work once again with Ubuntu
131
+ 12.04. [GH-909]
132
+
133
+ ## 1.0.2 (March 25, 2012)
134
+
135
+ - Provisioners will still mount folders and such if `--no-provision` is
136
+ used, so that `vagrant provision` works. [GH-803]
137
+ - Nicer error message if an unsupported SSH key type is used. [GH-805]
138
+ - Gentoo guests can now have their host names changed. [GH-796]
139
+ - Relative paths can be used for the `config.ssh.private_key_path`
140
+ setting. [GH-808]
141
+ - `vagrant ssh` now works on Solaris, where `IdentitiesOnly` was not
142
+ an available option. [GH-820]
143
+ - Output works properly in the face of broken pipes. [GH-819]
144
+ - Enable Host IO Cache on the SATA controller by default.
145
+ - Chef-solo provisioner now supports encrypted data bags. [GH-816]
146
+ - Enable the NAT DNS proxy by default, allowing your DNS to continue
147
+ working when you switch networks. [GH-834]
148
+ - Checking for port forwarding collisions also checks for other applications
149
+ that are potentially listening on that port as well. [GH-821]
150
+ - Multiple VM names can be specified for the various commands now. For
151
+ example: `vagrant up web db service`. [GH-795]
152
+ - More robust error handling if a VM fails to boot. The error message
153
+ is much clearer now. [GH-825]
154
+
155
+ ## 1.0.1 (March 11, 2012)
156
+
157
+ - Installers are now bundled with Ruby 1.9.3p125. Previously they were
158
+ bundled with 1.9.3p0. This actually fixes some IO issues with Windows.
159
+ - Windows installer now outputs a `vagrant` binary that will work in msys
160
+ or Cygwin environments.
161
+ - Fix crashing issue which manifested itself in multi-VM environments.
162
+ - Add missing `rubygems` require in `environment.rb` to avoid
163
+ possible load errors. [GH-781]
164
+ - `vagrant destroy` shows a nice error when called without a
165
+ TTY (and hence can't confirm). [GH-779]
166
+ - Fix an issue with the `:vagrantfile_name` option to `Vagrant::Environment`
167
+ not working properly. [GH-778]
168
+ - `VAGRANT_CWD` environmental variable can be used to set the CWD to
169
+ something other than the current directory.
170
+ - Downloading boxes from servers that don't send a content-length
171
+ now works properly. [GH-788]
172
+ - The `:facter` option now works for puppet server. [GH-790]
173
+ - The `--no-provision` and `--provision-with` flags are available to
174
+ `vagrant reload` now.
175
+ - `:openbsd` guest which supports only halting at the moment. [GH-773]
176
+ - `ssh-config -h` now shows help, instead of assuming a host is being
177
+ specified. For host, you can still use `--host`. [GH-793]
178
+
179
+ ## 1.0.0 (March 6, 2012)
180
+
181
+ - `vagrant gem` should now be used to install Vagrant plugins that are
182
+ gems. This installs the gems to a private gem folder that Vagrant adds
183
+ to its own load path. This isolates Vagrant-related gems from system
184
+ gems.
185
+ - Plugin loading no longer happens right when Vagrant is loaded, but when
186
+ a Vagrant environment is loaded. I don't anticipate this causing any
187
+ problems but it is a backwards incompatible change should a plugin
188
+ depend on this (but I don't see any reason why they would).
189
+ - `vagrant destroy` now asks for confirmation by default. This can be
190
+ overridden with the `--force` flag. [GH-699]
191
+ - Fix issue with Puppet config inheritance. [GH-722]
192
+ - Fix issue where starting a VM on some systems was incorrectly treated
193
+ as failing. [GH-720]
194
+ - It is now an error to specify the packaging `output` as a directory. [GH-730]
195
+ - Unix-style line endings are used properly for guest OS. [GH-727]
196
+ - Retry certain VirtualBox operations, since they intermittently fail.
197
+ [GH-726]
198
+ - Fix issue where Vagrant would sometimes "lose" a VM if an exception
199
+ occurred. [GH-725]
200
+ - `vagrant destroy` destroys virtual machines in reverse order. [GH-739]
201
+ - Add an `fsid` option to Linux NFS exports. [GH-736]
202
+ - Fix edge case where an exception could be raised in networking code. [GH-742]
203
+ - Add missing translation for the "guru meditation" state. [GH-745]
204
+ - Check that VirtualBox exists before certain commands. [GH-746]
205
+ - NIC type can be defined for host-only network adapters. [GH-750]
206
+ - Fix issue where re-running chef-client would sometimes cause
207
+ problems due to file permissions. [GH-748]
208
+ - FreeBSD guests can now have their hostnames changed. [GH-757]
209
+ - FreeBSD guests now support host only networking and bridged networking. [GH-762]
210
+ - `VM#run_action` is now public so plugin-devs can hook into it.
211
+ - Fix crashing bug when attempting to run commands on the "primary"
212
+ VM in a multi-VM environment. [GH-761]
213
+ - With puppet you can now specify `:facter` as a dictionary of facts to
214
+ override what is generated by Puppet. [GH-753]
215
+ - Automatically convert all arguments to `customize` to strings.
216
+ - openSUSE host system. [GH-766]
217
+ - Fix subprocess IO deadlock which would occur on Windows. [GH-765]
218
+ - Fedora 16 guest support. [GH-772]
219
+
220
+ ## 0.9.7 (February 9, 2012)
221
+
222
+ - Fix regression where all subprocess IO simply didn't work with
223
+ Windows. [GH-721]
224
+
225
+ ## 0.9.6 (February 7, 2012)
226
+
227
+ - Fix strange issue with inconsistent childprocess reads on JRuby. [GH-711]
228
+ - `vagrant ssh` does a direct `exec()` syscall now instead of going through
229
+ the shell. This makes it so things like shell expansion oddities no longer
230
+ cause problems. [GH-715]
231
+ - Fix crashing case if there are no ports to forward.
232
+ - Fix issue surrounding improper configuration of host only networks on
233
+ RedHat guests. [GH-719]
234
+ - NFS should work properly on Gentoo. [GH-706]
235
+
236
+ ## 0.9.5 (February 5, 2012)
237
+
238
+ - Fix crashing case when all network options are `:auto_config false`.
239
+ [GH-689]
240
+ - Type of network adapter can be specified with `:nic_type`. [GH-690]
241
+ - The NFS version can be specified with the `:nfs_version` option
242
+ on shared folders. [GH-557]
243
+ - Greatly improved FreeBSD guest and host support. [GH-695]
244
+ - Fix instability with RedHat guests and host only and bridged networks.
245
+ [GH-698]
246
+ - When using bridged networking, only list the network interfaces
247
+ that are up as choices. [GH-701]
248
+ - More intelligent handling of the `certname` option for puppet
249
+ server. [GH-702]
250
+ - You may now explicitly set the network to bridge to in the Vagrantfile
251
+ using the `:bridge` parameter. [GH-655]
252
+
253
+ ## 0.9.4 (January 28, 2012)
254
+
255
+ - Important internal changes to middlewares that make plugin developer's
256
+ lives much easier. [GH-684]
257
+ - Match VM names that have parens, brackets, etc.
258
+ - Detect when the VirtualBox kernel module is not loaded and error. [GH-677]
259
+ - Set `:auto_config` to false on any networking option to not automatically
260
+ configure it on the guest. [GH-663]
261
+ - NFS shared folder guest paths can now contain shell expansion characters
262
+ such as `~`.
263
+ - NFS shared folders with a `:create` flag will have their host folders
264
+ properly created if they don't exist. [GH-667]
265
+ - Fix the precedence for Arch, Ubuntu, and FreeBSD host classes so
266
+ they are properly detected. [GH-683]
267
+ - Fix issue where VM import sometimes made strange VirtualBox folder
268
+ layouts. [GH-669]
269
+ - Call proper `id` command on Solaris. [GH-679]
270
+ - More accurate VBoxManage error detection.
271
+ - Shared folders can now be marked as transient using the `:transient`
272
+ flag. [GH-688]
273
+
274
+ ## 0.9.3 (January 24, 2012)
275
+
276
+ - Proper error handling for not enough arguments to `box` commands.
277
+ - Fix issue causing crashes with bridged networking. [GH-673]
278
+ - Ignore host only network interfaces that are "down." [GH-675]
279
+ - Use "printf" instead of "echo" to determine shell expanded files paths
280
+ which is more generally POSIX compliant. [GH-676]
281
+
282
+ ## 0.9.2 (January 20, 2012)
283
+
284
+ - Support shell expansions in shared folder guest paths again. [GH-656]
285
+ - Fix issue where Chef solo always expected the host to have a
286
+ "cookbooks" folder in their directory. [GH-638]
287
+ - Fix `forward_agent` not working when outside of blocks. [GH-651]
288
+ - Fix issue causing custom guest implementations to not load properly.
289
+ - Filter clear screen character out of output on SSH.
290
+ - Log output now goes on `stderr`, since it is utility information.
291
+ - Get rid of case where a `NoMethodError` could be raised while
292
+ determining VirtualBox version. [GH-658]
293
+ - Debian/Ubuntu uses `ifdown` again, instead of `ifconfig xxx down`, since
294
+ the behavior seems different/wrong.
295
+ - Give a nice error if `:vagrant` is used as a JSON key, since Vagrant
296
+ uses this. [GH-661]
297
+ - If there is only one bridgable interface, use that without asking
298
+ the user. [GH-655]
299
+ - The shell will have color output if ANSICON is installed on Windows. [GH-666]
300
+
301
+ ## 0.9.1 (January 18, 2012)
302
+
303
+ - Use `ifconfig device down` instead of `ifdown`. [GH-649]
304
+ - Clearer invalid log level error. [GH-645]
305
+ - Fix exception raised with NFS `recover` method.
306
+ - Fix `ui` `NoMethodError` exception in puppet server.
307
+ - Fix `vagrant box help` on Ruby 1.8.7. [GH-647]
308
+
309
+ ## 0.9.0 (January 17, 2012)
310
+
311
+ - VirtualBox 4.0 support backported in addition to supporting VirtualBox 4.1.
312
+ - `config.vm.network` syntax changed so that the first argument is now the type
313
+ of argument. Previously where you had `config.vm.network "33.33.33.10"` you
314
+ should now put `config.vm.network :hostonly, "33.33.33.10"`. This is in order
315
+ to support bridged networking, as well.
316
+ - `config.vm.forward_port` no longer requires a name parameter.
317
+ - Bridged networking. `config.vm.network` with `:bridged` as the option will
318
+ setup a bridged network.
319
+ - Host only networks can be configured with DHCP now. Specify `:dhcp` as
320
+ the IP and it will be done.
321
+ - `config.vm.customize` now takes a command to send to `VBoxManage`, so any
322
+ arbitrary command can be sent. The older style of passing a block no longer
323
+ works and Vagrant will give a proper error message if it notices this old-style
324
+ being used.
325
+ - `config.ssh.forwarded_port_key` is gone. Vagrant no longer cares about
326
+ forwarded port names for any reason. Please use `config.ssh.guest_port`
327
+ (more below).
328
+ - `config.ssh.forwarded_port_destination` has been replaced by
329
+ `config.ssh.guest_port` which more accurately reflects what it is
330
+ used for. Vagrant will automatically scan forwarded ports that match the
331
+ guest port to find the SSH port.
332
+ - Logging. The entire Vagrant source has had logging sprinkled throughout
333
+ to make debugging issues easier. To enable logging, set the VAGRANT_LOG
334
+ environmental variable to the log level you wish to see. By default,
335
+ logging is silent.
336
+ - `system` renamed to `guest` throughout the source. Any `config.vm.system`
337
+ configurations must be changed to `config.vm.guest`
338
+ - Puppet provisioner no longer defaults manifest to "box.pp." Instead, it
339
+ is now "default.pp"
340
+ - All Vagrant commands that take a VM name in a Multi-VM environment
341
+ can now be given a regular expression. If the name starts and ends with a "/"
342
+ then it is assumed to be a regular expression. [GH-573]
343
+ - Added a "--plain" flag to `vagrant ssh` which will cause Vagrant to not
344
+ perform any authentication. It will simply `ssh` into the proper IP and
345
+ port of the virtual machine.
346
+ - If a shared folder now has a `:create` flag set to `true`, the path on the
347
+ host will be created if it doesn't exist.
348
+ - Added `--force` flag to `box add`, which will overwite any existing boxes
349
+ if they exist. [GH-631]
350
+ - Added `--provision-with` to `up` which configures what provisioners run,
351
+ by shortcut. [GH-367]
352
+ - Arbitrary mount options can be passed with `:extra` to any shared
353
+ folders. [GH-551]
354
+ - Options passed after a `--` to `vagrant ssh` are now passed directly to
355
+ `ssh`. [GH-554]
356
+ - Ubuntu guests will now emit a `vagrant-mounted` upstart event after shared
357
+ folders are mounted.
358
+ - `attempts` is a new option on chef client and chef solo provisioners. This
359
+ will run the provisioner multiple times until erroring about failing
360
+ convergence. [GH-282]
361
+ - Removed Thor as a dependency for the command line interfaces. This resulted
362
+ in general speed increases across all command line commands.
363
+ - Linux uses `shutdown -h` instead of `halt` to hopefully more consistently
364
+ power off the system. [GH-575]
365
+ - Tweaks to SSH to hopefully be more reliable in coming up.
366
+ - Helpful error message when SCP is unavailable in the guest. [GH-568]
367
+ - Error message for improperly packaged box files. [GH-198]
368
+ - Copy insecure private key to user-owned directory so even
369
+ `sudo` installed Vagrant installations work. [GH-580]
370
+ - Provisioner stdout/stderr is now color coded based on stdout/stderr.
371
+ stdout is green, stderr is red. [GH-595]
372
+ - Chef solo now prompts users to run a `reload` if shared folders
373
+ are not found on the VM. [GH-253]
374
+ - "--no-provision" once again works for certain commands. [GH-591]
375
+ - Resuming a VM from a saved state will show an error message if there
376
+ would be port collisions. [GH-602]
377
+ - `vagrant ssh -c` will now exit with the same exit code as the command
378
+ run. [GH-598]
379
+ - `vagrant ssh -c` will now send stderr to stderr and stdout to stdout
380
+ on the host machine, instead of all output to stdout.
381
+ - `vagrant box add` path now accepts unexpanded shell paths such as
382
+ `~/foo` and will properly expand them. [GH-633]
383
+ - Vagrant can now be interrupted during the "importing" step.
384
+ - NFS exports will no longer be cleared when an expected error occurs. [GH-577]
385
+
386
+ ## 0.8.10 (December 10, 2011)
387
+
388
+ - Revert the SSH tweaks made in 0.8.8. It affected stability
389
+
390
+ ## 0.8.8 (December 1, 2011)
391
+
392
+ - Mount shared folders shortest to longest to avoid mounting
393
+ subfolders first. [GH-525]
394
+ - Support for basic HTTP auth in the URL for boxes.
395
+ - Solaris support for host only networks. [GH-533]
396
+ - `vagrant init` respects `Vagrant::Environment` cwd. [GH-528]
397
+ - `vagrant` commands will not output color when stdout is
398
+ not a TTY.
399
+ - Fix issue where `box_url` set with multiple VMs could cause issues. [GH-564]
400
+ - Chef provisioners no longer depend on a "v-root" share being
401
+ available. [GH-556]
402
+ - NFS should work for FreeBSD hosts now. [GH-510]
403
+ - SSH executed methods respect `config.ssh.max_tries`. [GH-508]
404
+ - `vagrant box add` now respects the "no_proxy" environmental variable.
405
+ [GH-502]
406
+ - Tweaks that should make "Waiting for VM to boot" slightly more
407
+ reliable.
408
+ - Add comments to Vagrantfile to make it detected as Ruby file for
409
+ `vi` and `emacs`. [GH-515]
410
+ - More correct guest addition version checking. [GH-514]
411
+ - Chef solo support on Windows is improved. [GH-542]
412
+ - Put encrypted data bag secret into `/tmp` by default so that
413
+ permissions are almost certainly guaranteed. [GH-512]
414
+
415
+ ## 0.8.7 (September 13, 2011)
416
+
417
+ - Fix regression with remote paths from chef-solo. [GH-431]
418
+ - Fix issue where Vagrant crashes if `.vagrant` file becomes invalid. [GH-496]
419
+ - Issue a warning instead of an error for attempting to forward a port
420
+ <= 1024. [GH-487]
421
+
422
+ ## 0.8.6 (August 28, 2011)
423
+
424
+ - Fix issue with download progress not properly clearing the line. [GH-476]
425
+ - NFS should work properly on Fedora. [GH-450]
426
+ - Arguments can be specified to the `shell` provisioner via the `args` option. [GH-475]
427
+ - Vagrant behaves much better when there are "inaccessible" VMs. [GH-453]
428
+
429
+ ## 0.8.5 (August 15, 2011)
430
+
431
+ Note: 0.8.3 and 0.8.4 was yanked due to RubyGems encoding issue.
432
+
433
+ - Fix SSH `exec!` to inherit proper `$PATH`. [GH-426]
434
+ - Chef client now accepts an empty (`nil`) run list again. [GH-429]
435
+ - Fix incorrect error message when running `provision` on halted VM. [GH-447]
436
+ - Checking guest addition versions now ignores OSE. [GH-438]
437
+ - Chef solo from a remote URL fixed. [GH-431]
438
+ - Arch linux support: host only networks and changing the host name. [GH-439] [GH-448]
439
+ - Chef solo `roles_path` and `data_bags_path` can only be be single paths. [GH-446]
440
+ - Fix `virtualbox_not_detected` error message to require 4.1.x. [GH-458]
441
+ - Add shortname (`hostname -s`) for hostname setting on RHEL systems. [GH-456]
442
+ - `vagrant ssh -c` output no longer has a prefix and respects newlines
443
+ from the output. [GH-462]
444
+
445
+ ## 0.8.2 (July 22, 2011)
446
+
447
+ - Fix issue with SSH disconnects not reconnecting.
448
+ - Fix chef solo simply not working with roles/data bags. [GH-425]
449
+ - Multiple chef solo provisioners now work together.
450
+ - Update Puppet provisioner so no deprecation warning is shown. [GH-421]
451
+ - Removed error on "provisioner=" in config, as this has not existed
452
+ for some time now.
453
+ - Add better validation for networking.
454
+
455
+ ## 0.8.1 (July 20, 2011)
456
+
457
+ - Repush of 0.8.0 to fix a Ruby 1.9.2 RubyGems issue.
458
+
459
+ ## 0.8.0 (July 20, 2011)
460
+
461
+ - VirtualBox 4.1 support _only_. Previous versions of VirtualBox
462
+ are supported by earlier versions of Vagrant.
463
+ - Performance optimizations in `virtualbox` gem. Huge speed gains.
464
+ - `:chef_server` provisioner is now `:chef_client`. [GH-359]
465
+ - SSH connection is now cached after first access internally,
466
+ speeding up `vagrant up`, `reload`, etc. quite a bit.
467
+ - Actions which modify the VM now occur much more quickly,
468
+ greatly speeding up `vagrant up`, `reload`, etc.
469
+ - SUSE host only networking support. [GH-369]
470
+ - Show nice error message for invalid HTTP responses for HTTP
471
+ downloader. [GH-403]
472
+ - New `:inline` option for shell provisioner to provide inline
473
+ scripts as a string. [GH-395]
474
+ - Host only network now properly works on multiple adapters. [GH-365]
475
+ - Can now specify owner/group for regular shared folders. [GH-350]
476
+ - `ssh_config` host name will use VM name if given. [GH-332]
477
+ - `ssh` `-e` flag changed to `-c` to align with `ssh` standard
478
+ behavior. [GH-323]
479
+ - Forward agent and forward X11 settings properly appear in
480
+ `ssh_config` output. [GH-105]
481
+ - Chef JSON can now be set with `chef.json =` instead of the old
482
+ `merge` technique. [GH-314]
483
+ - Provisioner configuration is no longer cleared when the box
484
+ needs to be downloaded during an `up`. [GH-308]
485
+ - Multiple Chef provisioners no longer overwrite cookbook folders. [GH-407]
486
+ - `package` won't delete previously existing file. [GH-408]
487
+ - Vagrantfile can be lowercase now. [GH-399]
488
+ - Only one copy of Vagrant may be running at any given time. [GH-364]
489
+ - Default home directory for Vagrant moved to `~/.vagrant.d` [GH-333]
490
+ - Specify a `forwarded_port_destination` for SSH configuration and
491
+ SSH port searching will fall back to that if it can't find any
492
+ other port. [GH-375]
493
+
494
+ ## 0.7.8 (July 19, 2011)
495
+
496
+ - Make sure VirtualBox version check verifies that it is 4.0.x.
497
+
498
+ ## 0.7.7 (July 12, 2011)
499
+
500
+ - Fix crashing bug with Psych and Ruby 1.9.2. [GH-411]
501
+
502
+ ## 0.7.6 (July 2, 2011)
503
+
504
+ - Run Chef commands in a single command. [GH-390]
505
+ - Add `nfs` option for Chef to mount Chef folders via NFS. [GH-378]
506
+ - Add translation for `aborted` state in VM. [GH-371]
507
+ - Use full paths with the Chef provisioner so that restart cookbook will
508
+ work. [GH-374]
509
+ - Add "--no-color" as an argument and no colorized output will be used. [GH-379]
510
+ - Added DEVICE option to the RedHat host only networking entry, which allows
511
+ host only networking to work even if the VM has multiple NICs. [GH-382]
512
+ - Touch the network configuration file for RedHat so that the `sed` works
513
+ with host only networking. [GH-381]
514
+ - Load prerelease versions of plugins if available.
515
+ - Do not load a plugin if it depends on an invalid version of Vagrant.
516
+ - Encrypted data bag support in Chef server provisioner. [GH-398]
517
+ - Use the `-H` flag to set the proper home directory for `sudo`. [GH-370]
518
+
519
+ ## 0.7.5 (May 16, 2011)
520
+
521
+ - `config.ssh.port` can be specified and takes highest precedence if specified.
522
+ Otherwise, Vagrant will still attempt to auto-detect the port. [GH-363]
523
+ - Get rid of RubyGems deprecations introduced with RubyGems 1.8.x
524
+ - Search in pre-release gems for plugins as well as release gems.
525
+ - Support for Chef-solo `data_bags_path` [GH-362]
526
+ - Can specify path to Chef binary using `binary_path` [GH-342]
527
+ - Can specify additional environment data for Chef using `binary_env` [GH-342]
528
+
529
+ ## 0.7.4 (May 12, 2011)
530
+
531
+ - Chef environments support (for Chef 0.10) [GH-358]
532
+ - Suppress the "added to known hosts" message for SSH [GH-354]
533
+ - Ruby 1.8.6 support [GH-352]
534
+ - Chef proxy settings now work for chef server [GH-335]
535
+
536
+ ## 0.7.3 (April 19, 2011)
537
+
538
+ - Retry all SSH on Net::SSH::Disconnect in case SSH is just restarting. [GH-313]
539
+ - Add NFS shared folder support for Arch linux. [GH-346]
540
+ - Fix issue with unknown terminal type output for sudo commands.
541
+ - Forwarded port protocol can now be set as UDP. [GH-311]
542
+ - Chef server file cache path and file backup path can be configured. [GH-310]
543
+ - Setting hostname should work on Debian now. [GH-307]
544
+
545
+ ## 0.7.2 (February 8, 2011)
546
+
547
+ - Update JSON dependency to 1.5.1, which works with Ruby 1.9 on
548
+ Windows.
549
+ - Fix sudo issues on sudo < 1.7.0 (again).
550
+ - Fix race condition in SSH, which specifically manifested itself in
551
+ the chef server provisioner. [GH-295]
552
+ - Change sudo shell to use `bash` (configurable). [GH-301]
553
+ - Can now set mac address of host only network. [GH-294]
554
+ - NFS shared folders with spaces now work properly. [GH-293]
555
+ - Failed SSH commands now show output in error message. [GH-285]
556
+
557
+ ## 0.7.1 (January 28, 2011)
558
+
559
+ - Change error output with references to VirtualBox 3.2 to 4.0.
560
+ - Internal SSH through net-ssh now uses `IdentitiesOnly` thanks to
561
+ upstream net-ssh fix.
562
+ - Fix issue causing warnings to show with `forwardx11` enabled for SSH. [GH-279]
563
+ - FreeBSD support for host only networks, NFS, halting, etc. [GH-275]
564
+ - Make SSH commands which use sudo compatible with sudo < 1.7.0. [GH-278]
565
+ - Fix broken puppet server provisioner which called a nonexistent
566
+ method.
567
+ - Default SSH host changed from `localhost` to `127.0.0.1` since
568
+ `localhost` is not always loopback.
569
+ - New `shell` provisioner which simply uploads and executes a script as
570
+ root on the VM.
571
+ - Gentoo host only networking no longer fails if alrady setup. [GH-286]
572
+ - Set the host name of your guest OS with `config.vm.host_name` [GH-273]
573
+ - `vagrant ssh-config` now outputs the configured `config.ssh.host`
574
+
575
+ ## 0.7.0 (January 19, 2011)
576
+
577
+ - VirtualBox 4.0 support. Support for VirtualBox 3.2 is _dropped_, since
578
+ the API is so different. Stay with the 0.6.x series if you have VirtualBox
579
+ 3.2.x.
580
+ - Puppet server provisioner. [GH-262]
581
+ - Use numeric uid/gid in mounting shared folders to increase portability. [GH-252]
582
+ - HTTP downloading follows redirects. [GH-163]
583
+ - Downloaders have clearer output to note what they're doing.
584
+ - Shared folders with no guest path are not automounted. [GH-184]
585
+ - Boxes downloaded during `vagrant up` reload the Vagrantfile config, which
586
+ fixes a problem with box settings not being properly loaded. [GH-231]
587
+ - `config.ssh.forward_x11` to enable the ForwardX11 SSH option. [GH-255]
588
+ - Vagrant source now has a `contrib` directory where contributions of miscellaneous
589
+ addons for Vagrant will be added.
590
+ - Vagrantfiles are now loaded only once (instead of 4+ times) [GH-238]
591
+ - Ability to move home vagrant dir (~/.vagrant) by setting VAGRANT_HOME
592
+ environmental variable.
593
+ - Removed check and error for the "OSE" version of VirtualBox, since with
594
+ VirtualBox 4 this distinction no longer exists.
595
+ - Ability to specify proxy settings for chef. [GH-169]
596
+ - Helpful error message shown if NFS mounting fails. [GH-135]
597
+ - Gentoo guests now support host only networks. [GH-240]
598
+ - RedHat (CentOS included) guests now support host only networks. [GH-260]
599
+ - New Vagrantfile syntax for enabling and configuring provisioners. This
600
+ change is not backwards compatible. [GH-265]
601
+ - Provisioners are now RVM-friendly, meaning if you installed chef or puppet
602
+ with an RVM managed Ruby, Vagrant now finds then. [GH-254]
603
+ - Changed the unused host only network destroy mechanism to check for
604
+ uselessness after the VM is destroyed. This should result in more accurate
605
+ checks.
606
+ - Networks are no longer disabled upon halt/destroy. With the above
607
+ change, its unnecessary.
608
+ - Puppet supports `module_path` configuration to mount local modules directory
609
+ as a shared folder and configure puppet with it. [GH-270]
610
+ - `ssh-config` now outputs `127.0.0.1` as the host instead of `localhost`.
611
+
612
+ ## 0.6.9 (December 21, 2010)
613
+
614
+ - Puppet provisioner. [GH-223]
615
+ - Solaris system configurable to use `sudo`.
616
+ - Solaris system registered, so it can be set with `:solaris`.
617
+ - `vagrant package` include can be a directory name, which will cause the
618
+ contents to be recursively copied into the package. [GH-241]
619
+ - Arbitrary options to puppet binary can be set with `config.puppet.options`. [GH-242]
620
+ - BSD hosts use proper GNU sed syntax for clearing NFS shares. [GH-243]
621
+ - Enumerate VMs in a multi-VM environment in order they were defined. [GH-244]
622
+ - Check for VM boot changed to use `timeout` library, which works better with Windows.
623
+ - Show special error if VirtualBox not detected on 64-bit Windows.
624
+ - Show error to Windows users attempting to use host only networking since
625
+ it doesn't work yet.
626
+
627
+ ## 0.6.8 (November 30, 2010)
628
+
629
+ - Network interfaces are now up/down in distinct commands instead of just
630
+ restarting "networking." [GH-192]
631
+ - Add missing translation for chef binary missing. [GH-203]
632
+ - Fix default settings for Opscode platform and comments. [GH-213]
633
+ - Blank client name for chef server now uses FQDN by default, instead of "client" [GH-214]
634
+ - Run list can now be nil, which will cause it to sync with chef server (when
635
+ chef server is enabled). [GH-214]
636
+ - Multiple NFS folders now work on linux. [GH-215]
637
+ - Add translation for state "stuck" which is very rare. [GH-218]
638
+ - virtualbox gem dependency minimum raised to 0.7.6 to verify FFI < 1.0.0 is used.
639
+ - Fix issue where box downloading from `vagrant up` didn't reload the box collection. [GH-229]
640
+
641
+ ## 0.6.7 (November 3, 2010)
642
+
643
+ - Added validation to verify that a box is specified.
644
+ - Proper error message when box is not found for `config.vm.box`. [GH-195]
645
+ - Fix output of `vagrant status` with multi-vm to be correct. [GH-196]
646
+
647
+ ## 0.6.6 (October 14, 2010)
648
+
649
+ - `vagrant status NAME` works once again. [GH-191]
650
+ - Conditional validation of Vagrantfile so that some commands don't validate. [GH-188]
651
+ - Fix "junk" output for ssh-config. [GH-189]
652
+ - Fix port collision handling with greater than two VMs. [GH-185]
653
+ - Fix potential infinite loop with root path if bad CWD is given to environment.
654
+
655
+ ## 0.6.5 (October 8, 2010)
656
+
657
+ - Validations on base MAC address to avoid situation described in GH-166, GH-181
658
+ from ever happening again.
659
+ - Properly load sub-VM configuration on first-pass of config loading. Solves
660
+ a LOT of problems with multi-VM. [GH-166] [GH-181]
661
+ - Configuration now only validates on final Vagrantfile proc, so multi-VM
662
+ validates correctly.
663
+ - A nice error message is given if ".vagrant" is a directory and therefore
664
+ can't be accessed. [GH-172]
665
+ - Fix plugin loading in a Rails 2.3.x project. [GH-176]
666
+
667
+ ## 0.6.4 (October 4, 2010)
668
+
669
+ - Default VM name is now properly the parent folder of the working directory
670
+ of the environment.
671
+ - Added method to `TestHelpers` to assist with testing new downloaders.
672
+ - `up --no-provision` works again. This disables provisioning during the
673
+ boot process.
674
+ - Action warden doesn't do recovery process on `SystemExit` exceptions,
675
+ allowing the double ctrl-C to work properly again. [related to GH-166]
676
+ - Initial Vagrantfile is now heavily commented with various available
677
+ options. [GH-171]
678
+ - Box add checks if a box already exists before the download. [GH-170]
679
+ - NFS no longer attempts to clean exports file if VM is not created,
680
+ which was causing a stack trace during recovery. [related to GH-166]
681
+ - Basic validation added for Chef configuration (both solo and server).
682
+ - Top config class is now available in all `Vagrant::Config::Base`
683
+ subclasses, which is useful for config validation.
684
+ - Subcommand help shows proper full command in task listing. [GH-168]
685
+ - SSH gives error message if `ssh` binary is not found. [GH-161]
686
+ - SSH gives proper error message if VM is not running. [GH-167]
687
+ - Fix some issues with undefined constants in command errors.
688
+
689
+ ## 0.6.1, 0.6.2, 0.6.3 (September 27, 2010)
690
+
691
+ A lot of quick releases which all were to fix issues with Ruby 1.8.7
692
+ compatibility.
693
+
694
+ ## 0.6.0 (September 27, 2010)
695
+
696
+ - VM name now defaults to the name of the containing folder, plus a timestamp.
697
+ This should make it easier to identify VMs in the VirtualBox GUI.
698
+ - Exposed Vagrant test helpers in `Vagrant::TestHelpers` for plugins to easily
699
+ test themselves against Vagrant environments.
700
+ - **Plugins** have landed. Plugins are simply gems which have a `vagrant_init.rb`
701
+ file somewhere in their load path. Please read the documentation on
702
+ vagrantup.com before attempting to create a plugin (which is very easy)
703
+ for more information on how it all works and also some guidelines.
704
+ - `vagrant package` now takes a `--vagrantfile` option to specify a
705
+ Vagrantfile to package. The `--include` approach for including a Vagrantfile
706
+ no longer works (previously built boxes will continue to work).
707
+ - `vagrant package` has new logic with regards to the `--include` option
708
+ depending on if the file path is relative or absolute (they can be
709
+ intermixed):
710
+ * _Relative_ paths are copied directly into the box, preserving
711
+ their path. So `--include lib/foo` would be in the box as "lib/foo"
712
+ * _Absolute_ paths are simply copied files into the root of the
713
+ box. So `--include /lib/foo` would be in the box as "foo"
714
+ - "vagrant_main" is no longer the default run list. Instead, chef
715
+ run list starts empty. It is up to you to specify all recipes in
716
+ the Vagrantfile now.
717
+ - Fixed various issues with certain action middleware not working if
718
+ the VM was not created.
719
+ - SSH connection is retried 5 times if there is a connection refused.
720
+ Related to GH-140.
721
+ - If `http_proxy` environmental variable is set, it will be used as the proxy
722
+ box adding via http.
723
+ - Remove `config.ssh.password`. It hasn't been used for a few versions
724
+ now and was only kept around to avoid exceptions in Vagrantfiles.
725
+ - Configuration is now validated so improper input can be found in
726
+ Vagrantfiles.
727
+ - Fixed issue with not detecting Vagrantfile at root directory ("/").
728
+ - Vagrant now gives a nice error message if there is a syntax error
729
+ in any Vagrantfile. [GH-154]
730
+ - The format of the ".vagrant" file which stores persisted VMs has
731
+ changed. This is **backwards incompatible**. Will provide an upgrade
732
+ utility prior to 0.6 launch.
733
+ - Every [expected] Vagrant error now exits with a clean error message
734
+ and a unique exit status, and raises a unique exception (if you're
735
+ scripting Vagrant).
736
+ - Added I18n gem dependency for pulling strings into clean YML files.
737
+ Vagrant is now localizable as a side effect! Translations welcome.
738
+ - Fixed issue with "Waiting for cleanup" message appearing twice in
739
+ some cases. [GH-145]
740
+ - Converted CLI to use Thor. As a tradeoff, there are some backwards
741
+ incompatibilities:
742
+ * `vagrant package` - The `--include` flag now separates filenames
743
+ by spaces, instead of by commas. e.g. `vagrant package --include x y z`
744
+ * `vagrant ssh` - If you specify a command to execute using the `--execute`
745
+ flag, you may now only specify one command (before you were able to
746
+ specify an arbitrary amount). e.g. `vagrant ssh -e "echo hello"`
747
+ * `vagrant ssh-config` has become `vagrant ssh_config` due to a limitation
748
+ in Thor.
749
+
750
+ ## 0.5.4 (September 7, 2010)
751
+
752
+ - Fix issue with the "exec failed" by running on Tiger as well.
753
+ - Give an error when downloading a box which already exists prior
754
+ to actually downloading the box.
755
+
756
+ ## 0.5.3 (August 23, 2010)
757
+
758
+ - Add erubis as a dependency since its rendering of `erb` is sane.
759
+ - Fixed poorly formatted Vagrantfile after `vagrant init`. [GH-142]
760
+ - Fixed NFS not working properly with multiple NFS folders.
761
+ - Fixed chef solo provision to work on Windows. It was expanding a linux
762
+ path which prepended a drive letter onto it.
763
+
764
+ ## 0.5.2 (August 3, 2010)
765
+
766
+ - `vagrant up` can be used as a way to resume the VM as well (same as
767
+ `vagrant resume`). [GH-134]
768
+ - Sudo uses "-E" flag to preserve environment for chef provisioners.
769
+ This fixes issues with CentOS. [GH-133]
770
+ - Added "IdentitiesOnly yes" to options when `vagrant ssh` is run to
771
+ avoid "Too Many Authentication Failures" error. [GH-131]
772
+ - Fix regression with `package` not working. [GH-132]
773
+ - Added ability to specify box url in `init`, which populates the
774
+ Vagrantfile with the proper `config.vm.box_url`.
775
+
776
+ ## 0.5.1 (July 31, 2010)
777
+
778
+ - Allow specifying cookbook paths which exist only on the VM in `config.chef.cookbooks_path`.
779
+ This is used for specifying cookbook paths when `config.chef.recipe_url` is used. [GH-130]
780
+ See updated chef solo documentation for more information on this.
781
+ - No longer show "Disabling host only networks..." if no host only networks
782
+ are destroyed. Quiets `destroy`, `halt`, etc output a bit.
783
+ - Updated getting started guide to be more up to date and generic. [GH-125]
784
+ - Fixed error with doing a `vagrant up` when no Vagrantfile existed. [GH-128]
785
+ - Fixed NFS erroring when NFS wasn't even enabled if `/etc/exports` doesn't
786
+ exist. [GH-126]
787
+ - Fixed `vagrant resume` to properly resume a suspended VM. [GH-122]
788
+ - Fixed `halt`, `destroy`, `reload` to where they failed if the VM was
789
+ in a saved state. [GH-123]
790
+ - Added `config.chef.recipe_url` which allows you to specify a URL to
791
+ a gzipped tar file for chef solo to download cookbooks. See the
792
+ [chef-solo docs](http://wiki.opscode.com/display/chef/Chef+Solo#ChefSolo-RunningfromaURL) for more information.
793
+ [GH-121]
794
+ - Added `vagrant box repackage` which repackages boxes which have
795
+ been added. This is useful in case you want to redistribute a base
796
+ box you have but may have lost the actual "box" file. [GH-120]
797
+
798
+ ## Previous
799
+
800
+ The changelog began with version 0.5.1 so any changes prior to that
801
+ can be seen by checking the tagged releases and reading git commit
802
+ messages.
803
+