Update powerwall.sh
This commit is contained in:
@@ -1271,7 +1271,7 @@ HOSTPOWER(){
|
||||
echo
|
||||
|
||||
if [ "${2,,}" == "on" ] || [ "${2,,}" == "off" ] || [ "${2,,}" == "status" ]; then
|
||||
run=$(ipmitool -I lanplus -H ${idracip} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" chassis power ${2,,})
|
||||
ipmitool -I lanplus -H ${idracip} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" chassis power ${2,,}
|
||||
else
|
||||
echo -e "${idsCL[LightRed]}'${2,,}' command is not recognized${idsCL[Default]}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user