mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
if password in profile,not overwrite it
if user provide password in profile,we shouldn't overwrite it
This commit is contained in:
parent
9751e19b61
commit
a59b07bf71
@ -693,8 +693,8 @@ def request_instance(vm_=None, call=None):
|
||||
vm_['name'], exc
|
||||
)
|
||||
)
|
||||
|
||||
vm_['password'] = data.extra.get('password', '')
|
||||
if not vm_.get('password', None):
|
||||
vm_['password'] = data.extra.get('password', '')
|
||||
|
||||
return data, vm_
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user