From 0545aec1d771a186fb0d6b38e99b7a40b6ec7e62 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Fri, 5 Jun 2020 11:34:20 -0400 Subject: [PATCH] Update 'update.sh' --- update.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 6de4e19..f62562f 100644 --- a/update.sh +++ b/update.sh @@ -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