This commit is contained in:
deathbybandaid 2023-04-05 12:35:40 -04:00
parent f6630077ab
commit dc311deb63

View File

@ -11,9 +11,9 @@ realm_get_ca=0
if [[ ! -f /var/lib/ipa-client/sysrestore/sysrestore.state ]] if [[ ! -f /var/lib/ipa-client/sysrestore/sysrestore.state ]]
then then
printf "$COL_YELLOW" "** $HOSTNAME appears to not be joined to FreeIPA Server Realm" printf "$COL_YELLOW" "** $HOSTNAME appears to not be joined to FreeIPA Server Realm"
realm_get_ca=$freeipa_ca
else else
printf "$COL_GREEN" "** $HOSTNAME appears to already be joined to FreeIPA Server Realm" printf "$COL_GREEN" "** $HOSTNAME appears to already be joined to FreeIPA Server Realm"
realm_get_ca=$freeipa_ca
fi fi
if [ "$freeipa_ca" == "ask" ]; then if [ "$freeipa_ca" == "ask" ]; then