From 59dbe51ef2f0ba021b5e9c213710303d45c3b2d2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 23 Oct 2014 15:53:22 -0700 Subject: [PATCH] core: Call default_provider with the machine for commands --- lib/vagrant/plugin/v2/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/plugin/v2/command.rb b/lib/vagrant/plugin/v2/command.rb index a702b767c..a805c53ad 100644 --- a/lib/vagrant/plugin/v2/command.rb +++ b/lib/vagrant/plugin/v2/command.rb @@ -162,7 +162,7 @@ module Vagrant end # Use the default provider if nothing else - provider_to_use ||= @env.default_provider + provider_to_use ||= @env.default_provider(machine: name) # Get the right machine with the right provider @env.machine(name, provider_to_use)