2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-23 06:25:38 +00:00

modify makedhcp -q issue

This commit is contained in:
junxiawang
2016-12-14 08:19:09 -05:00
parent 10752d0604
commit 27a35ff46c
8 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,7 @@ cmd:makedhcp -n
check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:makedhcp -q $$CN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:rc==0
check:output=~$$CN
cmd:makedns -n

View File

@ -20,7 +20,7 @@ cmd:makedhcp -n
check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:makedhcp -q $$SN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:rc==0
check:output=~$$SN
cmd:chdef -t node $$SN groups=service,all

View File

@ -28,7 +28,7 @@ check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:sleep 10
cmd:makedhcp -q $$CN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:rc==0
check:output=~$$CN
cmd:copycds $$ISO

View File

@ -23,7 +23,7 @@ cmd:makedhcp -n
check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:makedhcp -q $$CN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:output=~$$CN
check:rc==0
cmd:copycds $$ISO

View File

@ -17,7 +17,7 @@ cmd:makedhcp -n
check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:makedhcp -q $$CN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:rc==0
check:output=~$$CN

View File

@ -21,7 +21,7 @@ cmd:makedhcp -a
check:rc==0
cmd:service dhcpd restart
check:rc==0
cmd:makedhcp -q $$CN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:rc==0
check:output=~$$CN

View File

@ -15,7 +15,7 @@ cmd:makedhcp -n
check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:makedhcp -q $$CN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:rc==0
check:output=~$$CN
cmd:makeconservercf $$CN

View File

@ -10,7 +10,7 @@ cmd:makedhcp -n
check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:makedhcp -q $$CN
cmd:a=0;while true;do output=`makedhcp -q $$CN|grep $$CN`;if [ $? -gt 0 ]; then let a++;sleep 1; else exit 0;fi; if [ $a -gt 100 ]; then exit 1;fi done
check:rc==0
check:output=~$$CN
cmd:makeconservercf $$CN