mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
modify ntp testcase
This commit is contained in:
@ -53,11 +53,12 @@ cmd:xdsh $$CN date -s 20000101
|
||||
check:rc==0
|
||||
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock -w;else xdsh $$CN hwclock -w ; fi
|
||||
cmd:chdef $$CN -p postscripts=setupntp
|
||||
cmd:chtab key=extntpservers site.value=""
|
||||
check:rc==0
|
||||
#cmd:chtab key=extntpservers site.value=""
|
||||
#check:rc==0
|
||||
cmd:updatenode $$CN -P setupntp
|
||||
check:rc==0
|
||||
check:output=~Running of postscripts has completed
|
||||
cmd:sleep 120
|
||||
cmd:xdsh $$CN date
|
||||
check:output=~2015
|
||||
#cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "rhel" ]];then xdsh $$CN clock ;else xdsh $$CN hwclock ; fi
|
||||
|
Reference in New Issue
Block a user