biosdevname/biosdevname-policy-all_names.diff

24 lines
637 B
Diff

From: Bernhard Walle <bwalle@suse.de>
Subject: [PATCH] Change to --policy=all_names
References: bnc#441079
See the Bugzilla.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
biosdevname.rules.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/biosdevname.rules.in
+++ b/biosdevname.rules.in
@@ -2,6 +2,6 @@ KERNEL!="eth*", GOTO="biosdevname_end"
ACTION!="add", GOTO="biosdevname_end"
NAME=="?*", GOTO="biosdevname_end"
-PROGRAM="/sbin/biosdevname --policy=all_ethN -i %k", ENV{INTERFACE_NAME}="%c"
+PROGRAM="/sbin/biosdevname --policy=all_names -i %k", ENV{INTERFACE_NAME}="%c"
LABEL="biosdevname_end"