Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-22 18:22:40 -06:00
parent 18e9640a19
commit f89aadc48b

View File

@@ -396,7 +396,7 @@ NODEUPDATE() {
}
VCENTER-SSL(){
if [ "${NM_VCHOSTNAME}" != "" ] && [ "${NM_VCUSER}" != "" ] && [ "${NM_VCPASS}" != "" ]; then
if [ "${NM_VCHOSTNAMExx}" != "" ] && [ "${NM_VCUSER}" != "" ] && [ "${NM_VCPASS}" != "" ]; then
VCSERVER="https://${NM_VCHOSTNAME}"
CRED="administrator@scity.vs:$(pass iDSVC)"
CURRENTLIVE=/etc/vmware-rhttpproxy/ssl/rui.crt
@@ -450,6 +450,7 @@ VCENTER-SSL(){
echo
else
echo -e "${idsCL[Yellow]}vCenter info not configured in 'defaults.local.inc'${idsCL[Default]}\n"
echo ${NM_VCPASS}
fi
}
ADD_LOGROTATE_CRONTAB(){