From 6e5626bb641220e38ae97aa091ca11d2b76b762e Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Thu, 1 Dec 2022 08:38:58 +0900 Subject: [PATCH] Update InstallNET.sh --- Linux_reinstall/InstallNET.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 8a599cf..3d34f69 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -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`