[master 1/1] Ignore %anaconda section in parse-kickstart

bcl installerbot-noreply at redhat.com
Wed Apr 22 18:25:32 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

---
 dracut/parse-kickstart | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index ed63340..f366155 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -539,6 +539,7 @@ def process_kickstart(ksfile):
     handler.ksdevice = os.environ.get('ksdevice')
     parser = KickstartParser(handler, missingIncludeIsFatal=False, errorsAreFatal=False)
     parser.registerSection(NullSection(handler, sectionOpen="%addon"))
+    parser.registerSection(NullSection(handler, sectionOpen="%anaconda"))
     log.info("processing kickstart file %s", ksfile)
     processed_file = preprocessKickstart(ksfile)
     try:


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/cd48db11518576498f96bf7a2e3ad704c70ca014


More information about the anaconda-patches mailing list