dom0: correctly remove appmenus for ServiceVM (if any)
This commit is contained in:
parent
77ec31d164
commit
320847de91
@ -1755,7 +1755,12 @@ class QubesAppVm(QubesVm):
|
||||
if dry_run:
|
||||
return
|
||||
|
||||
subprocess.check_call ([qubes_appmenu_remove_cmd, self.name])
|
||||
vmtype = ''
|
||||
if self.is_netvm():
|
||||
vmtype = 'servicevms'
|
||||
else:
|
||||
vmtype = 'appvms'
|
||||
subprocess.check_call ([qubes_appmenu_remove_cmd, self.name, vmtype])
|
||||
super(QubesAppVm, self).remove_from_disk()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user