Update 'update.sh'
This commit is contained in:
@@ -14,7 +14,8 @@ fi
|
||||
|
||||
# ensure the lsb_release is installed
|
||||
# Debian and Ubuntu have it preinstaled already, CentOS needs to have it installed
|
||||
type lsb_release >/dev/null 2>&1 || yum install -y redhat-lsb
|
||||
#type lsb_release >/dev/null 2>&1 || yum install -y redhat-lsb
|
||||
# going to use hostnamectl and awk for this test
|
||||
|
||||
# get OS ditro and version
|
||||
OS=$(lsb_release -si)
|
||||
@@ -82,7 +83,7 @@ elif [ ${OS} == 'CentOS' ]; then
|
||||
# Centos 7
|
||||
if [[ ${OS_VER} =~ ^8.* ]]; then
|
||||
# install the packages
|
||||
yum install -y pbis-open sudo nano htop iperf3 bind-utils open-vm-tools unzip nfs-utils git wget net-tools make
|
||||
dnf install -y pbis-open sudo nano htop iperf3 bind-utils open-vm-tools unzip nfs-utils git wget net-tools make
|
||||
fi
|
||||
|
||||
# modify ssh to allow root login and then restart the service
|
||||
|
||||
Reference in New Issue
Block a user