diff --git a/powerwall.sh b/powerwall.sh index eb044eae..455fde2e 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1271,7 +1271,8 @@ HOSTPOWER(){ echo if [ "${2,,}" == "on" ] || [ "${2,,}" == "off" ] || [ "${2,,}" == "status" ]; then - ssh root@${PW_RACADM_ACCESS} "ipmitool -I lanplus -H ${idracip} -U ${PW_ESXI_USER} -P '${PW_ESXI_PASS}' chassis power ${2,,}" + # ssh root@${PW_RACADM_ACCESS} "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