mirror of
https://github.com/ben-grande/qusal.git
synced 2025-01-11 15:39:40 -05:00
feat: qubes-vm-update global settings
This commit is contained in:
parent
ed4fe70980
commit
b86486a793
@ -4,8 +4,22 @@ SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|||||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
{%- from "qvm/template.jinja" import load -%}
|
||||||
|
|
||||||
{% if grains['nodename'] == 'dom0' -%}
|
{% if grains['nodename'] == 'dom0' -%}
|
||||||
|
|
||||||
|
{% load_yaml as defaults -%}
|
||||||
|
name: {{ slsdotpath }}
|
||||||
|
force: True
|
||||||
|
features:
|
||||||
|
- set:
|
||||||
|
- qubes-vm-update-if-stale: 4
|
||||||
|
- qubes-vm-update-max-concurrency: 4
|
||||||
|
- qubes-vm-update-restart-system: 1
|
||||||
|
- qubes-vm-update-restart-other: 0
|
||||||
|
{%- endload %}
|
||||||
|
{{ load(defaults) }}
|
||||||
|
|
||||||
"{{ slsdotpath }}-updated":
|
"{{ slsdotpath }}-updated":
|
||||||
pkg.uptodate:
|
pkg.uptodate:
|
||||||
- refresh: True
|
- refresh: True
|
||||||
|
Loading…
Reference in New Issue
Block a user