The Go pcidb package will load the database from /usr/share/misc/ when available.
That's what happens in the LXD snap where we pass in the Ubuntu 20.04 version of the database (until we transition to core22).
But that's for the LXD snap. MAAS does not use our snap, instead running a standalone binary, which then puts the responsability onto MAAS to ensure an available pci.ids database in /usr/share/misc which is sufficiently up to date.
The Go pcidb package will load the database from /usr/share/misc/ when available.
That's what happens in the LXD snap where we pass in the Ubuntu 20.04 version of the database (until we transition to core22).
But that's for the LXD snap. MAAS does not use our snap, instead running a standalone binary, which then puts the responsability onto MAAS to ensure an available pci.ids database in /usr/share/misc which is sufficiently up to date.