qusal/salt/mgmt/prefs.sls
Ben Grande 3dca623519 fix: change mgmt template to fedora
A Minimal Fedora template can't be the management qube or the targeted
qube of Salt as it is missing dependencies that are only available in
the full template. The management qube is temporarily changed to the
non-minimal version so the minimal template can be targeted once and
then it takes over the management disposable template.

Fixes: https://github.com/ben-grande/qusal/issues/28
2024-03-10 17:22:39 +01:00

22 lines
600 B
Plaintext

{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
"{{ slsdotpath }}-set-management_dispvm":
cmd.run:
- name: qubes-prefs management_dispvm dvm-{{ slsdotpath }}
"{{ slsdotpath }}-remove-default-mgmt-dvm":
qvm.absent:
- name: default-mgmt-dvm
- require:
- cmd: {{ slsdotpath }}-set-management_dispvm
## TODO: Remove when template with patch reaches upstream.
## https://github.com/QubesOS/qubes-issues/issues/8806
"{{ slsdotpath }}-shutdown-template":
qvm.shutdown:
- name: tpl-{{ slsdotpath }}