diff --git a/CHANGELOG.md b/CHANGELOG.md index 30d18e651..7a8b4b122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ - Unix-style line endings are used properly for guest OS. [GH-727] - Retry certain VirtualBox operations, since they intermittently fail. [GH-726] + - Fix issue where Vagrant would sometimes "lose" a VM if an exception + occurred. [GH-725] ## 0.9.7 (February 9, 2012) diff --git a/lib/vagrant/vm.rb b/lib/vagrant/vm.rb index 93f73f224..db00647b6 100644 --- a/lib/vagrant/vm.rb +++ b/lib/vagrant/vm.rb @@ -131,7 +131,7 @@ module Vagrant # Clear the UUID since this VM doesn't exist. Note that this calls # back into `reload!` but shouldn't ever result in infinite # recursion since `@uuid` will be nil. - self.uuid = nil + @uuid = nil end end