summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-03-30 14:11:28 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-03-30 14:11:28 +0000
commitfe7cbc686c5d52eb1f7ffd20485c977142ddaae3 (patch)
treecfe5992bf8825b369bafd68801e9f7708b29dec1
parentf8606568b23267f230af25e0ca0e759ea1ab20e2 (diff)
downloaddefinitions-fe7cbc686c5d52eb1f7ffd20485c977142ddaae3.tar.gz
Filter in the device and not in the partition
-rw-r--r--openstack/usr/share/openstack/openstack-cinder-configure-backends2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/usr/share/openstack/openstack-cinder-configure-backends b/openstack/usr/share/openstack/openstack-cinder-configure-backends
index 9b805d46..1f2c3a2a 100644
--- a/openstack/usr/share/openstack/openstack-cinder-configure-backends
+++ b/openstack/usr/share/openstack/openstack-cinder-configure-backends
@@ -19,7 +19,7 @@ set -xe
# Reconfigure LVM to scan only the devices that contain the
# cinder-volume volume group
-sed -i 's|# filter = \[ \"a\/\.\*\/\" \]|filter = \[ \"a\/sdb1\/\", \"r\/\.\*\/\" \]|' \
+sed -i 's|# filter = \[ \"a\/\.\*\/\" \]|filter = \[ \"a\/sdb\/\", \"r\/\.\*\/\" \]|' \
/etc/lvm/lvm.conf
# Create the cinder LVM type and set a volume backend name