Hi, we’d like network-manager and snapd-control to auto-connect for fugo-player, on our own device models only:
plugs:
network-manager:
allow-auto-connection:
on-model:
- VfQpT9wKNFRBgcCftQh1IMK3aH3IGajn/fugo-one-amd64
- VfQpT9wKNFRBgcCftQh1IMK3aH3IGajn/fugo-one-arm64
snapd-control:
allow-installation: true
allow-auto-connection:
on-model:
- VfQpT9wKNFRBgcCftQh1IMK3aH3IGajn/fugo-one-amd64
- VfQpT9wKNFRBgcCftQh1IMK3aH3IGajn/fugo-one-arm64
fugo-player is a digital signage player. We build Ubuntu Core 24 images for our own devices, where the player runs as a kiosk service under Ubuntu Frame. The devices have no login: no console-conf and no SSH user.
snapd-control: Frame’s install hook only enables its daemon when it can read the device model. snapd hides our model from Frame, so on our images Frame never starts (canonical/ubuntu-frame#161). We use the stock pc and pi gadgets, so we can’t set daemon: true in gadget defaults. A small frame-setup service in fugo-player would set ubuntu-frame’s daemon=true, a black background and a hidden cursor at boot. Its only snapd calls are GET and PUT on /v2/snaps/ubuntu-frame/conf.
network-manager: when a screen has no Ethernet, the player is the only thing an installer can use. If the device has had no network connection for a minute after boot, the player shows a Wi-Fi picker and joins the chosen network over NetworkManager’s D-Bus API: GetDevices, RequestScan, GetAllAccessPoints, AddAndActivateConnection and Settings.Connection.Delete, plus reading State and access point properties.
Scope: only the frame-setup app plugs snapd-control, so the kiosk, which renders web content, never holds it. Only the kiosk app plugs network-manager. Both services are installed disabled and enabled only on our models, so desktop installs of the snap aren’t affected.
Uploads: network-manager is already in the stable revisions (46 and 47). We haven’t uploaded snapd-control yet, because a held upload would block our regular releases. We can upload a revision for review whenever suits you, or after the declaration is granted.
- Snap:
fugo-player(snap IDwyxgIdVULzOCCbmnzFg1Np40GaRjlF9J) - Brand account:
VfQpT9wKNFRBgcCftQh1IMK3aH3IGajn - Models:
fugo-one-amd64andfugo-one-arm64, gradesigned
Thanks!