mirror of
https://github.com/ben-grande/qusal.git
synced 2025-02-22 07:49:47 -05:00
fix: set global prefs for management_dispvm
This commit is contained in:
parent
c456af2718
commit
ffe03ba02a
@ -7,7 +7,13 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
include:
|
||||
- .create
|
||||
|
||||
"{{ slsdotpath }}-set-management_dispvm-to-default":
|
||||
"{{ slsdotpath }}-set-qubes-prefs-management_dispvm-to-dvm-{{ slsdotpath }}":
|
||||
cmd.run:
|
||||
- require:
|
||||
- cmd: "{{ slsdotpath }}-install-salt-deps"
|
||||
- name: qubes-prefs management_dispvm dvm-{{ slsdotpath }}
|
||||
|
||||
"{{ slsdotpath }}-set-tpl-{{ slsdotpath }}-management_dispvm-to-default":
|
||||
qvm.vm:
|
||||
- require:
|
||||
- cmd: "{{ slsdotpath }}-install-salt-deps"
|
||||
@ -18,7 +24,8 @@ include:
|
||||
"{{ slsdotpath }}-remove-default-mgmt-dvm":
|
||||
qvm.absent:
|
||||
- require:
|
||||
- qvm: {{ slsdotpath }}-set-management_dispvm-to-default
|
||||
- cmd: "{{ slsdotpath }}-set-qubes-prefs-management_dispvm-to-dvm-{{ slsdotpath }}"
|
||||
- qvm: "{{ slsdotpath }}-set-tpl-{{ slsdotpath }}-management_dispvm-to-default"
|
||||
- name: default-mgmt-dvm
|
||||
|
||||
## TODO: Remove when template with patch reaches upstream or updates enforce
|
||||
@ -27,7 +34,7 @@ include:
|
||||
"{{ slsdotpath }}-shutdown-template":
|
||||
qvm.shutdown:
|
||||
- require:
|
||||
- qvm: "{{ slsdotpath }}-set-management_dispvm-to-default"
|
||||
- qvm: "{{ slsdotpath }}-set-tpl-{{ slsdotpath }}-management_dispvm-to-default"
|
||||
- name: tpl-{{ slsdotpath }}
|
||||
- flags:
|
||||
- force
|
||||
|
Loading…
x
Reference in New Issue
Block a user