1
0
Fork 0
forked from infra/ansible
infra-ansible/files/common/rhel10.repo
Kevin Fenzi 1963b068d3 Switch epel10.repo and rhel10.repo to use a link to latest
There's no super right answer here, but if we point to a specific minor
release here it means we have to move all machines to it when we change
it, and we have to remember to do so.

If we just use '10' and depend on the link that points to the latest
minor:

lrwxrwxrwx. 1 root root    4 May 19 17:12 /srv/web/repo/rhel/rhel10/10 -> 10.2/

then we don't have to keep changing this all the time, it will just
update when that link changes.

This doesn't leave us an easy way to keep some hosts back to the old
minor, but in practice we pretty much never do this anyhow.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-05-20 14:31:53 -07:00

36 lines
1.4 KiB
Text

[rhel10-dvd-BaseOS]
name = rhel10 baseos dvd
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL10-$basearch/BaseOS
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1
[rhel10-dvd-AppStream]
name = rhel10 AppStream dvd
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/RHEL10-$basearch/AppStream
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1
# These are not using mirrormanager, so point to '10' which will use the link
# to the latest minor release.
[rhel10-BaseOS]
name = rhel10 BaseOS $basearch
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel10/10/repos/$basearch/baseos
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1
[rhel10-AppStream]
name = rhel10 AppStream $basearch
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel10/10/repos/$basearch/appstream
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1
[rhel10-CRB]
name = rhel10 CodeReadyBuilder $basearch
baseurl=https://infrastructure.fedoraproject.org/repo/rhel/rhel10/10/repos/$basearch/crb
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1