mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Merge pull request #1079 from dsclose/CLOUDSTACK-9058
CLOUDSTACK-9058 - Respond with "saved_password" if no password is to be issued.The password server on the virtual router should respond with "saved_password" if no password is to be issued. This allows for backwards compatibility with Windows Guest VMs which require the "saved_password" response. * pr/1079: CLOUDSTACK-9058 Signed-off-by: Remi Bergsma <github@remi.nl>
This commit is contained in:
commit
37cee3309c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user