I registered a Rocky Linux 8 host to foreman. The server in question is has a composite content view and the contains a content view with the Rockey Linux BaseOS , AppStream, Repos added. When Rocky is registered what is the repo file called? In RHEL it’s in /etc/yum.repo.d/redhat.repo. no such file in Rocky.
It’s still redhat.repo
.
$ cat /etc/redhat-release
Rocky Linux release 8.6 (Green Obsidian)
$ ll /etc/yum.repos.d/redhat.repo
-rw-r--r--. 1 root root 5008 avg 8 11:58 /etc/yum.repos.d/redhat.repo
What does subscription-manager identity
say? Does redhat.repo
come back if you run a dnf makecache
? Do you have any configuration management software purging /etc/yum.repos.d
?