Allow override of default_provider
Set the VAGRANT_DEFAULT_PROVIDER environment variable to override the value of default_provider.
This commit is contained in:
parent
2e50a238fc
commit
8cd74fee16
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue