This commit is contained in:
2024-11-09 21:33:29 -06:00
parent b58856bca1
commit 2ba7ffe238
3 changed files with 2 additions and 4 deletions

View File

@@ -649,6 +649,7 @@ CHECK-CERTS(){
VCENTER-SSL(){
if [ "${NM_VC_HOSTNAME}" != "" ] && [ "${NM_VC_USER}" != "" ] && [ "${NM_VC_PASS}" != "" ] && [ "${NM_PDNS_APIKEY}" != "" ]; then
pwsh ${NM_FOLDER}/inc/vCenter-SSL.ps1
ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@10.10.1.60 "Rescan-VBREntity -AllHosts"
fi
}

View File

@@ -244,7 +244,4 @@ else {
Write-Error "Failed to Replace Certificate, Please verify Correct Configuration and Retry"
}
Import-Module VMware.VimAutomation.Core
Rescan-VBREntity -AllHosts
}