Source of ssh key for first login

Simon Fels simon.fels at canonical.com
Thu Dec 22 11:44:40 UTC 2016


Take
https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager/tree/tests/image
as an example of how to generate such an image which includes a predefined
user (user: test, password: test in this case). This comes with some
implications (like if you're not the brand the assertion is only valid for
a year, etc.).

Hope that helps.

regards,
Simon

On Wed, Dec 21, 2016 at 10:39 PM, Michael Hudson-Doyle <
michael.hudson at canonical.com> wrote:

>
> On 21 December 2016 at 22:51, Luther Goh Lu Feng <elfgoh at yahoo.com> wrote:
>
>> During setup, console-conf will download the SSH key registered with your
>> Store account, The ssh key is used for first login.
>>
>> Is there a way to configure Ubuntu Core such that the source of the ssh
>> key can be from elsewhere? eg for cases whereby the device cant go online
>> and can only access a private network. Thanks
>>
>
> If you are the brand for the image you are using (i.e., you make your own
> image), you can provide a system-user assertion that will be processed
> during first boot to allow you to log in with user and password. The
> process for doing this is not documented anywhere that I know about though
> :(
>
> Cheers,
> mwh
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161222/1b3532f1/attachment.html>


More information about the Snapcraft mailing list