可以设置是否自动安装nftables

This commit is contained in:
刘祥超
2022-09-17 21:05:18 +08:00
parent bf320271d4
commit 86bf316468
6 changed files with 17 additions and 7 deletions

View File

@@ -1122,6 +1122,11 @@ func (this *NodeDAO) ComposeNodeConfig(tx *dbs.Tx, nodeId int64, cacheMap *utils
config.UAMPolicies[clusterId] = uamPolicy
}
// 自动安装nftables
if clusterIndex == 0 {
config.AutoInstallNftables = nodeCluster.AutoInstallNftables
}
clusterIndex++
}