ansible/roles/bhyve-s6/templates/bhyve/env/DISKS.j2

6 lines
215 B
Plaintext
Raw Normal View History

2020-09-14 03:52:49 +02:00
{% set disks = [] %}
2025-01-04 03:36:17 +01:00
{% for disk in item.0.disks if not disk.virtio|default(False) %}
2020-09-14 03:52:49 +02:00
{{- disks.append("hd:/dev/zvol/"+bhyve_pool+"/bhyve/guests/"+item.0.name+"/"+disk.name) -}}
{% endfor %}
{{ disks | join(",") }}