config_opts['dnf.conf'] = """ [main] keepcache=1 debuglevel=2 reposdir=/dev/null logfile=/var/log/yum.log retries=20 obsoletes=1 gpgcheck=0 assumeyes=1 syslog_ident=mock syslog_device= metadata_expire=0 mdpolicy=group:primary best=1 install_weak_deps=0 protected_packages= module_platform_id=platform:el8 user_agent={{ user_agent }} [koji] name=Rocky Linux $releasever - Koji Repo baseurl=https://kojidev.rockylinux.org/kojifiles/repos/dist-rocky8-build/latest/$basearch gpgcheck=0 enabled=1 """