update
This commit is contained in:
0
esxi-scripts/esxi-shutdown.sh
Normal file → Executable file
0
esxi-scripts/esxi-shutdown.sh
Normal file → Executable file
@@ -399,8 +399,8 @@ SHUTDOWN_SERVERS(){
|
|||||||
done
|
done
|
||||||
|
|
||||||
elif [ "${1}" = "SYS" ]; then
|
elif [ "${1}" = "SYS" ]; then
|
||||||
touch $FOLDER/shutdown.sys
|
|
||||||
[ ! -f $FOLDER/shutdown.main ] && SHUTDOWN_SERVERS MAIN
|
[ ! -f $FOLDER/shutdown.main ] && SHUTDOWN_SERVERS MAIN
|
||||||
|
touch $FOLDER/shutdown.sys
|
||||||
|
|
||||||
for ESXIHOST in "${SYSHOSTS[@]}"; do
|
for ESXIHOST in "${SYSHOSTS[@]}"; do
|
||||||
echo -en "Shutting Down VM's on: ${ESXIHOST} ... "
|
echo -en "Shutting Down VM's on: ${ESXIHOST} ... "
|
||||||
|
|||||||
Reference in New Issue
Block a user