Update 'update.sh'

This commit is contained in:
2020-01-31 08:21:53 -05:00
parent dcc0070774
commit b45029872f

View File

@@ -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