Hopefully I’m right in saying that, when you have auto-connecting interfaces, the sequence of events is:
- Snap is installed
- Interfaces are auto-connected
-
install
hook is run -
configure
hook is run
Whereas, if I’m installing from a .snap
file, it would be
- Snap file is installed
-
install
andconfigure
hooks are run - Interfaces are manually connected
If this is the case, is there any way to mimic this behavior when developing or would the advice be to always assume you’re in the latter steps?