[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 3/8] patch anaconda itself to use AnacondaKSParser
- From: "Alford, Seth" <Seth_Alford adp com>
- To: "anaconda-devel-list redhat com" <anaconda-devel-list redhat com>
- Subject: [PATCH 3/8] patch anaconda itself to use AnacondaKSParser
- Date: Fri, 10 Jul 2009 10:27:22 -0700
$Id: patch3.in /main/2 2009/07/10 00:35:52 alfords Exp $
Copyright 2009 Automatic Data Processing Inc.
See the README file in the first patch of this series for
important details.
We had to modify the anaconda script itself to include the
AnacondaKSParser module. We did these modifications based on
Chris Lumens' "pykickstart Programmer's Guide", which currently
lives in /usr/share/doc/pykickstart-0.43.3/programmers-guide and
comes with pykickstart.
--Seth Alford
ADP Dealer Services
seth_alford adp com
----anaconda.patch follows----
--- a_naconda-11.1.2.113.orig/anaconda 2009-03-10 10:47:41.000000000 -0700
+++ anaconda-11.1.2.113/anaconda 2009-03-10 10:49:17.000000000 -0700
@@ -251,6 +251,7 @@
from kickstart import VNCHandlers
from pykickstart.data import KickstartData
from pykickstart.parser import KickstartParser
+ from kickstart import AnacondaKSParser
global vncpassword, vncconnecthost, vncconnectport
@@ -269,7 +270,7 @@
# line options for password, connect host and port override values in
# kickstart file
vncksdata = KickstartData()
- ksparser = KickstartParser(vncksdata, VNCHandlers(vncksdata),
+ ksparser = AnacondaKSParser(vncksdata, VNCHandlers(vncksdata),
missingIncludeIsFatal=False)
ksparser.readKickstart(opts.ksfile)
This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]