Merge pull request #323 from hashicorp/fix-multimachine-parallel

Fix vbox multimachine by setting provider parallel default correctly
This commit is contained in:
Paul Hinze 2022-07-25 16:57:25 -05:00 committed by GitHub
commit 3942a359d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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