force to boot from pxe before the reboot in the genesis

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-05-30 08:43:38 +00:00
parent 93511ea70d
commit dccddf6428

View File

@ -159,8 +159,10 @@ while :; do
cd -
elif [ "$dest" = "reboot" -o "$dest" = "boot" ]; then
/bin/nextdestiny $XCATMASTER:$XCATPORT
ipmitool chassis bootdev pxe
reboot -f
elif [ "$dest" = "install" -o "$dest" = "netboot" ]; then
ipmitool chassis bootdev pxe
reboot -f
elif [ "$dest" = sysclone ]; then
/bin/dosysclone