The correct and easy way to migrate from CentOS Linux 8 to CentOS Stream 8
Published at
This TIL is more than a year old. Some details may have changed.
CentOS 8 went EOL at the end of December 2021.
$ dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos
$ dnf distro-sync