2024-02-03 14:58:28 -05:00
|
|
|
{#
|
|
|
|
SPDX-FileCopyrightText: 2024 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
|
2024-03-18 11:29:01 -04:00
|
|
|
- utils.tools.common.update
|
2024-02-03 14:58:28 -05:00
|
|
|
|
|
|
|
"{{ slsdotpath }}-installed":
|
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2024-02-03 14:58:28 -05:00
|
|
|
- install_recommends: False
|
|
|
|
- skip_suggestions: True
|
|
|
|
- pkgs:
|
|
|
|
- grub2-xen-pvh
|
|
|
|
|
|
|
|
{% load_yaml as defaults -%}
|
|
|
|
name: {{ template.template }}
|
|
|
|
force: True
|
|
|
|
require:
|
|
|
|
- sls: {{ slsdotpath }}.clone
|
|
|
|
prefs:
|
|
|
|
- virt_mode: pv
|
|
|
|
- kernel: pvgrub2-pvh
|
|
|
|
{%- endload %}
|
|
|
|
{{ load(defaults) }}
|