mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Stop ticking off Amazon
This commit is contained in:
parent
1c86336d25
commit
a8dd09282b
@ -120,6 +120,7 @@ def wait_for_ssh(host, port=22, timeout=900):
|
||||
sock.shutdown(2)
|
||||
return True
|
||||
except Exception:
|
||||
time.sleep(1)
|
||||
if time.time() - start > timeout:
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user