qusal/salt/kicksecure-minimal/create.sls

74 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-01-12 11:22:58 -05:00
{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{%- from "qvm/template.jinja" import load -%}
{%- import slsdotpath ~ "/template.jinja" as template -%}
include:
- .clone
"{{ slsdotpath }}-updated":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-installed":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs:
- grub2-xen-pvh
{% load_yaml as defaults -%}
name: {{ template.template }}
2024-01-12 11:22:58 -05:00
force: True
require:
- sls: {{ slsdotpath }}.clone
2024-01-12 11:22:58 -05:00
present:
- label: black
2024-01-12 11:22:58 -05:00
prefs:
- label: black
- audiovm: ""
2024-01-12 11:22:58 -05:00
- memory: 300
- maxmem: 600
- vcpus: 2
2024-01-12 11:22:58 -05:00
- include_in_backups: False
features:
- set:
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop"
- default-menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop"
2024-01-12 11:22:58 -05:00
{%- endload %}
{{ load(defaults) }}
{% load_yaml as defaults -%}
name: dvm-{{ template.template_clean }}
2024-01-12 11:22:58 -05:00
force: True
require:
- sls: {{ template.template_clean }}.clone
2024-01-12 11:22:58 -05:00
present:
- template: {{ template.template }}
- label: red
2024-01-12 11:22:58 -05:00
prefs:
- template: {{ template.template }}
- label: red
- audiovm: ""
2024-01-12 11:22:58 -05:00
- memory: 300
- maxmem: 600
- vcpus: 1
- template_for_dispvms: True
2024-01-12 11:22:58 -05:00
- include_in_backups: False
features:
- enable:
- appmenus-dispvm
2024-01-12 11:22:58 -05:00
- set:
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop"
tags:
- add:
- updatevm-sys-cacher
2024-01-12 11:22:58 -05:00
{%- endload %}
{{ load(defaults) }}