Update 'update.sh'
This commit is contained in:
@@ -105,7 +105,7 @@ elif [ "${OS}" == "CentOS" ]; then
|
|||||||
# install the packages
|
# install the packages
|
||||||
# libnsl is needed for pbis and needs to be installed already
|
# libnsl is needed for pbis and needs to be installed already
|
||||||
dnf install -y libnsl
|
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
|
# install vm tools
|
||||||
if [ "${VM}" == "true" ]; then
|
if [ "${VM}" == "true" ]; then
|
||||||
@@ -113,7 +113,11 @@ elif [ "${OS}" == "CentOS" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# https://github.com/BeyondTrust/pbis-open/issues/242
|
# 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
|
fi
|
||||||
|
|
||||||
# modify ssh to allow root login and then restart the service
|
# modify ssh to allow root login and then restart the service
|
||||||
|
|||||||
Reference in New Issue
Block a user