Allow to use several boxes with the same name
This commit is contained in:
parent
8b8f2b26a6
commit
1c1dd1ef8a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue