appmenus: clone default whitelists for VM type

Don't bother with checking whether it is a template or not - when
cloning VM disk files, copy those files anyway (if exist of course).
pull/26/head
Marek Marczykowski-Górecki 8 years ago
parent daf1fd4759
commit fe209dfd24
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -443,7 +443,6 @@ class AppmenusExtension(qubes.ext.Extension):
yield self.template_icons_dir(vm)
if os.path.exists(self.whitelist_path(vm)):
yield self.whitelist_path(vm)
if vm.is_template():
for whitelist in (
'vm-' + AppmenusSubdirs.whitelist,
'netvm-' + AppmenusSubdirs.whitelist):

Loading…
Cancel
Save