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

Add more output to runcmdinstaller_command testcase

This commit is contained in:
Mark Gurevich 2020-01-27 11:26:40 -05:00
parent b366a1d589
commit 755d918d06

View File

@ -16,7 +16,7 @@ check:rc==0
cmd:rinstall $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
check:rc==0
check:output=~Provision node\(s\)\: $$CN
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:a=0;while ! `lsdef -l $$CN|grep status|grep installing >/dev/null`; do sleep 20; echo "[$a] " $(lsdef $$CN -i status -c); ((a++));if [ $a -gt 30 ];then break;fi done
cmd:lsdef -l $$CN | grep status
cmd:runcmdinstaller $$CN "ls /"
check:rc==0