Open dskfh opened 2 years ago
There is a note about this in the README
When I ran into this issue, I updated as you did for all repos, extrapolated from shaneholloman
's currently last comment in #126 :
BTW, since centos8 repos have move to
vault
I alsoChange to following line to each respective file:
[root@etp-monitor1 ansible]# vi /etc/yum.repos.d/CentOS-Linux-BaseOS.repo [root@etp-monitor1 ansible]# vi /etc/yum.repos.d/CentOS-Linux-AppStream.repo
CentOS-Linux-BaseOS.repo
baseurl=http://vault.centos.org/$contentdir/$releasever/BaseOS/$basearch/os/
CentOS-Linux-AppStream.repobaseurl=http://vault.centos.org/$contentdir/$releasever/AppStream/$basearch/os/
Comment the mirrors
Agree it would be nice if someone could update the scripts to handle this automatically.
Now that CentOS 8 is history, using
centos2ol.sh
does not work any more because the CentOS repositories have become unavailable.Running the script produces something like this:
Right now, I am updating files in
/etc/yum.repos.d/
, replacingmirrorlist=...
with this:What is the recommended migration path now, and will
centos2ol.sh
be updated to handle this automatically?