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