Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kitchen] Workaround dnf bug preventing installation on RHEL/CentOS 8…
….1 (#11516) When DNF runs in non-interactive mode on RHEL 8.1, it will run into https://bugzilla.redhat.com/show_bug.cgi?id=1792506 - essentially, if there are multiple gpgkey entries configured, only the first one will be respected. If the repodata is signed with key that's not the first entry, it will lead to yum makecache -y failing. This PR makes us turn off repodata signature verification on RHEL 8.1 thus avoiding this issue. (I did test on RHEL 8.5 and it works fine there with repodata signature verification turned off). Note that install_script.sh and all other config mgmt tools already do this, so this is the last place affected. Co-authored-by: Kylian Serrania <[email protected]>
- Loading branch information