wip: dom0 top
This commit is contained in:
parent
4c37bca003
commit
26a13368d6
3 changed files with 46 additions and 0 deletions
41
salt/dom0/base-templates.sls
Normal file
41
salt/dom0/base-templates.sls
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{%- if grains.id == 'dom0' -%}
|
||||
|
||||
{% load_yaml as base_templates %}
|
||||
qubes-templates-itl:
|
||||
- fedora-42-minimal
|
||||
qubes-templates-itl-testing:
|
||||
- debian-13
|
||||
- debian-13-minimal
|
||||
- fedora-42-minimal
|
||||
- fedora-42
|
||||
qubes-templates-community-testing:
|
||||
- kicksecure-17
|
||||
{% endload %}
|
||||
|
||||
'{{ slsdotpath }}: install qubes base templates':
|
||||
qvm.template_installed:
|
||||
- names:
|
||||
{%- for template in base_templates['qubes-templates-itl'] %}
|
||||
- '{{ template }}'
|
||||
{%- endfor %}
|
||||
|
||||
'{{ slsdotpath }}: install qubes testing templates':
|
||||
qvm.template_installed:
|
||||
- names:
|
||||
{%- for template in base_templates['qubes-templates-itl-testing'] %}
|
||||
- '{{ template }}'
|
||||
{%- endfor %}
|
||||
- fromrepo: 'qubes-templates-itl-testing'
|
||||
|
||||
'{{ slsdotpath }}: install qubes community testing templates':
|
||||
qvm.template_installed:
|
||||
- names:
|
||||
{%- for template in base_templates['qubes-templates-community-testing'] %}
|
||||
- '{{ template }}'
|
||||
{%- endfor %}
|
||||
- fromrepo: 'qubes-templates-community-testing'
|
||||
|
||||
{%- endif -%}
|
||||
{#- vim: set syntax=salt.jinja.yaml ts=2 sw=2 sts=2 et : -#}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue