mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-11 10:10:28 +08:00
集群设置中增加“自动调节系统参数”选项
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user