diff --git a/roles/koji_builder/templates/builders/site-defaults.cfg b/roles/koji_builder/templates/builders/site-defaults.cfg index 61b6d7044b..e974a2c4b6 100644 --- a/roles/koji_builder/templates/builders/site-defaults.cfg +++ b/roles/koji_builder/templates/builders/site-defaults.cfg @@ -6,7 +6,8 @@ config_opts['nosync'] = True config_opts['nosync_force'] = True config_opts['environment']['LANG'] = 'C.UTF-8' {% if env == 'staging' %} -config_opts['dnf_common_opts'] = ['--setopt=module_platform_id=platform:el8'] +if config_opts['chroot_name'].startswith('koji/epel8'): + config_opts['dnf_common_opts'] = ['--setopt=module_platform_id=platform:el8'] #config_opts['use_bootstrap_container'] = True #config_opts['dnf_install_command'] = 'install dnf dnf-plugins-core redhat-release' ##config_opts['plugin_conf']['tmpfs_enable'] = True