Properly create default firewall configuration

This commit is contained in:
Tomasz Sterna 2011-03-14 20:43:56 +01:00
parent b04b36af2c
commit c92a2bf25f

View File

@ -1431,7 +1431,7 @@ class QubesAppVm(QubesCowVm):
return True return True
def get_firewall_conf(self): def get_firewall_conf(self):
conf = { "rules": list() } conf = { "rules": list(), "allow": True, "allowDns": True }
try: try:
tree = xml.etree.ElementTree.parse(self.firewall_conf) tree = xml.etree.ElementTree.parse(self.firewall_conf)