[ Agent ] [ App ] - offline fix bugs

This commit is contained in:
zeaslity
2023-12-15 14:56:34 +08:00
parent a3185f0241
commit 3312052645
4 changed files with 66 additions and 16 deletions

View File

@@ -1825,7 +1825,7 @@ func (op *AgentOsOperator) installChronyByDockerExec(funcArgs []string) (bool, [
"--publish=123:123/udp",
"--env=NTP_SERVERS=\"ntp1.aliyun.com,ntp2.aliyun.com,ntp3.aliyun.com,ntp4.aliyun.com\"",
"--env=LOG_LEVEL=0",
funcArgs[0] + "8033/cmii/chronyd:0.4.3",
funcArgs[0] + ":8033/cmii/chronyd:0.4.3",
})
if !ok {
return false, append(resultLog, "[installChronyByDockerExec] - docker chrony run error !")