disable use_bootstrap_image if not requested

Related: https://pagure.io/koji/issue/3872
This commit is contained in:
Tomas Kopecek 2023-07-17 16:14:57 +02:00
parent a8ff3d9a02
commit c0bc73fdc0
2 changed files with 4 additions and 0 deletions

View file

@ -1815,6 +1815,8 @@ def genMockConfig(name, arch, managed=False, repoid=None, tag_name=None, **opts)
if opts.get('bootstrap_image'):
config_opts['use_bootstrap_image'] = True
config_opts['bootstrap_image'] = opts['bootstrap_image']
else:
config_opts['use_bootstrap_image'] = False
if 'use_bootstrap' in opts:
config_opts['use_bootstrap'] = bool(opts['use_bootstrap'])
if 'module_setup_commands' in opts: