update
This commit is contained in:
@@ -255,11 +255,11 @@ SHUTDOWN_SERVER(){
|
||||
|
||||
##INCREASE CPU OVERCOMMIT
|
||||
if [[ "${PW_OFFSITE_HOSTS}" != *"${ESXI_HOST}"* ]] && [ "${ESXI_HOST}" != "OFFSITE" ]; then
|
||||
MSG="Increasing DRS CPU-Overcommit to 3"
|
||||
MSG="Increasing DRS CPU-Overcommit to 4"
|
||||
c=0; MSG_SPC=''; spc1=`expr ${HC_CW} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done
|
||||
echo -en "${idsCL[White]}${MSG}${MSG_SPC}: "
|
||||
if [ "${TEST}" != "true" ]; then
|
||||
${PW_FOLDER}/esxi-scripts/set-drs.ps1 3 >/dev/null 2>&1 &
|
||||
${PW_FOLDER}/esxi-scripts/set-drs.ps1 4 >/dev/null 2>&1 &
|
||||
echo -e "${idsCL[Green]}Command Sent${idsCL[Default]}\n"
|
||||
else
|
||||
echo -e "${idsCL[Yellow]}(TEST MODE)${idsCL[Default]}\n"
|
||||
|
||||
Reference in New Issue
Block a user