mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix python3 ec2 salt-cloud TypeError when installing salt
This commit is contained in:
parent
5b4897f050
commit
b0d75f459a
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