Update rhel.sh

pull/489/head
midoks 2 years ago
parent ceb41fef68
commit 2499c296e7
  1. 1
      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\"") cn=$(curl -fsSL -m 10 http://ipinfo.io/json | grep "\"country\": \"CN\"")
yum -y update
# CentOS Stream # CentOS Stream
if [ ! -z "$stream" ];then if [ ! -z "$stream" ];then
yum install -y dnf dnf-plugins-core yum install -y dnf dnf-plugins-core

Loading…
Cancel
Save