Skip to content

Instantly share code, notes, and snippets.

@FlorianHeigl
Created June 11, 2023 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianHeigl/47c773e1c2d74988f7d6df2e4cfebb00 to your computer and use it in GitHub Desktop.
Save FlorianHeigl/47c773e1c2d74988f7d6df2e4cfebb00 to your computer and use it in GitHub Desktop.
CentOS 8 / Stream Config with local country mirrors and selecting fastest of those.
[appstream]
name=CentOS Stream $releasever - AppStream
mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=AppStream&infra=$infra&cc=de
#baseurl=http://mirror.centos.org/$contentdir/$stream/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
[baseos]
name=CentOS Stream $releasever - BaseOS
mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=BaseOS&infra=$infra&cc=de
#baseurl=http://mirror.centos.org/$contentdir/$stream/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
[extras-common]
name=CentOS Stream $releasever - Extras common packages
mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=extras-extras-common&cc=de
#baseurl=http://mirror.centos.org/$contentdir/$stream/extras/$basearch/extras-common/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras
[main]
gpgcheck=1
installonly_limit=5
clean_requirements_on_remove=True
best=True
skip_if_unavailable=False
retries=5
timeout=60
metadata_expire=24h
fastestmirror=1
# ausschalten der automatischen kernelupdates
# es muss immer 1:1 kernel und scaleflux csd treiber verfuegbar sein
# alternativ via dkms zu bauen.
# aehnliches gilt fuer das bnx2x (netextreme) und bnxt kernel modul
# es ist auf jeden fall ratsam, den kernel nicht unattended zu tauschen
#exclude=kernel*
proxy=http://proxy:3128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment