From 8e92e4eb9f2e7730ab7d39ed3e57563f78fcdda8 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 8 Feb 2022 10:59:45 -0500 Subject: [PATCH] first commit --- template_setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 template_setup.sh diff --git a/template_setup.sh b/template_setup.sh new file mode 100644 index 0000000..f4f74d2 --- /dev/null +++ b/template_setup.sh @@ -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