2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Update doxcat

This commit is contained in:
Abhishek S A 2024-07-31 08:56:28 +05:30 committed by GitHub
parent 88447104e5
commit f89fb8763d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -424,14 +424,14 @@ while :; do
if [ $IPMI_SUPPORT -ne 0 ]; then
# Set boot from network will cause OpenPOWER server wait at petitboot menu, so do nothing here
if uname -m | grep x86_64; then
ipmitool raw 0x00 0x08 0x03 0x08
ipmitool raw 0x00 0x08 0x03 0x08
ipmitool chassis bootdev pxe
fi
fi
reboot -f
elif [ "$dest" = "install" -o "$dest" = "netboot" ]; then
if [ $IPMI_SUPPORT -ne 0 ]; then
ipmitool raw 0x00 0x08 0x03 0x08
ipmitool raw 0x00 0x08 0x03 0x08
ipmitool chassis bootdev pxe
fi
logger -s -t $log_label -p local4.info "Reboot..."