[master/rhel7 2/2] Write sslverify=0 for url kickstart method (#1116858)
Martin Kolman
mkolman at redhat.com
Fri Aug 15 09:52:56 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:53 AM
> Subject: [master/rhel7 2/2] Write sslverify=0 for url kickstart method (#1116858)
>
> When the url method included --noverifyssl it wasn't writing sslverify=0
> to the yum configuration file for the base repo because the attribute is
> on the yum repo as .sslverify instead of a kickstart repo obj with
> .noverifyssl
>
> Resolves: rhbz#1116858
> ---
> pyanaconda/packaging/yumpayload.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/pyanaconda/packaging/yumpayload.py
> b/pyanaconda/packaging/yumpayload.py
> index 03faa52..f7bef8b 100644
> --- a/pyanaconda/packaging/yumpayload.py
> +++ b/pyanaconda/packaging/yumpayload.py
> @@ -328,6 +328,9 @@ reposdir=%s
> os.unlink(cfg_path)
> continue
>
> + if not ks_repo and not repo.sslverify:
> + f.write("sslverify=0\n")
> +
> # kickstart repo modifiers
> if ks_repo:
> if ks_repo.noverifyssl:
> --
> 1.9.3
>
Also 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