diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 5f936c0fe..96c9adafd 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -338,7 +338,7 @@ module Vagrant # a priority to each in the order they exist so that we try these first. config = {} root_config.vm.__providers.reverse.each_with_index do |key, idx| - config[key] = idx + config[key] = idx + 1 end # Determine the max priority so that we can add the config priority