Blame SOURCES/biosdevname-0.6.1-rules.patch

8ebaa5
diff --git a/biosdevname.rules.in b/biosdevname.rules.in
d4625c
index 0a32aa5..52aaea5 100644
8ebaa5
--- a/biosdevname.rules.in
8ebaa5
+++ b/biosdevname.rules.in
d4625c
@@ -4,6 +4,9 @@ NAME=="?*",       GOTO="netdevicename_end"
d4625c
 ATTR{type}!="1",  GOTO="netdevicename_end"
d4625c
 ENV{DEVTYPE}=="?*", GOTO="netdevicename_end"
d4625c
 
8ebaa5
+# whitelist all Dell systems
8ebaa5
+ATTR{[dmi/id]sys_vendor}=="Dell*", ENV{UDEV_BIOSDEVNAME}="1"
d4625c
+
247641
 # kernel command line "biosdevname={0|1}" can turn off/on biosdevname
247641
 IMPORT{cmdline}="biosdevname"
d4625c
 ENV{biosdevname}=="?*", ENV{UDEV_BIOSDEVNAME}="$env{biosdevname}"
d4625c
@@ -12,13 +15,13 @@ ENV{biosdevname}=="?*", ENV{UDEV_BIOSDEVNAME}="$env{biosdevname}"
8ebaa5
 ENV{UDEV_BIOSDEVNAME}=="0", GOTO="netdevicename_end"
8ebaa5
 ENV{UDEV_BIOSDEVNAME}=="1", GOTO="netdevicename_start"
8ebaa5
 
8ebaa5
-# uncomment the next line for biosdevname to be off by default
8ebaa5
-# GOTO="netdevicename_end"
8ebaa5
+# off by default
8ebaa5
+GOTO="netdevicename_end"
8ebaa5
 
8ebaa5
 LABEL="netdevicename_start"
247641
 
247641
 # using NAME= instead of setting INTERFACE_NAME, so that persistent
247641
 # names aren't generated for these devices, they are "named" on each boot.
d4625c
-SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical -i %k", NAME="%c",  OPTIONS+="string_escape=replace"
d4625c
+SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --smbios 2.6 --nopirq --policy physical -i %k", NAME="%c"  OPTIONS+="string_escape=replace"
247641
 
247641
 LABEL="netdevicename_end"