集群设置增加自动硬盘TRIM选项

This commit is contained in:
刘祥超
2024-04-04 17:04:53 +08:00
parent 200f244c0c
commit 52155a23ab
5 changed files with 14 additions and 7 deletions

View File

@@ -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
}
// 安全设置