dom0: write firewall rules only for running proxyvms

This commit is contained in:
Marek Marczykowski 2011-06-07 12:19:17 +02:00
parent 0ffb186681
commit 429c685f1d

View File

@ -929,7 +929,7 @@ class QubesVm(object):
if verbose: if verbose:
print "--> Updating firewall rules..." print "--> Updating firewall rules..."
for vm in qvm_collection.values(): for vm in qvm_collection.values():
if vm.is_proxyvm(): if vm.is_proxyvm() and vm.is_running():
vm.write_iptables_xenstore_entry() vm.write_iptables_xenstore_entry()
if verbose: if verbose: