Hi,
With the gadget snap we can set some default config values for various other snaps.
Is there any mechanism to enforce and/or update those variables via the gadget ? Or would we have to implement that ourselves ?
Cheers,
Just
Hi,
With the gadget snap we can set some default config values for various other snaps.
Is there any mechanism to enforce and/or update those variables via the gadget ? Or would we have to implement that ourselves ?
Cheers,
Just
No, the config you set with defaults
in your gadget.yaml only are applied during seeding/first-boot, if you change those values later you would have to reflash the image to have them automatically applied. But as mentioned you can use snapd-control
with a brand store to do the same snap set
operation using the REST API.
That’s what I suspected, thanks for confirming.
Cheers,
Just