update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='2.8.19-12242024'
|
VERS='2.8.20-02062025'
|
||||||
|
|
||||||
noheader=' update service dailytemp confsync -r -report test '
|
noheader=' update service dailytemp confsync -r -report test '
|
||||||
|
|
||||||
|
|||||||
@@ -255,11 +255,11 @@ SHUTDOWN_SERVER(){
|
|||||||
|
|
||||||
##INCREASE CPU OVERCOMMIT
|
##INCREASE CPU OVERCOMMIT
|
||||||
if [[ "${PW_OFFSITE_HOSTS}" != *"${ESXI_HOST}"* ]] && [ "${ESXI_HOST}" != "OFFSITE" ]; then
|
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
|
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}: "
|
echo -en "${idsCL[White]}${MSG}${MSG_SPC}: "
|
||||||
if [ "${TEST}" != "true" ]; then
|
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"
|
echo -e "${idsCL[Green]}Command Sent${idsCL[Default]}\n"
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Yellow]}(TEST MODE)${idsCL[Default]}\n"
|
echo -e "${idsCL[Yellow]}(TEST MODE)${idsCL[Default]}\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user