`microdnf` command completely overwrites the /etc/yum.repos.d/redhat.repo in UBI-minimal image
Issue
-
When using ubi8-minimal/ubi9-minimal images, every invocation of the
microdnfcommand completely overwrites the/etc/yum.repos.d/redhat.repofile. -
Due to the above, it is not possible to permanently enable or disable repositories in the ubi-minimal containers.
Environment
- UIB8-minimal container image
- UBI9-minimal container image
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.