From 640b768e3d478ae9df1ffcf556f0a28be9db1f26 Mon Sep 17 00:00:00 2001 From: Kourosh Vivan Date: Fri, 16 Sep 2016 15:21:24 +0200 Subject: [PATCH] Remove orphan bracket generated when no lvm devices are present Change-Id: Icd91be21df8e741d77e293482128cd5612c29fc8 Closes-bug: 1624395 --- templates/lvm.conf.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/lvm.conf.j2 b/templates/lvm.conf.j2 index df570b43..4d907217 100644 --- a/templates/lvm.conf.j2 +++ b/templates/lvm.conf.j2 @@ -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 %}