You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Ensure the power is set to on or off; wait and retry if necessary# Usage: ./lib/ipmi/power.sh <on/off>
STATUS=$1
status=
whiletrue;do$IPMI power $1
sleep 3
status=$($IPMI power status)case$statusin"Chassis Power is $STATUS") exit 0;;
"Chassis Power is"*) continue;;
*) break;;
esacdoneecho"power.sh: IPMI returned an unrecognized message:"$status
and
export IPMI="ipmitool -I lanplus -H frodo-sp.qa.suse.de"
say "Using IPMI command: "$IPMI
say "Ensuring PXE boot"$IPMI chassis bootdev pxe "options=verbose=yes"$IPMI chassis bootparam get 5
and the equivalent in os-autoinst.
Basically wrapping IPMI to reboot into PXE to do an unattended installation. Perhaps this could be implemented in support service? Assuming there is actual common ground. Also may abstract away none PXE/IPMI control methods.
The text was updated successfully, but these errors were encountered:
I actually like the idea. This may mean we need to add some non-volatile configuration for the machines. We could also try supporting redfish here, which most of our machines also support.
Everybody has scripts like the following:
and
and the equivalent in os-autoinst.
Basically wrapping IPMI to reboot into PXE to do an unattended installation. Perhaps this could be implemented in support service? Assuming there is actual common ground. Also may abstract away none PXE/IPMI control methods.
The text was updated successfully, but these errors were encountered: