Skip to content

Commit

Permalink
Change "whitelist" to "menu-items" in qvm-features for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
WillyPillow committed Jul 29, 2020
1 parent e8ba117 commit bab8e69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qubesadmin/tools/qvm_template_postprocess.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ def import_appmenus(vm, source_dir):
# name according to the FreeDesktop spec
with open(os.path.join(source_dir, 'vm-whitelisted-appmenus.list'), 'r') \
as f:
vm.features['default-whitelist'] = ' '.join([x.rstrip() for x in f])
vm.features['default-menu-items'] = ' '.join([x.rstrip() for x in f])
with open(os.path.join(source_dir, 'whitelisted-appmenus.list'), 'r') \
as f:
vm.features['whitelist'] = ' '.join([x.rstrip() for x in f])
vm.features['menu-items'] = ' '.join([x.rstrip() for x in f])
with open(
os.path.join(source_dir, 'netvm-whitelisted-appmenus.list'), 'r') \
as f:
vm.features['netvm-whitelist'] = ' '.join([x.rstrip() for x in f])
vm.features['netvm-menu-items'] = ' '.join([x.rstrip() for x in f])

# TODO: change this to qrexec calls to GUI VM, when GUI VM will be
# implemented
Expand Down

0 comments on commit bab8e69

Please sign in to comment.