Command 'juju set-application-base'


juju set-application-base [options] <application> <base>


Set an application’s base.

Global Options:

--debug  (= false)

Equivalent to --show-log --logging-config=<root>=DEBUG

-h, --help  (= false)

Show help on a command or other topic.

–logging-config (= “”)

Specify log levels for modules

--quiet  (= false)

Show no informational output

--show-log  (= false)

If set, write the log file to stderr

--verbose  (= false)

Show more verbose output

Command Options:

-B, --no-browser-login  (= false)

Do not use web browser for authentication

-m, --model (= "")

Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>


The specified application’s base value will be set within juju. Any subordinates of the application will also have their base set to the provided value. A base can be specified using the OS name and the version of the OS, separated by @.

This will not change the base of any existing units, rather new units will use the new base when deployed.

It is recommended to only do this after upgrade-machine has been run for machine containing all existing units of the application.

To ensure correct binaries, run juju refresh before running juju add-unit.