From be20ac7f41a0a057655473a850003dd9087660b3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 22 Nov 2023 20:26:56 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index dcd9b857..b349166c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -454,7 +454,7 @@ export PDNS_Ttl=60 LIVEMD5=$(ssh -q root@${NM_VC_HOSTNAME} "md5sum /etc/vmware-rhttpproxy/ssl/rui.crt | cut -d\ -f1") CURRENTMD5=$(ssh -q root@${NM_VC_HOSTNAME} "md5sum ${VC_CERT} | cut -d\ -f1") - if [ "$LIVEMD5" == "$CURRENTMD5" ] && [ "${1}" != "force" ]; then + if [ "$LIVEMD5" == "$CURRENTMD5" ] && [ "${1}" != "force2" ]; then echo -e "${idsCL[Yellow]}Certificates remains the same, no newer certificates exist${idsCL[Default]}" echo exit 0