Update 'update.sh'

This commit is contained in:
2020-06-05 11:34:20 -04:00
parent c81082407b
commit 0545aec1d7

View File

@@ -105,7 +105,7 @@ elif [ "${OS}" == "CentOS" ]; then
# install the packages
# libnsl is needed for pbis and needs to be installed already
dnf install -y libnsl
dnf install -y sudo nano htop iperf3 bind-utils unzip nfs-utils git wget net-tools make
dnf install -y sudo pbis-open nano htop iperf3 bind-utils unzip nfs-utils git wget net-tools make
# install vm tools
if [ "${VM}" == "true" ]; then
@@ -113,7 +113,11 @@ elif [ "${OS}" == "CentOS" ]; then
fi
# https://github.com/BeyondTrust/pbis-open/issues/242
#cp /opt/pbis/share/rhel/8.0/pbis.pp /opt/pbis/share/
cp /opt/pbis/share/rhel/8.0/pbis.pp /opt/pbis/share/
# remove and then install pbis-open again
dnf remove -y pbis-open
dnf isntall -y pbis-open
fi
# modify ssh to allow root login and then restart the service