update
This commit is contained in:
@@ -649,7 +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"
|
ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 backup@10.10.1.60 "Rescan-VBREntity -AllHosts"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env pwsh
|
#!/usr/bin/env pwsh
|
||||||
. /opt/idssys/nodemgmt/conf/powerwall/settings.ps1
|
. /opt/idssys/nodemgmt/conf/powerwall/settings.ps1
|
||||||
|
|
||||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force -Confirm:$false
|
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Confirm:$false
|
||||||
|
|
||||||
function Show-Failure {
|
function Show-Failure {
|
||||||
$global:helpme = $body
|
$global:helpme = $body
|
||||||
|
|||||||
Reference in New Issue
Block a user