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

6 lines
181 B
Text
Raw Normal View History

2020-09-13 20:52:49 -05:00
{% set disks = [] %}
{% for disk in item.0.disks %}
{{- disks.append("hd:/dev/zvol/"+bhyve_pool+"/bhyve/guests/"+item.0.name+"/"+disk.name) -}}
{% endfor %}
{{ disks | join(",") }}