dom0/qvm-firewall: eliminate duplicate firewall defaults definition (#599)
This caused ignore of different firewall defaults for TemplateVM.
This commit is contained in:
		
							parent
							
								
									0e2aba228f
								
							
						
					
					
						commit
						c978ce3a48
					
				| @ -1983,10 +1983,7 @@ class QubesProxyVm(QubesNetVm): | |||||||
|         vms = [vm for vm in self.connected_vms.values()] |         vms = [vm for vm in self.connected_vms.values()] | ||||||
|         for vm in vms: |         for vm in vms: | ||||||
|             iptables="*filter\n" |             iptables="*filter\n" | ||||||
|             if vm.has_firewall(): |             conf = vm.get_firewall_conf() | ||||||
|                 conf = vm.get_firewall_conf() |  | ||||||
|             else: |  | ||||||
|                 conf = { "rules": list(), "allow": True, "allowDns": True, "allowIcmp": True, "allowYumProxy": False } |  | ||||||
| 
 | 
 | ||||||
|             xid = vm.get_xid() |             xid = vm.get_xid() | ||||||
|             if xid < 0: # VM not active ATM |             if xid < 0: # VM not active ATM | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski
						Marek Marczykowski