start:runcmdinstaller_h descriptiop:runcmdinstaller -h cmd:runcmdinstaller -h check:rc==0 check:output=~runcmdinstaller end start:runcmdinstaller_command descriptiop:runcmdinstaller cmd:chtab key=xcatdebugmode site.value="2" check:rc==0 cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute 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: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 cmd:chtab key=xcatdebugmode site.value="0" end start:get_xcat_postscripts_loginfo description:get xcat post scripts loginfo cmd:chtab key=xcatdebugmode site.value="1" check:rc==0 cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute 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: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:cat /var/log/messages /var/log/xcat/computes.log 2>/dev/null | grep "Running post-installation scripts" cmd:rc==0 cmd:cat /var/log/messages /var/log/xcat/computes.log 2>/dev/null | grep "program: ++" cmd:rc==0 cmd:chtab key=xcatdebugmode site.value="0" end start:updatenode_postscripts_loginfo description:get updatenode postsripts log info cmd:chtab key=xcatdebugmode site.value="1" check:rc==0 cmd:chdef $$CN -p postscripts=setupntp check:rc==0 cmd:updatenode $$CN -P setupntp check:output=~$$CN: + cmd:cat /var/log/messages /var/log/xcat/computes.log 2>/dev/null |grep "trying to download postscripts" check:rc==0 cmd:chtab key=xcatdebugmode site.value="0" cmd:chdef $$CN -m postscripts=setupntp end