Fix up vault baseurls

Fix the source repository (which are in vault.centos.org) URLs as well.
This commit is contained in:
Peter Ajamian 2021-11-18 14:22:40 +13:00
parent 6c3453041c
commit 1abcdd13af

View File

@ -746,6 +746,7 @@ package_swaps() {
-e 's/^\[/['"$stream_prefix"'/' \
-e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://mirror.centos.org/$contentdir/$stream/|baseurl=|http://mirror.centos.org/centos/8-stream/' \
-e 's|^baseurl=http://vault.centos.org/$contentdir/$stream/|baseurl=|https://vault.centos.org/centos/8-stream/' \
"${repos_files[@]}"
fi