summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-10-12 18:40:31 +0000
committerJeremy Katz <katzj@redhat.com>2004-10-12 18:40:31 +0000
commit3f0f5e3b3577a39c11f53ef39fb899dfcc93d1b8 (patch)
treea082fcfb5c6db432493110e7a0763ca8dc941ab8
parent8698bb3f405d46e0aaf0e96fde443eac5927ff68 (diff)
downloadanaconda-3f0f5e3b3577a39c11f53ef39fb899dfcc93d1b8.tar.gz
anaconda-3f0f5e3b3577a39c11f53ef39fb899dfcc93d1b8.tar.xz
anaconda-3f0f5e3b3577a39c11f53ef39fb899dfcc93d1b8.zip
2004-10-12 Jeremy Katz <katzj@redhat.com>
* network.py (Network.__init__): Don't save the hwaddr for qeth (#135023)
-rw-r--r--ChangeLog3
-rw-r--r--network.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a89ed71b..4b2e4939b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2004-10-12 Jeremy Katz <katzj@redhat.com>
+ * network.py (Network.__init__): Don't save the hwaddr
+ for qeth (#135023)
+
* packages.py (doPostInstall): Add rhgb in post-install, not
doInstall (from msw on anaconda-devel-list)
diff --git a/network.py b/network.py
index 31a13d3b6..e81e7d81b 100644
--- a/network.py
+++ b/network.py
@@ -229,6 +229,9 @@ class Network:
if desc is not None and len(desc) > 0:
self.netdevices[device].set(("desc", desc))
+ # hwaddr for qeth doesn't make sense (#135023)
+ if netdev.driver == "qeth":
+ continue
# add hwaddr
hwaddr = isys.getMacAddress(device)
if hwaddr and hwaddr != "00:00:00:00:00:00":