1.3. .ovirtshellrc Configuration


The .ovirtshellrc file is a configuration file that is automatically created and populated when the user first connects to the ovirt-shell. It allows users to configure options for connecting to the Red Hat Virtualization environment. The .ovirtshellrc file is located by default in /home/[user name]/.ovirtshellrc.
The configuration information of the .ovirtshellrc file falls under two section headings, [cli] and [ovirt-shell]. These headings are necessary for the configuration file to be parsed.
Table 1.1. [cli] Parameters
Name Type Description
autoconnect
boolean
Toggles whether to automatically connect to an ovirt-shell session. The status is either True or False.
autopage
boolean
Toggles pagination in the shell. The status is either True or False.
Table 1.2. [ovirt-shell] Parameters
Name Type Description
username
string
User name to be used to log in.
timeout
integer
Specifies timeout for requests. The default is -1.
extended_prompt
boolean
Toggles the extended prompt option, which displays the hostname in the shell command prompt.
url
string
The address of the Red Hat Virtualization environment.
insecure
boolean
Toggles CA certificate requirement. The status is either True or False.
renew_session
boolean
Toggles automatic renewal of the session upon expiration. The status is either True or False.
filter
boolean
Toggles object filtering. Object filtering allows users to fetch objects according to their permissions. Only admin roles can toggle filtering off. The status is either True or False.
session_timeout
integer
Specifies timeout (in minutes) for authentication session. Must be a positive number.
ca_file
string
Specifies the server CA certificate to use.
dont_validate_cert_chain
boolean
Toggles validation of server CA certificate. The status is either True or False.
key_file
string
Specifies client PEM key-file.
password
string
Password to be used for user name.
cert_file
string
Specifies client PEM cert-file.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.