Change "whitelist" to "menu-items" in qvm-features for clarity.
This commit is contained in:
parent
e8ba117c26
commit
bab8e699d7
6
qubesadmin/tools/qvm_template_postprocess.py
Executable file → Normal file
6
qubesadmin/tools/qvm_template_postprocess.py
Executable file → Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user