Skip to content

Commit fd15189

Browse files
committed
use logical instead of lvm2 for pool type inside xml template as per https://libvirt.org/storage.html#StorageBackendLogical
1 parent bd200cb commit fd15189

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/pool.xml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
{% if item.type == 'lvm2' %}
2+
<pool type='logical'>
3+
{% else %}
14
<pool type='{{ item.type }}'>
5+
{% endif %}
26
<name>{{ item.name }}</name>
37
{% if 'capacity' in item %}
48
<capacity>{{ item.capacity }}</capacity>

0 commit comments

Comments
 (0)