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 }} [devel] name=Rocky Linux $releasever - Devel (WARNING: UNSUPPORTED - FOR BUILDROOT USE ONLY!) baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/Devel/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 [baseos] name=Rocky Linux $releasever - BaseOS baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/BaseOS/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 [appstream] name=Rocky Linux $releasever - AppStream baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/AppStream/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 [powertools] name=Rocky Linux $releasever - PowerTools baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/PowerTools/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 [extras] name=Rocky Linux $releasever - Extras baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/extras/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 """