Blame SOURCES/rear-bz1653214.patch

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