# Rocky Linux 8 register host to forman

**URL:** <https://forums.rockylinux.org/t/rocky-linux-8-register-host-to-forman/10987>\
**Category:** Rocky Linux Help & Support\
**Created:** [August 9, 2023, 9:14pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-register-host-to-forman/10987 "2023-08-09T21:14:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsexton18](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@dsexton18](https://forums.rockylinux.org/u/dsexton18)\
**Post date:** [August 9, 2023, 9:14pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-register-host-to-forman/10987/1 "2023-08-09T21:14:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![quartsize](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/quartsize/32/3787_2.png) [@quartsize](https://forums.rockylinux.org/u/quartsize)\
**Post date:** [August 16, 2023, 3:46pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-register-host-to-forman/10987/2 "2023-08-16T15:46:39Z")

</div>

It’s still `redhat.repo`.

```auto
$ 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`?
