With SNAP, as users can’t modify container’s files, how can we interact with files contained in /snap/maas/current/etc/maas/preseeds/ ?
I imagine that the developers who packaged MAAS with SNAP have developed an alternative so that users can continue to manage their own curtin scripts!
In the snap, you can override existing preseeds by putting a different version of the file (matching the original name in /var/snap/maas/current/preseeds/.
The directory will contain *.sample files that are a copy of the original ones.
You can copy/rename the one(s) you want to override and make the necessary changes. They will take precedence over the ones shipped in the snap.