Merge "Add cloud-user to non-root user list"

This commit is contained in:
Jenkins 2014-05-28 20:43:30 +00:00 committed by Gerrit Code Review
commit f03b6d6aa7

View File

@ -824,7 +824,7 @@ class ImageUpdater(threading.Thread):
# 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
# didn't occur), we can connect with a very sort timeout.
for username in ['ubuntu', 'fedora']:
for username in ['ubuntu', 'fedora', 'cloud-user']:
try:
host = utils.ssh_connect(server['public_v4'], username,
ssh_kwargs,