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?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
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
|
||||
|
|