We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b35b810 commit cd90859Copy full SHA for cd90859
1 file changed
src/common-utils/main.sh
@@ -378,14 +378,6 @@ if [ "${ADJUSTED_ID}" = "rhel" ] && [ "${VERSION_CODENAME-}" = "centos7" ]; then
378
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
379
fi
380
381
-if [ "${ADJUSTED_ID}" = "rhel" ] && [ "${VERSION_CODENAME-}" = "centos7" ]; then
382
- # As of 1 July 2024, mirrorlist.centos.org no longer exists.
383
- # Update the repo files to reference vault.centos.org.
384
- sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
385
- sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
386
- sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
387
-fi
388
-
389
# Install packages for appropriate OS
390
case "${ADJUSTED_ID}" in
391
"debian")
0 commit comments