update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.2.1-11092024'
|
VERS='5.2.3-11092024'
|
||||||
NM_BETA=false
|
NM_BETA=false
|
||||||
|
|
||||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '
|
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '
|
||||||
|
|||||||
@@ -649,6 +649,7 @@ CHECK-CERTS(){
|
|||||||
VCENTER-SSL(){
|
VCENTER-SSL(){
|
||||||
if [ "${NM_VC_HOSTNAME}" != "" ] && [ "${NM_VC_USER}" != "" ] && [ "${NM_VC_PASS}" != "" ] && [ "${NM_PDNS_APIKEY}" != "" ]; then
|
if [ "${NM_VC_HOSTNAME}" != "" ] && [ "${NM_VC_USER}" != "" ] && [ "${NM_VC_PASS}" != "" ] && [ "${NM_PDNS_APIKEY}" != "" ]; then
|
||||||
pwsh ${NM_FOLDER}/inc/vCenter-SSL.ps1
|
pwsh ${NM_FOLDER}/inc/vCenter-SSL.ps1
|
||||||
|
ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@10.10.1.60 "Rescan-VBREntity -AllHosts"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -244,7 +244,4 @@ else {
|
|||||||
Write-Error "Failed to Replace Certificate, Please verify Correct Configuration and Retry"
|
Write-Error "Failed to Replace Certificate, Please verify Correct Configuration and Retry"
|
||||||
}
|
}
|
||||||
|
|
||||||
Import-Module VMware.VimAutomation.Core
|
|
||||||
Rescan-VBREntity -AllHosts
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user