From 8a7deefe64cab0b3c49ebc510c6524b1fad1f884 Mon Sep 17 00:00:00 2001 From: dsclose Date: Thu, 12 Nov 2015 08:05:57 +0000 Subject: [PATCH] CLOUDSTACK-9058 Respond with "saved_password" if no password is to be issued. --- systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip.py | 1 + 1 file changed, 1 insertion(+) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip.py b/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip.py index 91dec24e9ae..fc84910a117 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip.py @@ -113,6 +113,7 @@ class PasswordRequestHandler(BaseHTTPRequestHandler): if requestType == 'send_my_password': password = getPassword(clientAddress) if not password: + self.wfile.write('saved_password') syslog.syslog('serve_password: requested password not found for %s' % clientAddress) else: self.wfile.write(password)