Update offsite-power-check.sh

This commit is contained in:
2023-12-10 14:41:56 -06:00
parent 1dd3ecadb8
commit b2f7abda3e

View File

@@ -123,7 +123,7 @@ $(date)"
for host in ${PW_OFFSITEHOSTS}; do
if [ "$TEST" = "" ] || [ "$TEST" = "full" ]; then
# ssh root@${host} /vmfs/volumes/652c94ef-ee49895b-365d-00109b3fea40/.SCRIPTS/esxi-shutdown2.sh &
ssh root@${host} "bash -s" < ${PW_FOLDER}/esxi-scripts/esxi-shutdown2.sh &
ssh root@${host} "sh -s" < ${PW_FOLDER}/esxi-scripts/esxi-shutdown2.sh &
else
echo "TESTMODE: Shutting down '${host}'"
fi