Fix interactive password prompt

Change-Id: Ie0e7a9cd6016b5c646a111a76e8372e10602a25c
Closes-Bug: #1473862
This commit is contained in:
TerryHowe 2015-07-13 07:44:24 -06:00
parent 1462fb7f49
commit ef0cf00b33

View File

@ -125,7 +125,7 @@ class ClientManager(object):
# password auth is requested.
if (self.auth_plugin_name.endswith('password') and
not self._cli_options.auth.get('password', None)):
self._cli_options.os_password = self._pw_callback()
self._cli_options.auth['password'] = self._pw_callback()
(auth_plugin, self._auth_params) = auth.build_auth_params(
self.auth_plugin_name,