Goal: to pass device to LXC (in this case a Coral PCI device at /dev/apex_0)
Old method:
- Add
root:44:1
to/etc/subgid
on Proxmox host - Add the following to LXC conf file on Proxmox host:
lxc.cgroup2.devices.allow: c 120:0 rwm
lxc.mount.entry: /dev/apex_0 dev/apex_0 none bind,optional,create=file
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 44