mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #48212 from Ch3LL/py3_ec2
Fix python3 ec2 salt-cloud TypeError when installing salt
This commit is contained in:
commit
77a75ebdcf
1 changed files with 1 additions and 1 deletions
|
@ -2421,7 +2421,7 @@ def wait_for_instance(
|
|||
)
|
||||
pprint.pprint(console)
|
||||
time.sleep(5)
|
||||
output = console['output_decoded']
|
||||
output = salt.utils.stringutils.to_unicode(console['output_decoded'])
|
||||
comps = output.split('-----BEGIN SSH HOST KEY KEYS-----')
|
||||
if len(comps) < 2:
|
||||
# Fail; there are no host keys
|
||||
|
|
Loading…
Add table
Reference in a new issue