Update 'update.sh'

This commit is contained in:
2020-06-05 11:19:39 -04:00
parent e122b192be
commit 2e892f6fc6

View File

@@ -81,7 +81,7 @@ elif [ "${OS}" == "CentOS" ]; then
yum autoremove -y
# Centos 7
if [[] "${OS_VER}" =~ "^7.*" ]]; then
if [[ "${OS_VER}" =~ "^7.*" ]]; then
# install the packages
yum install -y pbis-open sudo nano htop nload iperf iperf3 bind-utils yum-cron unzip nfs-utils git wget uptimed net-tools make
@@ -101,7 +101,7 @@ elif [ "${OS}" == "CentOS" ]; then
systemctl enable uptimed
fi
# Centos 7
if [[] "${OS_VER}" =~ "^8.*" ]]; then
if [[ "${OS_VER}" =~ "^8.*" ]]; then
# install the packages
# libnsl is needed for pbis and needs to be installed already
dnf install -y libnsl