Update InstallNET.sh

This commit is contained in:
Molly Lau 2022-12-01 08:38:58 +09:00 committed by GitHub
parent b17be247c9
commit 6e5626bb64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -454,9 +454,9 @@ function lowMem(){
function checkSys(){
apt update -y
apt install curl dnsutils efibootmgr file jq lsb-release wget xz-utils -y
apt install curl dnsutils efibootmgr file ipcalc jq lsb-release wget xz-utils -y
yum update --allowerasing -y
yum install curl dnsutils efibootmgr file jq redhat-lsb wget xz -y
yum install curl dnsutils efibootmgr file ipcalc jq redhat-lsb wget xz -y
OsLsb=`lsb_release -d | awk '{print$2}'`
CurrentOSVer=`cat /etc/os-release | grep -w "VERSION_ID=*" | awk -F '=' '{print $2}' | sed 's/\"//g' | cut -d'.' -f 1`