This commit is contained in:
2024-11-09 21:41:50 -06:00
parent 644219ad6e
commit ba36451e2a
2 changed files with 2 additions and 3 deletions

View File

@@ -649,7 +649,6 @@ 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 backup@10.10.1.60 "Rescan-VBREntity -AllHosts"
fi
}

View File

@@ -1,8 +1,6 @@
#!/usr/bin/env pwsh
. /opt/idssys/nodemgmt/conf/powerwall/settings.ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Confirm:$false
function Show-Failure {
$global:helpme = $body
$global:helpmoref = $moref
@@ -244,4 +242,6 @@ else {
Write-Error "Failed to Replace Certificate, Please verify Correct Configuration and Retry"
}
ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 backup@10.10.1.60 "Rescan-VBREntity -AllHosts"
}