PR#2945: cli: pass nosslverify opt to image task

Merges #2945
https://pagure.io/koji/pull-request/2945

Fixes: #2797
https://pagure.io/koji/issue/2797
image-build target does not have a way to specify SSL certificates (or disable SSL)
This commit is contained in:
Tomas Kopecek 2021-07-19 09:18:22 +02:00
commit 53e3b885f9

View file

@ -6279,7 +6279,7 @@ def _build_image_oz(options, task_opts, session, args):
for opt in ('ksurl', 'ksversion', 'kickstart', 'scratch', 'repo',
'release', 'skip_tag', 'specfile', 'distro', 'format',
'disk_size', 'ova_option', 'factory_parameter',
'optional_arches'):
'optional_arches', 'noverifyssl'):
val = getattr(task_opts, opt, None)
if val is not None:
hub_opts[opt] = val