The information in this doc is based on Juju version 3.5.6, and may not accurately reflect other versions of Juju.
See also: upgrade-controller
Summary
Copy agent binaries from the official agent store into a local controller.
Options
Flag | Default | Usage |
---|---|---|
-B , --no-browser-login |
false | Do not use web browser for authentication |
--agent-version |
Copy a specific major[.minor] version | |
--dry-run |
false | Don’t copy, just print what would be copied |
--local-dir |
Local destination directory | |
-m , --model |
Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> | |
--public |
false | Tools are for a public cloud, so generate mirrors information |
--source |
Local source directory | |
--stream |
Simplestreams stream for which to sync metadata |
Examples
juju sync-agent-binary --debug --agent-version 2.0
juju sync-agent-binary --debug --agent-version 2.0 --local-dir=/home/ubuntu/sync-agent-binary
Details
This copies the Juju agent software from the official agent binaries store (located at Index of /juju) into the controller. It is generally done when the controller is without Internet access.
Instead of the above site, a local directory can be specified as source. The online store will, of course, need to be contacted at some point to get the software.