summaryrefslogtreecommitdiffstats
path: root/bootstrap/generated-dists/centos8s/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/generated-dists/centos8s/bootstrap.sh')
-rwxr-xr-xbootstrap/generated-dists/centos8s/bootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap/generated-dists/centos8s/bootstrap.sh b/bootstrap/generated-dists/centos8s/bootstrap.sh
index 4b2c62c..9e0aabb 100755
--- a/bootstrap/generated-dists/centos8s/bootstrap.sh
+++ b/bootstrap/generated-dists/centos8s/bootstrap.sh
@@ -7,6 +7,9 @@
set -xueo pipefail
+sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
+sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
+
yum update -y
yum install -y dnf-plugins-core
yum install -y epel-release