Revert auto_config change in #1249 (#1253)

The #1249 introduce a change of behaviour on auto_config to skip if it
was any kind of false, where as the correct behaviour is to only skip if
explicitly set to false.
This commit is contained in:
Darragh Bailey
2021-04-19 12:34:20 +01:00
committed by GitHub
parent 699933e03a
commit d764a308b4

View File

@@ -194,7 +194,7 @@ module VagrantPlugins
# It's used for provisioning and it has to be available during provisioning,
# ifdown command is not acceptable here.
next if slot_number.zero?
next if !options[:auto_config]
next if options[:auto_config] === false
@logger.debug "Configuring interface slot_number #{slot_number} options #{options}"
network = {