Merge pull request #5514 from MiLk/fixes/several-boxes-same-name

Allow to use several boxes with the same name
This commit is contained in:
Mitchell Hashimoto 2015-07-09 15:00:03 -06:00
commit b0b9f67faf
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ module Vagrant
vf = nil
vf = @env.vagrantfile_name[0] if @env.vagrantfile_name
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 will want to do more fine-grained unlocking in actions themselves