How to fix yum after centos 6 went eol

How to fix yum after CentOS 6 went EOL
Linux

How to fix yum after CentOS 6 went EOL

curl https://www.maxko-hosting.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo