Merge "Add cloud-user to non-root user list"
This commit is contained in:
commit
f03b6d6aa7
@ -824,7 +824,7 @@ class ImageUpdater(threading.Thread):
|
|||||||
# We have connected to the node but couldn't do anything as root
|
# We have connected to the node but couldn't do anything as root
|
||||||
# try distro specific users, since we know ssh is up (a timeout
|
# try distro specific users, since we know ssh is up (a timeout
|
||||||
# didn't occur), we can connect with a very sort timeout.
|
# didn't occur), we can connect with a very sort timeout.
|
||||||
for username in ['ubuntu', 'fedora']:
|
for username in ['ubuntu', 'fedora', 'cloud-user']:
|
||||||
try:
|
try:
|
||||||
host = utils.ssh_connect(server['public_v4'], username,
|
host = utils.ssh_connect(server['public_v4'], username,
|
||||||
ssh_kwargs,
|
ssh_kwargs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user