Remove orphan bracket generated when no lvm devices are present

Change-Id: Icd91be21df8e741d77e293482128cd5612c29fc8
Closes-bug: 1624395
This commit is contained in:
Kourosh Vivan 2016-09-16 15:21:24 +02:00
parent 5653c1122b
commit 640b768e3d

View File

@ -16,7 +16,6 @@
{% if used_lvm_devices|length <= 0 %}
{# If there are no LVM devices present, allow all devices to be scanned #}
{% if used_lvm_devices.append('"a/.*/"') %}{% endif %}
}
{% else %}
{# Append 'loop.*' to the list to help with AIO deployments. #}
{% if used_lvm_devices.append('"a/loop.*/"') %}{% endif %}