Blame SOURCES/rear-bz1653214.patch

e8a0f5
diff --git a/usr/share/rear/rescue/GNU/Linux/310_network_devices.sh b/usr/share/rear/rescue/GNU/Linux/310_network_devices.sh
e8a0f5
index 4698618c..6b3194bd 100644
e8a0f5
--- a/usr/share/rear/rescue/GNU/Linux/310_network_devices.sh
e8a0f5
+++ b/usr/share/rear/rescue/GNU/Linux/310_network_devices.sh
e8a0f5
@@ -854,7 +854,11 @@ function handle_physdev () {
e8a0f5
 
e8a0f5
     DebugPrint "$network_interface is a physical device"
e8a0f5
 
e8a0f5
-    mac="$( cat $sysfspath/address )" || BugError "Could not read a MAC address for '$network_interface'."
e8a0f5
+    if [ -e $sysfspath/bonding_slave/perm_hwaddr ] ; then
e8a0f5
+        mac="$( cat $sysfspath/bonding_slave/perm_hwaddr )"
e8a0f5
+    else
e8a0f5
+        mac="$( cat $sysfspath/address )" || BugError "Could not read a MAC address for '$network_interface'."
e8a0f5
+    fi
e8a0f5
     # Skip fake interfaces without MAC address
e8a0f5
     [ "$mac" != "00:00:00:00:00:00" ] || return $rc_error
e8a0f5