Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Add kickstart network --activate option (#638131) (http://www.linux-archive.org/ubuntu-user/474669-add-kickstart-network-activate-option-638131-a.html)

Radek Vykydal 01-10-2011 01:21 PM

Add kickstart network --activate option (#638131)
 
---
kickstart.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index b606ab8..83a04ce 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -550,7 +550,7 @@ class Logging(commands.logging.FC6_Logging):
elif self.host != "":
logger.addSysLogHandler(log, self.host)

-class NetworkData(commands.network.F8_NetworkData):
+class NetworkData(commands.network.RHEL6_NetworkData):
def execute(self, anaconda):

devices = anaconda.id.network.netdevices
@@ -1128,7 +1128,7 @@ dataMap = {
"VolGroupData": VolGroupData,
}

-superclass = returnClassForVersion()
+superclass = returnClassForVersion(RHEL6)

class AnacondaKSHandler(superclass):
def __init__ (self, anaconda):
--
1.7.2

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


All times are GMT. The time now is 04:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.