2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

completed

This commit is contained in:
caomengmeng 2016-06-21 01:46:31 -04:00
parent afa26d2e86
commit 1d52847d4c

View File

@ -12,9 +12,8 @@ cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-ins
check:rc==0
cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then rpower $$CN boot; fi
check:rc==0
cmd:sleep 300
cmd:xdsh $$CN date
check:output=~$$DATE
cmd:a=0;while ! `lsdef -l $$CN|grep status|grep installing >/dev/null`; do sleep 20;((a++));if [ $a -gt 30 ];then break;fi done
cmd:lsdef -l $$CN | grep status
cmd:runcmdinstaller $$CN "ls -al /tmp"
check:rc==0
check:output=~yum