Fix vbox multimachine by setting provider parallel default correctly
Turns out I misinterpreted the behavior of a ruby method with a default being passed nil so I assumed :parallel was effectively defaulting to true when it is the opposite.
This commit is contained in:
parent
fe4956ac83
commit
fc76f71ffc
@ -127,8 +127,8 @@ module VagrantPlugins
|
||||
return SDK::PluginInfo::ProviderOptions.new(
|
||||
# Priority is always set in V2::Plugin.provider
|
||||
priority: popts[:priority],
|
||||
# Parallel is passed along to Environment#batch which defaults it to true
|
||||
parallel: popts.fetch(:parallel, true),
|
||||
# Parallel is defaults to falsy when its passed along as an arg to Environment#batch.
|
||||
parallel: popts.fetch(:parallel, false),
|
||||
# BoxOptional defaults to falsy when it's used in Kernel_V2::VMConfig
|
||||
box_optional: popts.fetch(:box_optional, false),
|
||||
# Defaultable is considered true when it is not specified in Environment#default_provider
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user