mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #40666 from gtmanfred/userdata
make sure userdata is always defined in ec2
This commit is contained in:
commit
3e41a248a5
1 changed files with 1 additions and 0 deletions
|
@ -1676,6 +1676,7 @@ def request_instance(vm_=None, call=None):
|
|||
image_id = vm_['image']
|
||||
params[spot_prefix + 'ImageId'] = image_id
|
||||
|
||||
userdata = None
|
||||
userdata_file = config.get_cloud_config_value(
|
||||
'userdata_file', vm_, __opts__, search_global=False, default=None
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue