mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-16 21:50:24 +08:00
集群设置增加自动硬盘TRIM选项
This commit is contained in:
@@ -80,6 +80,7 @@ func (this *CreateAction) RunPost(params struct {
|
||||
SystemdServiceIsOn bool
|
||||
AutoInstallNftables bool
|
||||
AutoSystemTuning bool
|
||||
AutoTrimDisks bool
|
||||
|
||||
// DNS相关
|
||||
DnsDomainId int64
|
||||
@@ -149,6 +150,7 @@ func (this *CreateAction) RunPost(params struct {
|
||||
GlobalServerConfigJSON: globalServerConfigJSON,
|
||||
AutoInstallNftables: params.AutoInstallNftables,
|
||||
AutoSystemTuning: params.AutoSystemTuning,
|
||||
AutoTrimDisks: params.AutoTrimDisks,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user