authorized-keys is now optional
Andrew Wilkins
andrew.wilkins at canonical.com
Fri Jul 8 04:14:52 UTC 2016
Hi users of the add-model API,
The authorized-keys config is now only required at bootstrap time, because
bootstrapping involves an SSH step. This means you no longer need to
specify authorized-keys in your config for add-model.
The Juju CLI will now automatically read ~/.ssh/id_rsa.pub and friends into
authorized-keys when adding a model, just as bootstrap does. If no public
keys are found, a warning will be displayed. You can still add keys later
using the "juju add-ssh-key" command.
If you've been specifying a nonsense authorized-keys value just to get
add-model to work (hi Juju GUI), then please change your code to not pass
anything. At the moment we do not validate the input, but we may want to
change that later on.
(This is on master, and will go into 2.0-beta12.)
Cheers,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160708/336be22b/attachment.html>
More information about the Juju-dev
mailing list