Hardware ID's Changing, Causing LXC's to have wrong passthrough configuration

sirebral

Member
Feb 12, 2022
50
10
13
Oregon, USA
Hi All,

I've noticed that every time I upgrade my kernel to the latest prod PVE version the ID's on my NVIDIA cards change. I have to alter the configuration file for the LXC's that use video cards manually every time after a ls /dev/nvidia* and ls /dev/dri* to match the changes. Is there a manner in which to avoid this, perhaps somehow locking the ID's? I'd appreciate an assist as it's quite a pain to do this every time the kernel changes.

Thanks!

Keith