FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-31-2011, 05:46 PM
Radek Vykydal
 
Default Honour network --nodefroute option also in case of network configuration.

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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org