From 06c167ca15fdc751fa50c5b2ee1ac6841c5421a3 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 18 Feb 2022 10:50:22 -0500 Subject: [PATCH] oops --- template_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template_setup.sh b/template_setup.sh index e788a53..2c120d1 100644 --- a/template_setup.sh +++ b/template_setup.sh @@ -24,7 +24,7 @@ if [[ $HOSTNAME == *template* ]]; then realm_join = 0 fi -if [ $realm_join == 1 ] +if [ "$realm_join" == 1 ]; then echo "Setting up ipa-client to join FreeIPA Server Realm" 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)