[rhinstaller/anaconda/pulls/121 rhel7-branch] Fix dracut reads ksdevice from missing os enviromnent

jkonecny12 installerbot-noreply at redhat.com
Mon Jun 1 11:06:49 UTC 2015


> @@ -521,7 +521,10 @@ def write_ifcfg(filename, ifcfg):
>  
>  def process_kickstart(ksfile):
>      handler = DracutHandler()
> -    handler.ksdevice = os.environ.get('ksdevice')
> +    try:
> +        handler.ksdevice = proc_cmdline['ksdevice']
> +    except KeyError:
> +        log.info("ksdevice argument is not available")

Ok true. 
I think it's good to have this debug message but I'll change it to debug instead of info.

I will change it locally.

-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/121#discussion_r31416188


More information about the anaconda-patches mailing list