mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Make sure creds are set before `racadm update
`
This commit is contained in:
parent
7c29662136
commit
54efb93f64
@ -1298,6 +1298,12 @@ def _update_firmware(cmd,
|
||||
host=None,
|
||||
admin_username=None,
|
||||
admin_password=None):
|
||||
|
||||
if not admin_username:
|
||||
admin_username = __pillar__['proxy']['admin_username']
|
||||
if not admin_username:
|
||||
admin_password = __pillar__['proxy']['admin_password']
|
||||
|
||||
ret = __execute_ret(cmd,
|
||||
host=host,
|
||||
admin_username=admin_username,
|
||||
|
Loading…
Reference in New Issue
Block a user