Hello! I'm back! We are still on a fork of your repo since my previous issue was not addressed and at this point we have a bunch of custom code anyways.
That being said, this would be a problem for anyone using your repo, the CentOS 7 repo archive is no longer reachable as of yesterday July 1, 2024.
Updates fail with:
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=genclo error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
Hello! I'm back! We are still on a fork of your repo since my previous issue was not addressed and at this point we have a bunch of custom code anyways.
That being said, this would be a problem for anyone using your repo, the CentOS 7 repo archive is no longer reachable as of yesterday July 1, 2024.
Updates fail with:
If you take a look at https://serverfault.com/a/1161904 you will see the workaround is to use vault.centos.org instead.
So right about here - https://github.com/SensibleWeather/terraform-aws-minikube/blob/master/scripts/init-aws-minikube.sh#L86 Add these lines (sourced from https://serverfault.com/a/1161847 )
and the yum install should work.