core: Call default_provider with the machine for commands
This commit is contained in:
parent
768d453739
commit
59dbe51ef2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue