diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index d14698a6a4..b013c48f30 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -459,7 +459,7 @@ def bootstrap(vm_, opts=None): 'wait_for_passwd_maxtries', vm_, opts, default=15 ), 'preflight_cmds': salt.config.get_cloud_config_value( - 'preflight_cmds', vm_, __opts__, default=[] + 'preflight_cmds', vm_, opts, default=[] ), 'cloud_grains': {'driver': vm_['driver'], 'provider': vm_['provider'],