From 4285d285c18d157cda6a26902077057f2ee83126 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 31 Oct 2023 22:52:42 -0500 Subject: [PATCH] update --- esxi-scripts/host-maintenance_mode.ps1 | 2 +- powerwall.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esxi-scripts/host-maintenance_mode.ps1 b/esxi-scripts/host-maintenance_mode.ps1 index e7234987..0ec7710d 100755 --- a/esxi-scripts/host-maintenance_mode.ps1 +++ b/esxi-scripts/host-maintenance_mode.ps1 @@ -2,6 +2,6 @@ . /opt/idssys/powerwall/settings.ps1 -Connect-VIServer -Server $PW_VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null +Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null Get-VMHost -Name $args[0] | set-vmhost -State Maintenance diff --git a/powerwall.sh b/powerwall.sh index 2507b942..49e5b3b2 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1127,7 +1127,7 @@ SHUTDOWN_SERVER(){ echo -en "${idsCL[LightCyan]}Shutting down remaining VM's ... " if [ "${TEST}" != "true" ]; then ${PW_FOLDER}/esxi-scripts/vm-shutdown.ps1 ${hostip} >/dev/null 2>&1 - ${PW_FOLDER}/esxi-scripts/iscsi-server-shutdown.ps1 ${hostip} >/dev/null 2>&1 + # ${PW_FOLDER}/esxi-scripts/iscsi-server-shutdown.ps1 ${hostip} >/dev/null 2>&1 fi echo -e "${idsCL[Green]}Done\n"