do some enhancement

This commit is contained in:
huweihua 2014-12-02 21:44:58 -05:00
parent b02452e2fb
commit 1967441266
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ cmd:rnetboot $$SN
check:rc==0
cmd:sleep 600
cmd:a=0;while ! `lsdef -l $$SN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 350 ];then break;fi done
cmd:a=0;while ! `lsdef -l $$SN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 400 ];then break;fi done
cmd:ping $$SN -c 3
check:rc==0
@ -90,5 +90,5 @@ check:rc==0
check:output=~/tftpboot on /tftpboot
cmd:xdsh $$SN "nslookup $$CN"
check:rc==0
check:output=~Name: $$CN
check:output!~server can't find $$CN
end

View File

@ -89,7 +89,7 @@ check:rc==0
check:output=~\d\d:\d\d:\d\d
cmd:xdsh $$CN mount
check:rc==0
check:output=~$$SN:/nodedata/$$CN on /.statelite/persistent
check:output=~/nodedata/$$CN on /.statelite/persistent
check:output=~compute/rootimg on / type nfs