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:el9 user_agent={{ user_agent }} [devel] name=Rocky Linux $releasever - Devel WARNING! FOR BUILDROOT ONLY DO NOT LEAVE ENABLED baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/devel/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 [baseos] name=Rocky Linux $releasever - BaseOS baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/BaseOS/$basearch/os/ gpgcheck=1 enabled=0 metadata_expire=6h gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 [appstream] name=Rocky Linux $releasever - AppStream baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/AppStream/$basearch/os/ gpgcheck=1 enabled=0 metadata_expire=6h gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 [crb] name=Rocky Linux $releasever - CRB baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/CRB/$basearch/os/ gpgcheck=1 enabled=0 metadata_expire=6h gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 [extras] name=Rocky Linux $releasever - Extras baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/extras/$basearch/os/ gpgcheck=1 enabled=0 metadata_expire=6h gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 """