CentOS 8 End-of-life: 31 December 2021

Converting to CentOS Stream

dnf install centos-release-stream -y
dnf swap centos-{linux,stream}-repos -y
dnf distro-sync -y
cat /etc/centos-release

CentOS Stream Download