diff --git a/lib/vagrant/plugin/v2/command.rb b/lib/vagrant/plugin/v2/command.rb index 2c643ec7c..c3f01bb21 100644 --- a/lib/vagrant/plugin/v2/command.rb +++ b/lib/vagrant/plugin/v2/command.rb @@ -98,7 +98,7 @@ module Vagrant # get_machine = lambda do |name| # Check for an active machine with the same name - provider_to_use = options[:provider] + provider_to_use = options[:provider].to_sym @env.active_machines.each do |active_name, active_provider| if name == active_name