From d89660bcd60d78c5e9d94252a87a0e53bc067d51 Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Tue, 23 Jul 2024 12:47:53 +0200 Subject: [PATCH] Actually download the vault key and register it --- scripts/install_redhat_centos_7.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install_redhat_centos_7.sh b/scripts/install_redhat_centos_7.sh index 6c5bafc..cbd482f 100755 --- a/scripts/install_redhat_centos_7.sh +++ b/scripts/install_redhat_centos_7.sh @@ -46,6 +46,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 EOF ) echo "${contents}" > /etc/yum.repos.d/CentOS-Base.repo +curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 https://vault.centos.org/RPM-GPG-KEY-CentOS-7 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 yum clean all yum makecache