summaryrefslogtreecommitdiffstats
path: root/bootstrap/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/config.py')
-rw-r--r--bootstrap/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap/config.py b/bootstrap/config.py
index 11d8314..a5a7366 100644
--- a/bootstrap/config.py
+++ b/bootstrap/config.py
@@ -241,6 +241,9 @@ CENTOS8S_YUM_BOOTSTRAP = r"""
{GENERATED_MARKER}
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