Merge pull request #43498 from vernondcole/fix_preflight

preflight_cmds should use passed opts
This commit is contained in:
Nicole Thomas 2017-09-14 09:20:56 -04:00 committed by GitHub
commit 32a5221f70

View File

@ -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'],