mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
[2017.7.8] backport PR #48212
This commit is contained in:
parent
f73ba21bc7
commit
cf7f2459b8
@ -2439,7 +2439,7 @@ def wait_for_instance(
|
||||
)
|
||||
pprint.pprint(console)
|
||||
time.sleep(5)
|
||||
output = console['output_decoded']
|
||||
output = salt.utils.to_unicode(console['output_decoded'])
|
||||
comps = output.split('-----BEGIN SSH HOST KEY KEYS-----')
|
||||
if len(comps) < 2:
|
||||
# Fail; there are no host keys
|
||||
|
Loading…
Reference in New Issue
Block a user