Initializing the configuration file
Initialize a new configuration file at the default location.
Attention: If you already initialized a configuration file and use
lmctl
login
, you might skip the following section. Initialize a new configuration file at the default location:
lmctl create config
If you do not want to use the default location, add --path with a location:
lmctl create config --path lmctl-config.yaml
Open the file to view its initial content. Update the default
environment that
is added, with the details that are necessary to access your TNCO environment.
vi ~/.lmctl/config.yaml
# Or if created with --path
vi lmctl-config.yaml
You need to set LMCONFIG
environment variable, if --path is
used to create the file.
export LMCONFIG=~/lmctl-config.yaml
On Windows, you can see the following command:
set LMCONFIG=%HomeDrive%%HomePath%\lmctl-config.yaml
You can run the following command to see the contents of the modified file:
lmctl get config