2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-11 19:02:30 +00:00

Merge pull request #7157 from gurevichmark/more_time_to_reboot

More time needed for ol7 to reboot
This commit is contained in:
besawn
2022-04-28 10:25:54 -04:00
committed by GitHub

View File

@@ -109,7 +109,10 @@ check:rc==0
# Check node can be rebooted from disk
cmd:xdsh $$CN shutdown -r now
cmd:sleep 360
# Wait for node to reboot (10sec x 60)
cmd:a=0;while ! `xdsh $$CN -t 5 uptime 2>&1 | grep up >/dev/null`; do sleep 10;((a++));if [ $a -gt 60 ];then break;fi done
cmd:xdsh $$CN uptime
check:rc==0
check:output=~up