Update domainjoin.sh

This commit is contained in:
2018-02-13 20:37:47 -05:00
parent 40cd6451c6
commit 57c882fa61

View File

@@ -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
apt update
apt install -y pbis-open
fi
if [ -f /etc/redhat-release ]; then
else if [ -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
else
echo "Unable to determine linux distro"
exit
fi
# ask for the domain, username, and password