[PATCH master 13/13] Loader should activate, stage 2 configure network devices.

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

 



Previous patch (commit 121163aa222c09787d8ad0479df7b8a87aa)
in this set ensures that network is brought up already in loader
if needed.
---
 pyanaconda/kickstart.py |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 7fb72d7..0c70616 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -676,19 +676,6 @@ class NetworkData(commands.network.F15_NetworkData):
         if self.nodefroute:
             dev.set (("DEFROUTE", "no"))
 
-        needs_net = (self.anaconda.methodstr and
-                     (self.anaconda.methodstr.startswith("http:") or
-                      self.anaconda.methodstr.startswith("ftp:") or
-                      self.anaconda.methodstr.startswith("nfs:")))
-        # First kickstart network command wins
-        # TODORV: document
-        if needs_net and not network.hasActiveNetDev():
-            log.info("Bringing up network device %s in stage2 kickstart ..." %
-                     device)
-            dev.set (("onboot", "yes"))
-            rc = self.anaconda.network.bringUp()
-            log.info("Network setup %s" % (rc and 'succeeded' or 'failed',))
-
 class MultiPath(commands.multipath.FC6_MultiPath):
     def parse(self, args):
         raise NotImplementedError("The multipath kickstart command is not currently supported")
-- 
1.7.2

_______________________________________________
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