Skip to content

Commit b445dd4

Browse files
committed
CentOS Stream 8 is EOL! Replace regular mirrorlist URLs with vault!
1 parent 06992c9 commit b445dd4

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

tests/krb5/Dockerfile.kerberos

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ EXPOSE 88
55
COPY ./krb5.conf /etc/
66
COPY ./ktutil.instructions /tmp/
77

8+
# Mirrorlist URLs are dead, use the Vault!
9+
COPY ./vault.repo /etc/yum.repos.d/
10+
RUN rm -rf /etc/yum.repos.d/CentOS-Stream-*.repo
11+
812
RUN dnf -y --setopt=tsflags=nodocs install krb5-server krb5-workstation && \
913
sed -i "s/EXAMPLE.COM/KIWITCMS.ORG/g" /var/kerberos/krb5kdc/kdc.conf && \
1014
sed -i "s/@EXAMPLE.COM//" /var/kerberos/krb5kdc/kadm5.acl && \

tests/krb5/vault.repo

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[vault-baseos]
2+
name=CentOS Stream $releasever - BaseOS
3+
baseurl=https://vault.centos.org/$stream/BaseOS/$basearch/os/
4+
gpgcheck=1
5+
enabled=1
6+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
7+
8+
[vault-appstream]
9+
name=CentOS Stream $releasever - AppStream
10+
baseurl=https://vault.centos.org/$stream/AppStream/$basearch/os/
11+
gpgcheck=1
12+
enabled=1
13+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

0 commit comments

Comments
 (0)