We are creating a ubuntu core image with our own gadget snap.
In this image we would like to copy a few default config files to /etc during install (e.g. for initial network configuration).
What’s the best way to do it? Should we use the install-device hook of the gadget snap to copy it?
Or are there some other mechanisms to achieve this.