diff --git a/scripts/install_redhat_centos_7.sh b/scripts/install_redhat_centos_7.sh index 9622eab..6c5bafc 100755 --- a/scripts/install_redhat_centos_7.sh +++ b/scripts/install_redhat_centos_7.sh @@ -46,7 +46,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 EOF ) echo "${contents}" > /etc/yum.repos.d/CentOS-Base.repo - +rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 yum clean all yum makecache