Re: [PATCH rhel6-branch] Honour network --nodefroute option also in case of network configuration.

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

 



On Mon, 31 Jan 2011, Radek Vykydal wrote:

Related: rhbz#638131

Not only when the device is activated which happens in loader if --activate
option is used. For other devices, the kickstart configuration happens in
stage 2.
---
kickstart.py |    3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 1049cfd..3ce4ad1 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -640,6 +640,9 @@ class NetworkData(commands.network.RHEL6_NetworkData):
        if self.gateway != "":
            anaconda.id.network.setGateway(self.gateway, dev.iface)

+        if self.nodefroute:
+            dev.set (("DEFROUTE", "no"))
+
        needs_net = (anaconda.methodstr and
                     (anaconda.methodstr.startswith("http:") or
                      anaconda.methodstr.startswith("ftp:") or


Ack.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Honolulu, HI | UTC-10

_______________________________________________
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