Allow to use several boxes with the same name

This commit is contained in:
Emilien Kenler 2015-03-23 16:30:23 +09:00
parent 8b8f2b26a6
commit 1c1dd1ef8a
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ module Vagrant
vf = nil vf = nil
vf = @env.vagrantfile_name[0] if @env.vagrantfile_name vf = @env.vagrantfile_name[0] if @env.vagrantfile_name
id = Digest::MD5.hexdigest( id = Digest::MD5.hexdigest(
"#{@env.root_path}#{vf}#{@name}") "#{@env.root_path}#{vf}#{@env.local_data_path}#{@name}")
# We only lock if we're not executing an SSH action. In the future # We only lock if we're not executing an SSH action. In the future
# we will want to do more fine-grained unlocking in actions themselves # we will want to do more fine-grained unlocking in actions themselves