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

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