From 057fbe467c785cec5e271020c374332de3edc9e5 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 18 Feb 2022 09:44:00 -0500 Subject: [PATCH] Update template setup script with topgrade and additional prompt --- template_setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/template_setup.sh b/template_setup.sh index f4f74d2..10788cf 100644 --- a/template_setup.sh +++ b/template_setup.sh @@ -1,6 +1,9 @@ echo "Setting up template environment" +echo "Running topgrade" +topgrade + echo "Setting up ipa-client to join FreeIPA Server Realm" -freeipa_admin="admin" +freeipa_admin=$(whiptail --passwordbox "Please enter the user authorized to join FreeIPA realm: $freeipa_admin" 8 78 --title "FreeIPA Admin User Prompt" 3>&1 1>&2 2>&3) 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