mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-31 19:35:49 +08:00
集群设置增加自动硬盘TRIM选项
This commit is contained in:
@@ -1244,10 +1244,11 @@ func (this *NodeDAO) ComposeNodeConfig(tx *dbs.Tx, nodeId int64, dataMap *shared
|
||||
}
|
||||
}
|
||||
|
||||
// 自动安装nftables
|
||||
// 自动安装nftables等集群配置
|
||||
if clusterIndex == 0 {
|
||||
config.AutoInstallNftables = nodeCluster.AutoInstallNftables
|
||||
config.AutoSystemTuning = nodeCluster.AutoSystemTuning
|
||||
config.AutoTrimDisks = nodeCluster.AutoTrimDisks
|
||||
}
|
||||
|
||||
// 安全设置
|
||||
|
||||
Reference in New Issue
Block a user