2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-12-26 10:51:47 +00:00

Merge pull request #2359 from tingtli/2.13

remove setupntp for sles12.1 ntpd doesn't synchronize to local clock …
This commit is contained in:
yangsong
2017-01-03 10:54:35 +08:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ cmd:makeconservercf $$CN
check:rc==0
cmd:cat /etc/conserver.cf | grep $$CN
check:output=~$$CN
cmd:chdef -t node -o $$CN postscripts=setupntp
cmd:if [ "__GETNODEATTR($$CN,os)__" != "sles12.1" ];then chdef -t node -o $$CN postscripts=setupntp; fi
cmd:lsdef -l $$CN
check:rc==0
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
check:rc==0

View File

@@ -33,7 +33,8 @@ check:rc==0
check:output=~$$CN
cmd:copycds $$ISO
check:rc==0
cmd:chdef -t node -o $$CN postscripts=setupntp
cmd:if [ "__GETNODEATTR($$CN,os)__" != "sles12.1" ];then chdef -t node -o $$CN postscripts=setupntp; fi
cmd:lsdef -l $$CN
check:rc==0
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
check:rc==0