Update ad-join-script.sh
This commit is contained in:
parent
ad3ee4a856
commit
605c112d8b
@ -19,7 +19,9 @@ while true; do
|
||||
echo "DNS resolution failed. Please enter a valid DNS server IP."
|
||||
fi
|
||||
done
|
||||
|
||||
# Install the necessary packages with a loading bar
|
||||
echo "Installing required packages..."
|
||||
apt -y install realmd sssd sssd-tools libnss-sss libpam-sss adcli samba-common-bin oddjob oddjob-mkhomedir packagekit
|
||||
# Display hostname change information
|
||||
echo "Changing the hostname to: $hostname.$domain_name"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user