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

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



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


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