From bd6ff56c47b818a087285b789dedc4a3f5f1e07a Mon Sep 17 00:00:00 2001 From: Dmitriy Usachev Date: Mon, 9 Dec 2024 17:19:07 +0300 Subject: [PATCH] fix log message on freeipa first start when enable no-update --- ipa-server-configure-first | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ipa-server-configure-first b/ipa-server-configure-first index a5f49448..4bd34a9a 100755 --- a/ipa-server-configure-first +++ b/ipa-server-configure-first @@ -229,8 +229,9 @@ else systemctl poweroff exit fi - - if [ "$IPA_SERVER_IP" != no-update ] && ( systemctl is-active -q named named-pkcs11 || [ -n "$IPA_SERVER_IP" ] ) ; then + if [ "$IPA_SERVER_IP" == no-update ] ; then + echo "FreeIPA server IP address update disabled, skipping update-self-ip-address." + elif ( systemctl is-active -q named named-pkcs11 || [ -n "$IPA_SERVER_IP" ] ) ; then cp -f /etc/resolv.conf /data/etc/resolv.conf.ipa if wait_for_dns 180; then update_server_ip_address