From 2499c296e7ad85137b2f9f060cd36b14a7e700f6 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 20 Oct 2023 01:56:20 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index 5556abc6d..31344e1c1 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -17,6 +17,7 @@ isStream=$(grep -o -i 'stream' /etc/redhat-release) cn=$(curl -fsSL -m 10 http://ipinfo.io/json | grep "\"country\": \"CN\"") +yum -y update # CentOS Stream if [ ! -z "$stream" ];then yum install -y dnf dnf-plugins-core