[PATCH] Don't fail on new kickstart commands in dracut
Samantha N. Bueno
sbueno+anaconda at redhat.com
Mon Jun 3 12:16:52 UTC 2013
Ack.
On Fri, May 31, 2013 at 11:11:24AM -0700, Brian C. Lane wrote:
> 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
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list