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