Comment 2 for bug 1674764

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Curtis, thank you. I knew I had done this before, so it seemed crazy it wasn't working. So passing

--agent-version=

will set the bootstrap agent version and passing

--config agent-version=

will set the default model agent versions. Also I can't bootstrap with an version that doesn't match the minor version. So for example with the 2.1.2 client, I can't bootstrap with 2.0.x or 2.2.x.

$ juju bootstrap aws aws --agent-version='2.0.2'
error: requested agent version major.minor mismatch

$ juju bootstrap aws aws --agent-version='2.1-beta1'
Creating Juju controller "aws" on aws/us-east-1
Looking for packaged Juju agent version 2.1-beta1 for amd64

$ juju bootstrap aws--agent-version='2.2-alpha1'
error: requested agent version major.minor mismatch

I'll note bootstrap help text doesn't make this very clear.