dom0/core: remove appmenus when removing NetVM (#627)
This commit is contained in:
parent
45ecf318ca
commit
7fbeacc81b
@ -1892,6 +1892,15 @@ class QubesNetVm(QubesVm):
|
||||
if not self.internal:
|
||||
self.create_appmenus (verbose, source_template=source_template)
|
||||
|
||||
def remove_from_disk(self):
|
||||
if dry_run:
|
||||
return
|
||||
|
||||
if not self.internal:
|
||||
self.remove_appmenus()
|
||||
super(QubesNetVm, self).remove_from_disk()
|
||||
|
||||
|
||||
class QubesProxyVm(QubesNetVm):
|
||||
"""
|
||||
A class that represents a ProxyVM, ex FirewallVM. A child of QubesNetVM.
|
||||
|
Loading…
Reference in New Issue
Block a user