Update domainjoin.sh
This commit is contained in:
@@ -10,12 +10,13 @@ if [ -f /etc/debian_version ]; then
|
|||||||
wget -O /etc/apt/sources.list.d/pbiso.list http://repo.pbis.beyondtrust.com/apt/pbiso.list
|
wget -O /etc/apt/sources.list.d/pbiso.list http://repo.pbis.beyondtrust.com/apt/pbiso.list
|
||||||
apt update
|
apt update
|
||||||
apt install -y pbis-open
|
apt install -y pbis-open
|
||||||
fi
|
else if [ -f /etc/redhat-release ]; then
|
||||||
|
|
||||||
if [ -f /etc/redhat-release ]; then
|
|
||||||
wget -O /etc/yum.repos.d/pbiso.repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo
|
wget -O /etc/yum.repos.d/pbiso.repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo
|
||||||
yum clean all
|
yum clean all
|
||||||
yum install pbis-open
|
yum install pbis-open
|
||||||
|
else
|
||||||
|
echo "Unable to determine linux distro"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ask for the domain, username, and password
|
# ask for the domain, username, and password
|
||||||
|
|||||||
Reference in New Issue
Block a user