Update powerwall.sh
This commit is contained in:
@@ -1205,7 +1205,7 @@ SHUTDOWN_SERVER(){
|
|||||||
[ "${TEST}" != "true" ] && run=$(ssh root@${hostip} 'esxcli system maintenanceMode set -e false -t 0' >/dev/null 2>&1)
|
[ "${TEST}" != "true" ] && run=$(ssh root@${hostip} 'esxcli system maintenanceMode set -e false -t 0' >/dev/null 2>&1)
|
||||||
echo -e "${idsCL[Green]}Done\n"
|
echo -e "${idsCL[Green]}Done\n"
|
||||||
|
|
||||||
echo -en "${idsCL[LightCyan]}The host ${host} (${hostip}) will be shutdown momentarily ... "
|
echo -e "${idsCL[LightCyan]}The host ${host} (${hostip}) will be shutdown momentarily ... \n"
|
||||||
# echo -en "${idsCL[LightCyan]}Waiting for Host ${host} (${hostip}) to shutdown ... "
|
# echo -en "${idsCL[LightCyan]}Waiting for Host ${host} (${hostip}) to shutdown ... "
|
||||||
# if [ "${TEST}" != "true" ]; then
|
# if [ "${TEST}" != "true" ]; then
|
||||||
# while ping -qw 10 -c3 "${hostip}">/dev/null 2>&1; do
|
# while ping -qw 10 -c3 "${hostip}">/dev/null 2>&1; do
|
||||||
|
|||||||
Reference in New Issue
Block a user