集群设置中增加“自动调节系统参数”选项

This commit is contained in:
GoEdgeLab
2023-10-08 15:08:11 +08:00
parent efc9c5dd58
commit af53f02a1b
6 changed files with 76 additions and 32 deletions

View File

@@ -64,6 +64,7 @@ func (this *CreateAction) RunPost(params struct {
InstallDir string
SystemdServiceIsOn bool
AutoInstallNftables bool
AutoSystemTuning bool
// DNS相关
DnsDomainId int64
@@ -132,6 +133,7 @@ func (this *CreateAction) RunPost(params struct {
SystemServicesJSON: systemServicesJSON,
GlobalServerConfigJSON: globalServerConfigJSON,
AutoInstallNftables: params.AutoInstallNftables,
AutoSystemTuning: params.AutoSystemTuning,
})
if err != nil {
this.ErrorPage(err)