Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1683,7 +1683,7 @@ VCENTER-SSL(){
|
||||
echo -en "${idsCL[LightCyan]}Checking if certificate needs to be updated on vCenter... ${idsCL[Default]}"
|
||||
VCCERTDAYS=$(${FOLDER}/ssl-cert-check/ssl-cert-check -p 443 -s ${VCHOSTNAME} -N)
|
||||
|
||||
if [ "${VCCERTDAYS}" -lt 30 ]; then
|
||||
if [ "${VCCERTDAYS}" -lt "30" ]; then
|
||||
echo -e "${idsCL[Green]}Certificate is still valid for ${VCCERTDAYS} days yet, no noeed to update${idsCL[Default]}"
|
||||
exit 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user