From 1920804c3cb7d2ba89f4e1cab245946039a76d10 Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Fri, 14 Dec 2018 16:15:30 +0100 Subject: [PATCH] Instead of a mapped name... we're using the actual device name now. --- cinder_storage/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder_storage/bootstrap.sh b/cinder_storage/bootstrap.sh index 831abd0..6593ac0 100755 --- a/cinder_storage/bootstrap.sh +++ b/cinder_storage/bootstrap.sh @@ -22,6 +22,6 @@ source /root/admin-openrc.sh # create a LVM physical volume and volume group. # This device should be available tpo the container -pvcreate /dev/cinder_storage_volume -vgcreate cinder-volumes /dev/cinder_storage_volume +pvcreate $CINDER_STORAGE_VOLUME +vgcreate cinder-volumes $CINDER_STORAGE_VOLUME