mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
fix: remove updatevm tag after DomU uninstallation
For: https://github.com/ben-grande/qusal/issues/41
This commit is contained in:
parent
7ec71ccf1b
commit
648bdad04b
@ -42,7 +42,7 @@ sudo qubesctl top.enable sys-cacher browser
|
||||
sudo qubesctl --targets=tpl-browser,sys-cacher-browser,tpl-sys-cacher,sys-cacher state.apply
|
||||
sudo qubesctl top.disable sys-cacher browser
|
||||
sudo qubesctl state.apply sys-cacher.appmenus,sys-cacher.tag
|
||||
sudo qubesctl --skip-dom0 --templates state.apply sys-cacher.install-client
|
||||
sudo qubesctl --skip-dom0 --targets="$(qvm-ls --no-spinner --raw-list --tags updatevm-sys-cacher | tr "\n" ",")" state.apply sys-cacher.install-client
|
||||
```
|
||||
|
||||
- State
|
||||
@ -152,6 +152,7 @@ sudo apt-cacher-ng-repo uninstall
|
||||
sudo qubesctl top.enable sys-cacher.deinit
|
||||
sudo qubesctl --targets="$(qvm-ls --no-spinner --raw-list --tags updatevm-sys-cacher | tr "\n" ",")" state.apply
|
||||
sudo qubesctl top.disable sys-cacher.deinit
|
||||
sudo qubesctl state.apply sys-cacher.untag
|
||||
```
|
||||
|
||||
- State:
|
||||
|
@ -1,5 +1,5 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
@ -7,8 +7,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
base:
|
||||
'dom0':
|
||||
- match: nodegroup
|
||||
- sys-cacher.untag
|
||||
- sys-cacher.remove-policy
|
||||
'qubes:type:template':
|
||||
- match: pillar
|
||||
'*':
|
||||
- sys-cacher.uninstall-client
|
||||
|
@ -1,5 +1,5 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
Loading…
Reference in New Issue
Block a user