Update powerwall.sh
This commit is contained in:
@@ -1326,7 +1326,7 @@ SHUTDOWN_SERVERS(){
|
||||
fi
|
||||
done
|
||||
echo
|
||||
if [ "${2}" == "maintenance" ]; then
|
||||
if [ "${2}" != "maintenance" ]; then
|
||||
for ESXIHOST in "${PW_MAINHOSTS[@]}"; do
|
||||
MSG="Wait for VM's to power off, then shutdown '${PW_ESXI_HOST_NAMES[${ESXIHOST}]}'"
|
||||
c=0; MSG_SPC=''; spc1=`expr ${hc_cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done
|
||||
|
||||
Reference in New Issue
Block a user