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

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

 



---
 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

_______________________________________________
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