From f4d871c23408c5ce7782884d97b46fe9956b716a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 7 Dec 2022 18:14:19 -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 280a6cb7..33940839 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1985,7 +1985,7 @@ VCENTER-SSL(){ LIVEMD5=$(ssh root@$VCHOSTNAME "md5sum $CURRENTLIVE | cut -d\ -f1") CURRENTMD5=$(md5sum $CERTDIR/cert.pem | cut -d\ -f1) - if [ "$LIVEMD5" == "$CURRENTMD5" ]; then + if [ "$LIVEMD5" == "$CURRENTMD5" ] && [ "${1}" != "force" ]; then echo -e "${idsCL[Yellow]}Certificates remains the same, no newer certificates exist${idsCL[Default]}" echo exit 0