Skip to content

Commit 1ccf881

Browse files
committed
modify lvm pool 'logical' keyword
1 parent 788d2a5 commit 1ccf881

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/pool.xml.j2

Lines changed: 5 additions & 1 deletion
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>
@@ -7,7 +11,7 @@
711
<source>
812
<name>{{ item.source }}</name>
913
{% if item.type == 'lvm2' %}
10-
<format type='logical'/>
14+
<format type='lvm2'/>
1115
{% endif %}
1216
</source>
1317
{% endif %}

0 commit comments

Comments
 (0)