From 1c1dd1ef8a696044d86d6cd692f053495cd3e956 Mon Sep 17 00:00:00 2001 From: Emilien Kenler Date: Mon, 23 Mar 2015 16:30:23 +0900 Subject: [PATCH] Allow to use several boxes with the same name --- lib/vagrant/machine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/machine.rb b/lib/vagrant/machine.rb index 03ca19f07..e1f4e56a4 100644 --- a/lib/vagrant/machine.rb +++ b/lib/vagrant/machine.rb @@ -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