3. Configuration
3.1. General Notes
You can configure the Cobbler CLI via various mechanisms. The order in which the values are overwritten is the following:
Defaults
YAML configuration file
Environment variables
CLI flags
Keeping this order in mind, the defaults have the lowest priority and the CLI flags the highest.
3.2. YAML configuration file notes
The following paths are searched for the YAML configuration file:
The explicitly given one in the
-c/--configflag.The users home directory
$HOME/.cobbler.yaml
3.3. Settings
3.3.1. Cobbler Server URL
The full URL that the CLI will use to connect to the API.
Default:
http://127.0.0.1/cobbler_apiYAML key:
server_urlEnv variable:
SERVER_URLCLI flag: None
3.3.2. Cobbler Server Username
The username that should be used for logging into the Cobbler server.
Default:
cobblerYAML key:
server_usernameEnv variable:
SERVER_USERNAMECLI flag: None
3.3.3. Cobbler Server Password
The password that should be used for logging into the Cobbler server.
Default:
cobblerYAML key:
server_passwordEnv variable:
SERVER_PASSWORDCLI flag: None