[PATCH rhel6-branch] Fix traceback of network --device=<MAC> (#694768)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Resolves: rhbz#694768
---
 kickstart.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index e196dcb..b040e37 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -588,7 +588,7 @@ class NetworkData(commands.network.RHEL6_NetworkData):
         else:
             for devname in devices:
                 if isys.getMacAddress(devname).lower() == device.lower():
-                    dev = val
+                    dev = devices[devname]
                     break
 
         if self.hostname != "":
-- 
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux