juju sync-agent-binary
¶
See also: upgrade-controller
Summary¶
Copy agent binaries from the official agent store into a local controller.
Options¶
Flag |
Default |
Usage |
---|---|---|
|
false |
Do not use web browser for authentication |
|
Copy a specific major[.minor] version |
|
|
false |
Don’t copy, just print what would be copied |
|
Local destination directory |
|
|
Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
|
|
false |
Tools are for a public cloud, so generate mirrors information |
|
Local source directory |
|
|
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 https://streams.canonical.com/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.