diff --git a/lib/vagrant/machine.rb b/lib/vagrant/machine.rb index 3ca3b4e23..ec4d11d91 100644 --- a/lib/vagrant/machine.rb +++ b/lib/vagrant/machine.rb @@ -230,7 +230,7 @@ module Vagrant end # Store the ID locally - @id = value.to_s + @id = value.nil? ? nil : value.to_s # Notify the provider that the ID changed in case it needs to do # any accounting from it.