do some enhancement

This commit is contained in:
huweihua 2014-12-02 03:16:24 -05:00
parent 21da21dec2
commit 4097b7f845
2 changed files with 3 additions and 3 deletions

View File

@ -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=~Name: $$CN
end

View File

@ -79,7 +79,7 @@ check:rc==0
check:output=~\d\d:\d\d:\d\d
cmd:xdsh $$CN mount
check:rc==0
check:output=~$$MN:/nodedata/$$CN on /.statelite/persistent
check:output=~/nodedata/$$CN on /.statelite/persistent
check:output=~compute/rootimg on / type nfs
cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir ]; then rm -rf $rootimgdir;fi
@ -114,7 +114,7 @@ check:rc==0
check:output=~\d\d:\d\d:\d\d
cmd:xdsh $$CN mount
check:rc==0
check:output=~$$MN:/nodedata/$$CN on /.statelite/persistent
check:output=~/nodedata/$$CN on /.statelite/persistent
check:output=~rootfs on / type tmpfs
cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir.regbak ]; then rm -rf $rootimgdir; mv $rootimgdir.regbak $rootimgdir; fi