← Back to team overview

maas-devel team mailing list archive

Re: MAAS Testing

 

On Fri, Apr 20, 2012 at 12:18 PM, Francis J. Lacoste
<francis.lacoste@xxxxxxxxxxxxx> wrote:
>
>
> 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.

Thank you!

>
> You won't see these keys in MAAS.
>
> --
> Francis J. Lacoste
> francis.lacoste@xxxxxxxxxxxxx
>



-- 
Diogo M. Matsubara


References