[PATCH] Don't fail on new kickstart commands in dracut

Brian C. Lane bcl at redhat.com
Fri May 31 18:11:24 UTC 2013


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

Anaconda will catch it if it is a problem. This lets us test new things
with updates.img containing the new pykickstart w/o having to update the
initrd too.
---
 dracut/parse-kickstart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index 3480c5f..97beabd 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -389,7 +389,7 @@ def write_ifcfg(filename, ifcfg):
 def process_kickstart(ksfile):
     handler = DracutHandler()
     handler.ksdevice = os.environ.get('ksdevice')
-    parser = KickstartParser(handler, missingIncludeIsFatal=False)
+    parser = KickstartParser(handler, missingIncludeIsFatal=False, errorsAreFatal=False)
     log.info("processing kickstart file %s", ksfile)
     processed_file = preprocessKickstart(ksfile)
     try:
-- 
1.8.1.4



More information about the anaconda-patches mailing list