mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Call salt.utils.cloud.bootstrap in GCE Driver provisioning
Fixes #26310
This commit is contained in:
parent
81377ec710
commit
6ae7524744
@ -2122,6 +2122,8 @@ def create(vm_=None, call=None):
|
||||
vm_['ssh_host'] = __get_host(node_data, vm_)
|
||||
vm_['key_filename'] = ssh_key
|
||||
|
||||
ret = salt.utils.cloud.bootstrap(vm_, __opts__)
|
||||
|
||||
log.info('Created Cloud VM {0[name]!r}'.format(vm_))
|
||||
log.debug(
|
||||
'{0[name]!r} VM creation details:\n{1}'.format(
|
||||
@ -2141,7 +2143,7 @@ def create(vm_=None, call=None):
|
||||
transport=__opts__['transport']
|
||||
)
|
||||
|
||||
return node_dict
|
||||
return ret
|
||||
|
||||
|
||||
def update_pricing(kwargs=None, call=None):
|
||||
|
Loading…
Reference in New Issue
Block a user