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

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