[ Agent ] [ App ] - offline installation chrony

This commit is contained in:
zeaslity
2023-12-13 10:36:47 +08:00
parent a56ed7e612
commit 32b4e4a94c
5 changed files with 55 additions and 19 deletions

View File

@@ -30,6 +30,9 @@ func (op *AgentOsOperator) Deploy(appFuncName string, funcArgs ...string) (bool,
var result []string
switch appFuncName {
case "DEPLOY_CHRONY_SERVER":
resultOK, result = op.installChronyByDockerExec(funcArgs)
break
case "DEPLOY_RKE":
resultOK, result = op.deployRke(funcArgs)
break