qusal/salt/mgmt/prefs.sls

22 lines
600 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
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 }}