Comment 8 for bug 1979845

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

this entirely due to how free-form preseeded snaps yaml file is generated.

when using snapd tooling to create one, contact-info is extracted and stored inside seed.yaml.

when livecd-rootfs creates preseeding file itself, it doesn't encode such information in the seed.yaml, but it should.

if one doesn't have network connectivity / didn't refresh snaps in the live system, the contact details will not be avaiable.

please fix livecd-rootfs to populate more complete seed.yaml with contact info details. (specifically _snap_preseed function).

Unofortunately, snpad preseed tooling doesn't support incremental add/remove/append snaps to seed.yaml. Hence at the moment it is not possible to replace manual seed.yaml creation in livecd-rootfs with the one provided by snapd tooling. See https://github.com/snapcore/snapd/pull/8791