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.hud...@canonical.com> wrote: > > On 21 December 2016 at 22:51, Luther Goh Lu Feng <elf...@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@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > >
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft