We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff8587 commit 6f760b9Copy full SHA for 6f760b9
hack/scripts/rpm-init.sh
@@ -83,3 +83,10 @@ case "$pkgrelease" in
83
fi
84
;;
85
esac
86
+
87
+if [ "$pkgrelease" = rockylinux* ]; then
88
+ # disable mirrors and use vault repos for better stability
89
+ find /etc/yum.repos.d/ -name '*.repo' -exec sed -i \
90
+ -e 's/^mirrorlist=.*$/#mirrorlist=disabled/' \
91
+ -e 's|^#baseurl=.*$|baseurl=https://dl.rockylinux.org/vault/rocky/9/BaseOS/$basearch/os/|' {} \;
92
+fi
0 commit comments