mirror of
https://github.com/ben-grande/qusal.git
synced 2025-11-27 09:50:37 -05:00
fix: customize sys-whonix
- autostart set to false; - lower vcpus available; - lower total memory; and - use state provided by upstream;
This commit is contained in:
parent
e2c24ec78e
commit
ed4fe70980
1 changed files with 24 additions and 2 deletions
|
|
@ -4,7 +4,29 @@ 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 -%}
|
||||||
|
|
||||||
|
{%- import slsdotpath ~ "/template.jinja" as template -%}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- whonix.clone
|
- .clone
|
||||||
- qvm.anon-whonix
|
- qvm.anon-whonix
|
||||||
- qvm.whonix-workstation-dvm
|
|
||||||
|
{% load_yaml as defaults -%}
|
||||||
|
name: sys-{{ slsdotpath }}
|
||||||
|
force: True
|
||||||
|
require:
|
||||||
|
- sls: {{ slsdotpath }}.clone
|
||||||
|
present:
|
||||||
|
- template: {{ template.whonix_gateway_template }}
|
||||||
|
- label: black
|
||||||
|
prefs:
|
||||||
|
- template: {{ template.whonix_gateway_template }}
|
||||||
|
- label: black
|
||||||
|
- memory: 300
|
||||||
|
- maxmem: 500
|
||||||
|
- vcpus: 1
|
||||||
|
- include_in_backups: False
|
||||||
|
- autostart: False
|
||||||
|
{%- endload %}
|
||||||
|
{{ load(defaults) }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue