2024-01-12 11:47:21 -05:00
|
|
|
{#
|
2024-01-29 10:49:54 -05:00
|
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
2024-01-12 11:47:21 -05:00
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#}
|
|
|
|
|
|
|
|
{%- from "qvm/template.jinja" import load -%}
|
|
|
|
|
|
|
|
{%- import slsdotpath ~ "/template.jinja" as template -%}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- .clone
|
|
|
|
|
|
|
|
"dvm-{{ template.template }}-absent":
|
|
|
|
qvm.absent:
|
|
|
|
- names:
|
|
|
|
- {{ template.template_clean }}-dvm
|
|
|
|
- {{ template.template }}-dvm
|
|
|
|
|
|
|
|
{% load_yaml as defaults -%}
|
2024-01-20 13:34:39 -05:00
|
|
|
name: {{ template.template }}
|
2024-01-12 11:47:21 -05:00
|
|
|
force: True
|
|
|
|
require:
|
|
|
|
- sls: {{ slsdotpath }}.clone
|
|
|
|
present:
|
2024-01-20 13:34:39 -05:00
|
|
|
- label: black
|
2024-01-12 11:47:21 -05:00
|
|
|
prefs:
|
2024-01-20 13:34:39 -05:00
|
|
|
- label: black
|
|
|
|
- audiovm: ""
|
2024-01-12 11:47:21 -05:00
|
|
|
- vcpus: 1
|
2024-01-20 13:34:39 -05:00
|
|
|
- memory: 300
|
|
|
|
- maxmem: 600
|
2024-01-12 11:47:21 -05:00
|
|
|
- include_in_backups: False
|
|
|
|
features:
|
|
|
|
- set:
|
|
|
|
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop"
|
2024-01-20 13:34:39 -05:00
|
|
|
- default-menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop"
|
2024-01-12 11:47:21 -05:00
|
|
|
{%- endload %}
|
|
|
|
{{ load(defaults) }}
|
|
|
|
|
|
|
|
{% load_yaml as defaults -%}
|
2024-01-20 13:34:39 -05:00
|
|
|
name: dvm-{{ template.template_clean }}
|
2024-01-12 11:47:21 -05:00
|
|
|
force: True
|
|
|
|
require:
|
|
|
|
- sls: {{ slsdotpath }}.clone
|
|
|
|
present:
|
2024-01-20 13:34:39 -05:00
|
|
|
- template: {{ template.template }}
|
|
|
|
- label: red
|
2024-01-12 11:47:21 -05:00
|
|
|
prefs:
|
2024-01-20 13:34:39 -05:00
|
|
|
- template: {{ template.template }}
|
|
|
|
- label: red
|
|
|
|
- audiovm: ""
|
2024-01-12 11:47:21 -05:00
|
|
|
- vcpus: 1
|
2024-01-20 13:34:39 -05:00
|
|
|
- memory: 300
|
|
|
|
- maxmem: 800
|
|
|
|
- template_for_dispvms: True
|
2024-01-12 11:47:21 -05:00
|
|
|
- include_in_backups: False
|
|
|
|
features:
|
2024-01-20 13:34:39 -05:00
|
|
|
- enable:
|
|
|
|
- appmenus-dispvm
|
2024-01-12 11:47:21 -05:00
|
|
|
- set:
|
|
|
|
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop"
|
|
|
|
{%- endload %}
|
|
|
|
{{ load(defaults) }}
|