Code review comment for ~raharper/curtin:fix/curtainer-dont-wait-for-snap

Revision history for this message
Ryan Harper (raharper) wrote :

> https://cloud-images.ubuntu.com/minimal/daily/groovy/

Yes, I added the releases, not daily.

lxc remote add --protocol simplestreams ubuntu-minimal-daily https://cloud-images.ubuntu.com/minimal/daily

> I think there's a better way ignore the snapd.seeded service:
>
> lxc init ubuntu:focal test-f
> lxc file push /dev/null test-f/etc/systemd/system/snapd.seeded.service
> lxc start test-f

Yes; that's nice

> For even better performance we could fully mask snapd.service instead, which
> also causes snapd.seeded.service to terminate immediately.gq

systemctl mask does exactly what you're saying (symlink)

You need to add --now to the systemctl mask to stop active units; but if
we use the pre-boot mask operation (your file push) that's not needed.

I'll update this PR with that.

The minimal feature is a separate PR now.

« Back to merge proposal