[ Agent ] [ Executor ] - 新增chrony部分
This commit is contained in:
@@ -44,6 +44,10 @@ public enum BaseFunctionEnum {
|
||||
"安装Harbor, 默认为2.1.0版本"
|
||||
),
|
||||
|
||||
INSTALL_CHRONY(
|
||||
"installChrony",
|
||||
"安装Chrony服务器"
|
||||
),
|
||||
|
||||
CHRONY_TO_PUBLIC_NTP(
|
||||
"chronyToPublicNTP",
|
||||
|
||||
@@ -62,8 +62,9 @@ public class FuncServiceImpl implements FuncService {
|
||||
}
|
||||
|
||||
if (syncResultLog
|
||||
.get(0)
|
||||
.get(syncResultLog.size() - 1)
|
||||
.endsWith("true")) {
|
||||
|
||||
log.debug(
|
||||
"基本脚本调用成功 => {}",
|
||||
syncResultLog
|
||||
|
||||
Reference in New Issue
Block a user