From b13167b97404a63a9d7e6422d1ccdc119a5fcb75 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 22 Nov 2023 21:10:32 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 287290df..2c63cf0f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -975,9 +975,9 @@ GUI(){ haproxy-config) HAPROXY-CONFIG;; keepalive-config) KEEPALIVE-CONFIG;; vc-ssl) - if [ "${2,,}" == "report" ] || [ "${3,,}" == "report" ]; then + if [ "${2,,}" == "log" ] || [ "${3,,}" == "log" ]; then echo "$(date) - vCenter Update Initiated" >> ${NM_LOGFOLDER}/vc-ssl.log - ${NM_SCRIPT} >> ${NM_LOGFOLDER}/vc-ssl.log + ${NM_SCRIPT} report >> ${NM_LOGFOLDER}/vc-ssl.log echo "$(date) - vCenter Update Completed " >> ${NM_LOGFOLDER}/vc-ssl.log else