[PATCH rhel7-branch] network: fix network spoke status for bond devices (#1068693)

Radek Vykydal rvykydal at redhat.com
Tue Sep 2 12:05:37 UTC 2014


Resolves: rhbz#1068693
---
 pyanaconda/network.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 75d2711..68dfcc2 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -1275,6 +1275,7 @@ def status_message():
             nonslaves = [dev for dev in active_devs if dev not in all_slaves]
 
             if len(nonslaves) == 1:
+                devname = nonslaves[0]
                 if nm.nm_device_type_is_ethernet(devname):
                     msg = _("Wired (%(interface_name)s) connected") \
                           % {"interface_name": devname}
-- 
1.9.3



More information about the anaconda-patches mailing list