File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22# List of pools to define and start.
33# Each item should be a dict containing the following items:
44# name: The name of the pool.
5- # type: The type of the pool, currently only 'dir' is supported.
5+ # type: The type of the pool, currently only 'dir', 'lvm2' or 'zfs' are supported.
66# capacity: The capacity, in bytes, of the pool.
77# path: The absolute path to the pool's backing directory.
88# mode: The access mode of the pool.
Original file line number Diff line number Diff line change 33 {% if 'capacity' in item %}
44 <capacity >{{ item.capacity }}</capacity >
55 {% endif %}
6- {% if item .type == 'lvm2' %}
6+ {% if item .type == 'lvm2' or item . type == 'zfs' %}
77 <source >
88 <name >{{ item.source }}</name >
9+ {% if item .type == 'lvm2' %}
910 <format type =' lvm2' />
11+ {% endif %}
1012 </source >
1113 {% endif %}
14+ {% if item .type != 'zfs' %}
1215 <target >
1316 <path >{{ item.path | default('placeholder_value') }}</path >
1417 </target >
18+ {% endif %}
1519</pool >
You can’t perform that action at this time.
0 commit comments