Blame SOURCES/0224-network-net-lib.sh-is_persistent_ethernet_name-eth-i.patch

a56a5e
From 0630273048326cb7cc51b67f0f134b6badb7b6c7 Mon Sep 17 00:00:00 2001
83bbb1
From: Harald Hoyer <harald@redhat.com>
83bbb1
Date: Thu, 23 Oct 2014 14:34:33 +0200
83bbb1
Subject: [PATCH] network/net-lib.sh:is_persistent_ethernet_name() eth* is not
83bbb1
83bbb1
eth* is _not_ a persistent ethernet name... tsk, tsk, tsk
83bbb1
83bbb1
(cherry picked from commit 05065741f01e78119f1883f199820b804460c58d)
83bbb1
---
83bbb1
 modules.d/40network/net-lib.sh | 2 --
83bbb1
 1 file changed, 2 deletions(-)
83bbb1
83bbb1
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
a56a5e
index e2901da..22f7754 100755
83bbb1
--- a/modules.d/40network/net-lib.sh
83bbb1
+++ b/modules.d/40network/net-lib.sh
a56a5e
@@ -555,8 +555,6 @@ find_iface_with_link() {
83bbb1
 is_persistent_ethernet_name() {
83bbb1
     case "$1" in
83bbb1
         # udev persistent interface names
83bbb1
-        eth[0-9]|eth[0-9][0-9]|eth[0-9][0-9][0-9]*)
83bbb1
-            ;;
83bbb1
         eno[0-9]|eno[0-9][0-9]|eno[0-9][0-9][0-9]*)
83bbb1
             ;;
83bbb1
         ens[0-9]|ens[0-9][0-9]|ens[0-9][0-9][0-9]*)