From: Lennart Poettering Date: Fri, 20 Dec 2024 08:52:40 +0000 (+0100) Subject: [RFC] better naming for Azure MANA network devices (#34255) X-Git-Tag: v258-rc1~1802 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdcb1eeeb883b2ecb3992865f458f874900ddb87;p=thirdparty%2Fsystemd.git [RFC] better naming for Azure MANA network devices (#34255) The Azure MANA folks would like the PCI domain to be suppressed from naming network interfaces. Let's introduce a somewhat generic way to do this, without hardcoding anything to Azure. Specifically: we'll ship a new hwdb entry that sets a new ID_NET_NAME_INCLUDE_DOMAIN=0 property on relevant MANA devices. Then we make net_id look for that property, and if it is set we simply suppress the PCI domain. (Untested as of now, needs feedback from Azure MANA folks that this actually works and does what is requested here). --- cdcb1eeeb883b2ecb3992865f458f874900ddb87