This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 42425b8 BIGTOP-3647. Change RPM repository for CentOS 8 to Vault
Mirror. (#868)
42425b8 is described below
commit 42425b8126ec437706cb128249c9240a3d205be7
Author: Kengo Seki <[email protected]>
AuthorDate: Fri Feb 25 15:21:38 2022 +0900
BIGTOP-3647. Change RPM repository for CentOS 8 to Vault Mirror. (#868)
---
bigtop_toolchain/bin/puppetize.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bigtop_toolchain/bin/puppetize.sh
b/bigtop_toolchain/bin/puppetize.sh
index 26c48ca..f3d0f11 100755
--- a/bigtop_toolchain/bin/puppetize.sh
+++ b/bigtop_toolchain/bin/puppetize.sh
@@ -47,7 +47,10 @@ case ${ID}-${VERSION_ID} in
yum -y install hostname curl sudo unzip wget puppet
puppet module install puppetlabs-stdlib --version 4.12.0
;;
- centos-8*|rocky-8*)
+ centos-8*)
+ sed -i -e 's/^\(mirrorlist\)/#\1/' -e
's,^#baseurl=http://mirror.centos.org,baseurl=http://vault.centos.org,'
/etc/yum.repos.d/CentOS-Linux-*
+ ;&
+ rocky-8*)
rpm -ivh
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf -y check-update
dnf -y install glibc-langpack-en hostname diffutils curl sudo unzip
wget puppet 'dnf-command(config-manager)'