first commit

This commit is contained in:
deathbybandaid 2022-02-08 10:59:45 -05:00
parent ab23148d00
commit 8e92e4eb9f

6
template_setup.sh Normal file
View File

@ -0,0 +1,6 @@
echo "Setting up template environment"
echo "Setting up ipa-client to join FreeIPA Server Realm"
freeipa_admin="admin"
freeipa_password=$(whiptail --passwordbox "Please enter the password for the FreeIPA admin user: $freeipa_admin" 8 78 --title "FreeIPA Password Prompt" 3>&1 1>&2 2>&3)
ipa-client-install --mkhomedir --no-ntp --principal="$freeipa_admin" --password="$freeipa_password" --enable-dns-updates --unattended