connecting a non-auto interface, automatically

Simon Fels simon.fels at canonical.com
Tue Feb 7 14:43:03 UTC 2017


On 07.02.2017 15:36, knitzsche wrote:
> What is the approach to connect interfaces that are not auto-connecting
> without user intervention?
> 
> That is, there's a snap (built into an image) that declares the
> log-observe plug. Log-observe interface does not auto-connect [1]. In
> this product, the user does not have a console, so they cannot connect
> the snap plug/interface.
> 
> So, how does one configure the system to connect sthis? Via the gadget
> snap prepare-device hook script perhaps?

You can ask at the store level to get a snap-declaration for the snap
which allows auto-connection of particular plugs just for your snap.

I am not sure if this can be store/brand/model specific.

regards,
Simon





More information about the Snapcraft mailing list