- List Available Configuration Keys
Use the --list
parameter to list available configuration keys.
# rhevm-config --list
The tool lists each available configuration key by name. It also returns a description of each key's purpose.
- List Available Configuration Values
Use the --all
parameter to list available configuration values.
# rhevm-config --all
The tool lists each available configuration key by name as well as the current value of the key, and the configuration version.
- Get Value of Configuration Key
Use the --get
parameter to get the value of a specific key.
# rhevm-config --get KEY_NAME
Replace KEY_NAME
with the name of the key to retrieve. The tool returns the key name, value, and the configuration version. Optionally the --cver
parameter is used to specify the configuration value from which the value should be retrieved.
- Set Value of Configuration Key
Use the --set
parameter to set the value of a specific key. You must also set the configuration version to which the change is to apply using the --cver
parameter.
# rhevm-config --set KEY_NAME
=KEY_VALUE
--cver=VERSION
Replace KEY_NAME
with the name of the key to set, and replace KEY_VALUE
with the value to assign to it. In an environment with more than one configuration version you must also take care to replace VERSION
with the name of the configuration version in use.