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

[PATCH f15-branch] Fix network --device=<MAC> for static configurations (#693302)



---
 pyanaconda/kickstart.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 2e58c1a..0211ed9 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -671,10 +671,10 @@ class NetworkData(commands.network.F8_NetworkData):
                     dev.writeWepkeyFile()
 
             if self.nameserver != "":
-                self.anaconda.network.setDNS(self.nameserver, device)
+                self.anaconda.network.setDNS(self.nameserver, dev.iface)
 
             if self.gateway != "":
-                self.anaconda.network.setGateway(self.gateway, device)
+                self.anaconda.network.setGateway(self.gateway, dev.iface)
 
         needs_net = (self.anaconda.methodstr and
                      (self.anaconda.methodstr.startswith("http:") or
-- 
1.7.4


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