ansible/roles/bhyve-s6/templates/bhyve/env/DISKS.j2
Fritz Grimpen da0941bdef
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
s6 bhyve fuckstack schlimmer gemacht
2025-01-04 03:36:36 +01:00

5 lines
215 B
Django/Jinja

{% set disks = [] %}
{% for disk in item.0.disks if not disk.virtio|default(False) %}
{{- disks.append("hd:/dev/zvol/"+bhyve_pool+"/bhyve/guests/"+item.0.name+"/"+disk.name) -}}
{% endfor %}
{{ disks | join(",") }}