Update nodemgmt-scripts.sh
This commit is contained in:
@@ -396,6 +396,7 @@ NODEUPDATE() {
|
||||
}
|
||||
|
||||
VCENTER-SSL(){
|
||||
if [ "${NM_VCHOSTNAME}" != "" ] && [ "${NM_VCUSER}" != "" ] && [ "${NM_VCPASS}" != "" ]; then
|
||||
VCSERVER="https://${NM_VCHOSTNAME}"
|
||||
CRED="administrator@scity.vs:$(pass iDSVC)"
|
||||
CURRENTLIVE=/etc/vmware-rhttpproxy/ssl/rui.crt
|
||||
@@ -447,6 +448,9 @@ VCENTER-SSL(){
|
||||
echo -e "${idsCL[Green]}The vCenter certifcate has been updated${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightCyan]}Don't forget to re-scan the vCenter connection in Veeam${idsCL[Default]}"
|
||||
echo
|
||||
else
|
||||
echo "${idsCL[Yellow]}vCenter info not configured in 'defaults.local.inc'${idsCL[Default]}\n"
|
||||
fi
|
||||
}
|
||||
ADD_LOGROTATE_CRONTAB(){
|
||||
if ! crontab -l | grep -q "${NM_FOLDER}/tmp-logrotate"; then
|
||||
|
||||
Reference in New Issue
Block a user