[Maas-devel] MAAS Testing
Francis J. Lacoste
francis.lacoste at canonical.com
Fri Apr 20 15:18:44 UTC 2012
On 12-04-20 10:12 AM, Diogo Matsubara wrote:
>> > That's a misunderstanding. You don't need to associate your SSH key with
>> > your account in MAAS to use Juju. Juju will automatically add the user's
>> > SSH key to the ubuntu account. Associating SSH keys is only required if
>> > you want to manage the instance without Juju.
> Ah! Thanks for clarifying this Francis.
> Out of curiosity, how does juju adds the key to the node without
> previously adding it?
> Using the MAAS api key, it queries the MAAS server, adds the key to
> the MAAS account and then MAAS boots up the node and the key will be
> there? When I tested this, it didn't quite work, but I might have done
> something wrong. I'll try again today.
>
No. Juju provides it's own user-data that will do the right thing when
cloud-init is invoked.
Basically, Juju will put the user's SSH keys in the clout-init
user-data. So when the nodes install itself, it will install the keys in
the account.
You won't see these keys in MAAS.
--
Francis J. Lacoste
francis.lacoste at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20120420/afcd6f64/attachment.pgp>
More information about the Maas-devel
mailing list