Michael Pasternak has uploaded a new change for review.

Change subject: cli: add username/password prompt (phase 2) #854338
......................................................................

cli: add username/password prompt (phase 2) #854338

this patch disallowing specifying password via bash
commandline.

Change-Id: Ie6aa6e7b2c2c1802e0afc4a067a5357ab518c2f0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=854338
Signed-off-by: Michael pasternak <[email protected]>
---
M src/cli/context.py
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/42/16442/1

diff --git a/src/cli/context.py b/src/cli/context.py
index f5397d0..3085b9b 100644
--- a/src/cli/context.py
+++ b/src/cli/context.py
@@ -85,8 +85,6 @@
         self._logger = logger
 
     def __collect_connection_data(self):
-        self.__exclude_app_options()
-
         try:
             if self.settings['ovirt-shell:url'] == '' and \
             not self.__is_option_specified_in_cli_args('--url')  and \
@@ -134,6 +132,7 @@
             self.settings.write_example_config_file()
         elif old_format:
             self.settings.write_config_file()
+        self.__exclude_app_options()
         if self.__is_auto_connect():
             self.__collect_connection_data()
         self.settings.add_callback('cli:debug', self._set_debug)


-- 
To view, visit http://gerrit.ovirt.org/16442
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie6aa6e7b2c2c1802e0afc4a067a5357ab518c2f0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to