mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	可以设置是否自动安装nftables
This commit is contained in:
		@@ -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++
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user