We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fe200 commit 9e59430Copy full SHA for 9e59430
runner_manager/bin/startup.sh
@@ -195,6 +195,11 @@ function init {
195
gnupg \
196
lsb-release
197
elif [[ ${LINUX_OS} == "centos" ]] || [[ ${LINUX_OS} == "rocky" ]] || [[ ${LINUX_OS} == "almalinux" ]]; then
198
+ if [[ ${LINUX_OS_VERSION} == "7" ]]; then
199
+ # CentOS 7 is EOL and mirrorlist does no longer exists
200
+ # using another mirror as a temporary workaround
201
+ sed -i 's/^mirrorlist=/#mirrorlist=/; s/^#baseurl=/baseurl=/; s/mirror\.centos\.org/vault\.centos\.org/' /etc/yum.repos.d/*.repo
202
+ fi
203
sudo yum install -y bind-utils yum-utils
204
elif [[ ${LINUX_OS} == "rhel" ]]; then
205
echo "
0 commit comments