13 lines
547 B
Diff
13 lines
547 B
Diff
|
Index: systemd-210/src/udev/rule_generator/76-net-sriov-names.rules
|
||
|
===================================================================
|
||
|
--- systemd-210.orig/src/udev/rule_generator/76-net-sriov-names.rules
|
||
|
+++ systemd-210/src/udev/rule_generator/76-net-sriov-names.rules
|
||
|
@@ -5,6 +5,7 @@
|
||
|
ACTION=="remove", GOTO="net-sriov-names_end"
|
||
|
SUBSYSTEM!="net", GOTO="net-sriov-names_end"
|
||
|
KERNEL!="eth*", GOTO="net-sriov-names_end"
|
||
|
+NAME=="?*", GOTO="net-sriov-names_end"
|
||
|
|
||
|
IMPORT{cmdline}="net.ifnames"
|
||
|
ENV{net.ifnames}=="1", GOTO="net-sriov-names_end"
|