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:el10 user_agent={{ user_agent }} [bootstrap] name=bootstrap baseurl=... enabled=1 gpgcheck=false repo_gpgcheck=false priority=1 [riscv_f40] name=riscv_f40 baseurl=http://fedora.riscv.rocks/repos-dist/f40/latest/riscv64/ enabled=1 gpgcheck=false repo_gpgcheck=false priority=90 """