Update domainjoin.sh
This commit is contained in:
@@ -9,11 +9,11 @@ if [ -f /etc/debian_version ]; then
|
||||
wget -O - http://repo.pbis.beyondtrust.com/apt/RPM-GPG-KEY-pbis | apt-key add -
|
||||
wget -O /etc/apt/sources.list.d/pbiso.list http://repo.pbis.beyondtrust.com/apt/pbiso.list
|
||||
apt update
|
||||
apt install -y pbis-open
|
||||
apt install -y pbis-open sudo
|
||||
elif [ -f /etc/redhat-release ]; then
|
||||
wget -O /etc/yum.repos.d/pbiso.repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo
|
||||
yum clean all
|
||||
yum install pbis-open
|
||||
yum install pbis-open sudo
|
||||
else
|
||||
echo "Unable to determine linux distro"
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user