mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
3dca623519
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
22 lines
600 B
Plaintext
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 }}
|