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:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user