Add support for 'admin' user for OVH
OVH images have, of course, yet another 'root' user they would like us to use instead of root. Change-Id: If8cc3d31862e352eed40fc041a4c6c695a35063a
This commit is contained in:
@@ -179,6 +179,8 @@ def ssh_connect(ip, username, connect_kwargs={}, timeout=60):
|
||||
except socket.error as e:
|
||||
print "While testing ssh access:", e
|
||||
time.sleep(5)
|
||||
except paramiko.ssh_exception.AuthenticationException:
|
||||
return None
|
||||
|
||||
ret, out = client.ssh("echo access okay")
|
||||
if "access okay" in out:
|
||||
|
Reference in New Issue
Block a user