|
@@ -80,6 +80,9 @@ class R3Compatibility(qubes.ext.Extension):
|
|
|
|
|
|
def write_iptables_qubesdb_entry(self, firewallvm):
|
|
def write_iptables_qubesdb_entry(self, firewallvm):
|
|
# pylint: disable=no-self-use
|
|
# pylint: disable=no-self-use
|
|
|
|
+ # skip compatibility rules if new format support is advertised
|
|
|
|
+ if firewallvm.features.check_with_template('qubes-firewall', False):
|
|
|
|
+ return
|
|
firewallvm.untrusted_qdb.rm("/qubes-iptables-domainrules/")
|
|
firewallvm.untrusted_qdb.rm("/qubes-iptables-domainrules/")
|
|
iptables = "# Generated by Qubes Core on {0}\n".format(
|
|
iptables = "# Generated by Qubes Core on {0}\n".format(
|
|
datetime.datetime.now().ctime())
|
|
datetime.datetime.now().ctime())
|