If I have multiple juju environments defined, I will often want to run a series of commands on one of them. Specifying -e on every call is rather tedious, but changing the default every time you switch projects is also annoying. Is there an environment variable I can set in my shell session to specify which environment all subsequent juju commands should be run against?
|
There are three ways to manage Juju environments within the command line. One way is to set the "default" YAML key to the environment you want to use by default:
You can override the
Lastly, Juju will look for the
|
||||
|
|