Show Table of Contents
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.
|

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.