Making use of system-user assertion

Omer Akram omer.akram at canonical.com
Tue Dec 13 10:12:13 UTC 2016


Thanks Simon, that seems to have worked, as-is. Will check if I need to
change somethings or not.

On Tue, Dec 13, 2016 at 2:01 PM, Simon Fels <simon.fels at canonical.com>
wrote:

> On 13.12.2016 09:58, Omer Akram wrote:
> > Hi!
> >
> > We are trying to run some CI tests for snapweb, one of the environments
> > that we want to test with, is Ubuntu Core in a kvm. The idea is to
> > download the latest daily Ubuntu Core image, install the newly built
> > snap as part of our CI and run tests on top of that.
> >
> > To do all that seamlessly, we need a way to skip the console-conf
> > wizard, mainly the user creation part. Any pointers on what needs to be
> > done to achieve that would help greatly.
>
> We had the same problem with our spread test setup for network-manager.
> Have a look at
> https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-
> snaps/+git/network-manager/tree/tests/image
> and also the rest of the spread test setup in
> https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-
> snaps/+git/network-manager/tree/tests/lib
>
> Basically we're creating an image with a system-user assertion for the
> user test with password test builtin. That requires another firstboot
> systemd service job to get the user correctly created but works pretty
> well.
>
> Hope that helps.
>
> regards,
> Simon
>
> --
> Devices mailing list
> Devices at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.snapcraft.io/
> mailman/listinfo/devices
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snapcraft.io/archives/devices/attachments/20161213/7c831714/attachment.html>


More information about the Devices mailing list