Update powerwall.sh
This commit is contained in:
@@ -1151,8 +1151,8 @@ HOSTPOWER(){
|
|||||||
elif [ "${PW_ESXI_HOST_NAMES[${1}]}" != "" ]; then
|
elif [ "${PW_ESXI_HOST_NAMES[${1}]}" != "" ]; then
|
||||||
tmp=${PW_ESXI_HOST_NAMES[${1}]}
|
tmp=${PW_ESXI_HOST_NAMES[${1}]}
|
||||||
idracip=${PW_HOST_IDRACS[${tmp}]}
|
idracip=${PW_HOST_IDRACS[${tmp}]}
|
||||||
elif [ "${PW_HOST_IDRACS[${var}]}" != "" ]; then
|
elif [ "${PW_HOST_IDRACS[iDS-vMS-Host${1}]}" != "" ]; then
|
||||||
idracip=${PW_HOST_IDRACS[${var}]}
|
idracip=${PW_HOST_IDRACS[iDS-vMS-Host${1}]}
|
||||||
elif [ "${PW_HOST_IDRACS[${1}]}" != "" ]; then
|
elif [ "${PW_HOST_IDRACS[${1}]}" != "" ]; then
|
||||||
idracip=${PW_HOST_IDRACS[${1}]}
|
idracip=${PW_HOST_IDRACS[${1}]}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user