可以设置是否自动安装nftables

This commit is contained in:
GoEdgeLab
2022-09-17 21:05:18 +08:00
parent adeb805dcb
commit ee6a12ef7e
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++
}