mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-03 03:36:29 -04:00
fix: sync reader appmenus
This commit is contained in:
parent
45c2ec6f70
commit
4b176a58c3
3 changed files with 20 additions and 0 deletions
|
@ -23,6 +23,7 @@ necessary packages will be installed in the template.
|
|||
qubesctl top.enable reader
|
||||
qubesctl --targets=tpl-reader state.apply
|
||||
qubesctl top.disable reader
|
||||
qubesctl state.apply reader.appmenus
|
||||
```
|
||||
|
||||
- State:
|
||||
|
@ -30,6 +31,7 @@ qubesctl top.disable reader
|
|||
```sh
|
||||
qubesctl state.apply reader.create
|
||||
qubesctl --skip-dom0 --targets=tpl-reader state.apply reader.install
|
||||
qubesctl state.apply reader.appmenus
|
||||
```
|
||||
<!-- pkg:end:post-install -->
|
||||
|
||||
|
|
8
salt/reader/appmenus.sls
Normal file
8
salt/reader/appmenus.sls
Normal file
|
@ -0,0 +1,8 @@
|
|||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
{% from 'utils/macros/sync-appmenus.sls' import sync_appmenus -%}
|
||||
{{ sync_appmenus('tpl-' ~ sls_path) }}
|
10
salt/reader/appmenus.top
Normal file
10
salt/reader/appmenus.top
Normal file
|
@ -0,0 +1,10 @@
|
|||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
base:
|
||||
'dom0':
|
||||
- match: nodegroup
|
||||
- reader.appmenus
|
Loading…
Add table
Add a link
Reference in a new issue