diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 14aeda85..c3f71e41 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -1156,6 +1156,11 @@ class QubesVm(object): shutil.rmtree (self.dir_path) def write_firewall_conf(self, conf): + defaults = self.get_firewall_conf() + for item in defaults.keys(): + if item not in conf: + conf[item] = defaults[item] + root = xml.etree.ElementTree.Element( "QubesFirwallRules", policy = "allow" if conf["allow"] else "deny",