diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-07-16 03:23:20 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-07-16 03:23:20 +0000 |
commit | a51764f258d46a2e2f0ae39f25144c6ffabb8804 (patch) | |
tree | 18980a7ca91a86f6432dd19e172608ed7c12e8f1 /network.py | |
parent | 1b2f9fe18937b9f187b7fd77a50c2c7d0f369654 (diff) | |
download | anaconda-a51764f258d46a2e2f0ae39f25144c6ffabb8804.tar.gz anaconda-a51764f258d46a2e2f0ae39f25144c6ffabb8804.tar.xz anaconda-a51764f258d46a2e2f0ae39f25144c6ffabb8804.zip |
merge from taroon branch. product.img stuff, md can be modular, lots of
little things across the board
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network.py b/network.py index 049461503..32733ea8e 100644 --- a/network.py +++ b/network.py @@ -223,10 +223,10 @@ class Network: if desc is not None and len(desc) > 0: self.netdevices[device].set(("desc", desc)) - # add hwaddr - self.netdevices[device].set(("hwaddr", isys.getMacAddress(device))) - - + hwaddr = isys.getMacAddress(device) + if hwaddr and hwaddr != "00:00:00:00:00:00": + self.netdevices[device].set(("hwaddr", hwaddr)) + def getDevice(self, device): return self.netdevices[device] |