Skip to content

Commit

Permalink
CentOS Stream 8 mirror infrastructure is no more. Use Vault!
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Oct 9, 2024
1 parent c8e6626 commit 76cc828
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/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/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 76cc828

Please sign in to comment.