From 2e8dfb72c0c296f24f99512e8fb00c377417a60a Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Mon, 8 Jun 2009 19:12:07 -1000 Subject: Show MAC address of network device in combo box (#504216) We adding a remote repo while performing a CD or DVD install, you're presented with netconfig_dialog. The combo box listing network devices used to show 'device_name - description'. Change this to 'device_name - mac_address' to match our other interface listings in anaconda (plus, the description available to us now is sort of useless). --- iw/netconfig_dialog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iw/netconfig_dialog.py b/iw/netconfig_dialog.py index 3941d3a99..52894de56 100644 --- a/iw/netconfig_dialog.py +++ b/iw/netconfig_dialog.py @@ -144,10 +144,10 @@ class NetworkConfigurator: for dev in devs: i = store.append(None) - desc = netdevs[dev].get("desc") + hwaddr = netdevs[dev].get("HWADDR") - if desc: - desc = "%s - %s" %(dev, desc) + if hwaddr: + desc = "%s - %s" %(dev, hwaddr,) else: desc = "%s" %(dev,) -- cgit