Add realmd and remove pbis-open
This commit is contained in:
18
update.sh
18
update.sh
@@ -73,9 +73,6 @@ elif [ "${OS}" == "CentOS" ]; then
|
||||
# install the epel for other packages and wget
|
||||
yum install -y elrepo-release epel-release yum-utils
|
||||
|
||||
# download the repo for PBIS-Open for SSO and Domain
|
||||
yum-config-manager --add-repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo
|
||||
|
||||
# clean the yum cache
|
||||
yum clean all
|
||||
|
||||
@@ -83,7 +80,7 @@ elif [ "${OS}" == "CentOS" ]; then
|
||||
yum autoremove -y
|
||||
|
||||
# install the packages
|
||||
yum install -y pbis-open sudo rsync nano htop nload iperf iperf3 bind-utils yum-cron unzip nfs-utils git wget uptimed net-tools make
|
||||
yum install -y sudo rsync nano htop nload iperf iperf3 bind-utils yum-cron unzip nfs-utils git wget uptimed net-tools make realmd oddjob oddjob-mkhomedir sssd adcli
|
||||
|
||||
# install vm tools
|
||||
if [ "${VM}" == "true" ]; then
|
||||
@@ -108,9 +105,6 @@ elif [ "${OS}" == "CentOS" ]; then
|
||||
# install the epel for other packages and wget
|
||||
dnf install -y elrepo-release epel-release yum-utils
|
||||
|
||||
# download the repo for PBIS-Open for SSO and Domain
|
||||
yum-config-manager --add-repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo
|
||||
|
||||
# clean the yum cache
|
||||
dnf clean all
|
||||
|
||||
@@ -120,7 +114,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 pbis-open rsync nano htop iperf3 bind-utils unzip nfs-utils git wget net-tools make dnf-automatic
|
||||
dnf install -y sudo rsync nano htop iperf3 bind-utils unzip nfs-utils git wget net-tools make dnf-automatic realmd oddjob oddjob-mkhomedir sssd adcli
|
||||
|
||||
# enable automatic updates
|
||||
sed --in-place "s/^apply_updates\ =\ no/apply_updates\ =\ yes/" /etc/dnf/automatic.conf
|
||||
@@ -130,14 +124,6 @@ elif [ "${OS}" == "CentOS" ]; then
|
||||
if [ "${VM}" == "true" ]; then
|
||||
dnf install -y open-vm-tools
|
||||
fi
|
||||
if [ ! -f "/opt/pbis/share/pbis.pp" ]; then
|
||||
# https://github.com/BeyondTrust/pbis-open/issues/242
|
||||
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 install -y pbis-open
|
||||
fi
|
||||
fi
|
||||
|
||||
# modify ssh to allow root login and then restart the service
|
||||
|
||||
Reference in New Issue
Block a user