Update CHANGELOG, minor style changes

This commit is contained in:
Mitchell Hashimoto 2011-07-08 18:19:36 -07:00
parent 5bf4efe071
commit 8b2d4bfe92
2 changed files with 8 additions and 5 deletions

View File

@ -2,6 +2,10 @@
- Performance optimizations in `virtualbox` gem. Huge speed gains. - Performance optimizations in `virtualbox` gem. Huge speed gains.
- `:chef_server` provisioner is now `:chef_client`. [GH-359] - `:chef_server` provisioner is now `:chef_client`. [GH-359]
- SSH connection is now cached after first access internally,
speeding up `vagrant up`, `reload`, etc. quite a bit.
- Actions which modify the VM now occur much more quickly,
greatly speeding up `vagrant up`, `reload`, etc.
- SUSE host only networking support. [GH-369] - SUSE host only networking support. [GH-369]
- Show nice error message for invalid HTTP responses for HTTP - Show nice error message for invalid HTTP responses for HTTP
downloader. [GH-403] downloader. [GH-403]
@ -19,10 +23,7 @@
- Provisioner configuration is no longer cleared when the box - Provisioner configuration is no longer cleared when the box
needs to be downloaded during an `up`. [GH-308] needs to be downloaded during an `up`. [GH-308]
- Multiple Chef provisioners no longer overwrite cookbook folders. [GH-407] - Multiple Chef provisioners no longer overwrite cookbook folders. [GH-407]
- SSH connection is now cached after first access internally, - `package` won't delete previously existing file. [GH-408]
speeding up `vagrant up`, `reload`, etc. quite a bit.
- Actions which modify the VM now occur much more quickly,
greatly speeding up `vagrant up`, `reload`, etc.
## 0.7.6 (July 2, 2011) ## 0.7.6 (July 2, 2011)

View File

@ -38,7 +38,9 @@ module Vagrant
end end
def recover(env) def recover(env)
unless env["vagrant.error"].is_a?(Errors::PackageOutputExists) # Don't delete the tar_path if the error is that the output already
# exists, since this will nuke the user's previous file.
if !env["vagrant.error"].is_a?(Errors::PackageOutputExists)
# Cleanup any packaged files if the packaging failed at some point. # Cleanup any packaged files if the packaging failed at some point.
File.delete(tar_path) if File.exist?(tar_path) File.delete(tar_path) if File.exist?(tar_path)
end end