fix swap/mount section name when type = swap
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
@@ -6,7 +6,7 @@ Description=Auto mount for {{ (item.where | default(item.what)).strip('/') | rep
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
[Mount]
|
[{{ (item.type == 'swap') | ternary('Swap', 'Mount') }}]
|
||||||
What={{ item.what }}
|
What={{ item.what }}
|
||||||
{% if item.type == 'swap' %}
|
{% if item.type == 'swap' %}
|
||||||
Priority={{ item.priority | default(0) }}
|
Priority={{ item.priority | default(0) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user