Description of problem: Currently I can define almost all parameters for rhevm-shell from the configuration file ( .rhevmshellrc ) : e.g url , user name password e.t.c . I would like to have the option to define auto connect to rhevm shell. Instead of running "rhev-shell -c" I want to simply run rhevm-shell. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: vim ~/.rhevmshellrc [ovirt-shell] username = admin@internal url = https://10.35.161.46:443/api insecure = True no_paging = True filter = False timeout = -1 password = XXXXXX
added autoconnect = True|False key to configuration file (default is True)
[imeerovi@imeerovi ART]$ rhevm-shell ========================================== >>> connected to RHEVM manager 3.3.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# exit [imeerovi@imeerovi ART]$ cat ~/.rhevmshellrc [cli] autoconnect = True autopage = True [ovirt-shell] username = admin@internal timeout = -1 extended_prompt = False url = https://vm-161-147.scl.lab.tlv.redhat.com:443/api/ insecure = True filter = False session_timeout = -1 ca_file = None dont_validate_cert_chain = False key_file = None password = 123456 cert_file = None [imeerovi@imeerovi ART]$ rpm -q rhevm-cli rhevm-cli-3.3.0.5-1.el6ev.noarch [imeerovi@imeerovi ART]$
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0076.html