mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
make sure userdata is always defined in ec2
This commit is contained in:
parent
0638418d22
commit
5e92fd0948
@ -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…
Reference in New Issue
Block a user