I'm trying to run a Software Defined Radio USB dongle and the program RTL_433 that reads it - I've managed to get a passthrough set up with these lines in /etc/lxc/<vm>.config:
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/bus/usb/003/002 dev/bus/usb/003/002 none bind,optional,create=file
That's great; but it won't survive a reboot of the node where the dongle is connected.
Worst case, the USB ids change, BEST case "only" the permissions on the /dev entry on the host nodes change.
is there a way to do this?
Thanks!
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/bus/usb/003/002 dev/bus/usb/003/002 none bind,optional,create=file
That's great; but it won't survive a reboot of the node where the dongle is connected.
Worst case, the USB ids change, BEST case "only" the permissions on the /dev entry on the host nodes change.
is there a way to do this?
Thanks!