Allow override of default_provider

Set the VAGRANT_DEFAULT_PROVIDER environment variable to override the
value of default_provider.
This commit is contained in:
JD Harrington 2013-03-21 21:16:07 -04:00 committed by Mitchell Hashimoto
parent 2e50a238fc
commit 8cd74fee16
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ module Vagrant
# #
# @return [Symbol] Name of the default provider. # @return [Symbol] Name of the default provider.
def default_provider def default_provider
:virtualbox (ENV['VAGRANT_DEFAULT_PROVIDER'] || :virtualbox).to_sym
end end
# Returns the collection of boxes for the environment. # Returns the collection of boxes for the environment.