2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00
This commit is contained in:
caomengmeng
2016-06-06 23:27:05 -04:00
parent 7faaf54eff
commit a2efc938a5

View File

@ -1,6 +1,5 @@
start:Diskless_installation_flat_p8_le
os:Linux
stop:yes
cmd:copycds $$ISO
check:rc==0
@ -33,7 +32,7 @@ check:rc==0
cmd:rpower $$CN boot
check:rc==0
cmd:sleep 200
cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 300 ];then break;fi done
cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 100 ];then break;fi done
cmd:lsdef -l $$CN | grep status
check:output=~booted
cmd:xdsh $$CN date
@ -44,6 +43,7 @@ check:rc==0
cmd:rpower $$CN reset
check:rc==0
cmd:sleep 200
cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 100 ];then break;fi done
cmd:lsdef -l $$CN | grep status
check:output=~booted
cmd:xdsh $$CN date