Update firewall iptables file during VM start
This commit is contained in:
parent
45f84b1713
commit
0a8249d83f
@ -552,6 +552,12 @@ class QubesVm(object):
|
|||||||
self.force_shutdown()
|
self.force_shutdown()
|
||||||
raise OSError ("ERROR: Cannot attach to network backend!")
|
raise OSError ("ERROR: Cannot attach to network backend!")
|
||||||
|
|
||||||
|
#if verbose:
|
||||||
|
# print "--> Updating FirewallVMs rules..."
|
||||||
|
#for vm in qvm_collection.values():
|
||||||
|
# if vm.is_fwvm():
|
||||||
|
# vm.write_iptables_xenstore_entry()
|
||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
print "--> Starting the VM..."
|
print "--> Starting the VM..."
|
||||||
xend_session.session.xenapi.VM.unpause (self.session_uuid)
|
xend_session.session.xenapi.VM.unpause (self.session_uuid)
|
||||||
|
Loading…
Reference in New Issue
Block a user