Blame SOURCES/0462-network-do-not-check-firmware-boot-selected-flag.patch

18971c
From 443d167a95499b827c2d8c9c3b61f4922c59ff7e Mon Sep 17 00:00:00 2001
18971c
From: Lukas Nykryn <lnykryn@redhat.com>
18971c
Date: Wed, 5 Oct 2016 12:46:39 +0200
18971c
Subject: [PATCH] network: do not check "firmware boot selected flag"
18971c
18971c
Apparently it is not set correctly on some setups
18971c
https://bugzilla.redhat.com/show_bug.cgi?id=1380581
18971c
---
18971c
 modules.d/40network/net-lib.sh | 2 --
18971c
 1 file changed, 2 deletions(-)
18971c
18971c
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
18971c
index 3459e898..9083aea7 100755
18971c
--- a/modules.d/40network/net-lib.sh
18971c
+++ b/modules.d/40network/net-lib.sh
18971c
@@ -241,8 +241,6 @@ ibft_to_cmdline() {
18971c
             [ -e ${iface}/flags ] && flags=$(read a < ${iface}/flags; echo $a)
18971c
             # Skip invalid interfaces
18971c
             (( $flags & 1 )) || continue
18971c
-            # Skip interfaces not used for booting
18971c
-            (( $flags & 2 )) || continue
18971c
             [ -e ${iface}/dhcp ] && dhcp=$(read a < ${iface}/dhcp; echo $a)
18971c
             [ -e ${iface}/origin ] && origin=$(read a < ${iface}/origin; echo $a)
18971c
             [ -e ${iface}/ip-addr ] && ip=$(read a < ${iface}/ip-addr; echo $a)