CentOS 8 End of Life Fix

So, with the end of January 2022 comes the end of versioned CentOS from our good friends at IBM/Redhat.  

To make CentOS 8.5 just keep working, run this:

sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Linux-*

To convert from old CentOS to CentOS Stream(tm) run the above, and then run this:

sudo dnf install centos-release-stream -y
sudo dnf swap centos-{linux,stream}-repos -y
sudo dnf distro-sync -y