[master/rhel7 1/2] Add noverifyssl and proxy support to dracut ks handling (#1116858)
Martin Kolman
mkolman at redhat.com
Fri Aug 15 09:52:30 UTC 2014
----- Original Message -----
> From: "Brian C. Lane" <bcl at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Friday, August 15, 2014 12:16:52 AM
> Subject: [master/rhel7 1/2] Add noverifyssl and proxy support to dracut ks handling (#1116858)
>
> When the kickstart is used to point to the location of the tree using
> https it needs to also set rd.noverifyssl if the --noverifyssl flag is
> set on the url install method on the kickstart.
>
> Also add support for --proxy being passed to proxy cmdline option,
> passed on to curl by dracut.
>
> Resolves: rhbz#1116858
> ---
> dracut/parse-kickstart | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
> index a8ece63..10473bc 100755
> --- a/dracut/parse-kickstart
> +++ b/dracut/parse-kickstart
> @@ -74,8 +74,13 @@ class NFS(commands.nfs.FC6_NFS):
>
> class URL(commands.url.F18_Url):
> def dracut_args(self, args, lineno, obj):
> - # FIXME: self.proxy, self.noverifyssl
> - return "inst.repo=%s" % self.url
> + args = ["inst.repo=%s" % self.url]
> + if self.noverifyssl:
> + args.append("rd.noverifyssl")
> + if self.proxy:
> + args.append("proxy=%s" % self.proxy)
> +
> + return "\n".join(args)
>
> class Updates(commands.updates.F7_Updates):
> def dracut_args(self, args, lineno, obj):
> --
> 1.9.3
>
Looks good, ACK!
> _______________________________________________
> 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