Skip to content

Commit

Permalink
CentOS Stream 8 is EOL! Replace regular mirrorlist URLs with vault!
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Jun 4, 2024
1 parent 06992c9 commit b445dd4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/krb5/Dockerfile.kerberos
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ EXPOSE 88
COPY ./krb5.conf /etc/
COPY ./ktutil.instructions /tmp/

# Mirrorlist URLs are dead, use the Vault!
COPY ./vault.repo /etc/yum.repos.d/
RUN rm -rf /etc/yum.repos.d/CentOS-Stream-*.repo

RUN dnf -y --setopt=tsflags=nodocs install krb5-server krb5-workstation && \
sed -i "s/EXAMPLE.COM/KIWITCMS.ORG/g" /var/kerberos/krb5kdc/kdc.conf && \
sed -i "s/@EXAMPLE.COM//" /var/kerberos/krb5kdc/kadm5.acl && \
Expand Down
13 changes: 13 additions & 0 deletions tests/krb5/vault.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[vault-baseos]
name=CentOS Stream $releasever - BaseOS
baseurl=https://vault.centos.org/$stream/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

[vault-appstream]
name=CentOS Stream $releasever - AppStream
baseurl=https://vault.centos.org/$stream/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

0 comments on commit b445dd4

Please sign in to comment.