ceph: Allow to change the image path
If we want to put the disk image into a tmpfs, changing CEPH_DATA_DIR won't work because some file operation needed by ceph are not allowed on tmpfs. So, this change allows to change the disk image path only instead of the whole CEPH_DATA_DIR. Change-Id: If92f0bdca16f866a475820cf71a30ded28fb2572
This commit is contained in:
parent
65ab7713f7
commit
b53a074536
@ -31,7 +31,7 @@ CEPH_RELEASE=${CEPH_RELEASE:-hammer}
|
||||
# Set ``CEPH_DATA_DIR`` to the location of Ceph drives and objects.
|
||||
# Default is the common DevStack data directory.
|
||||
CEPH_DATA_DIR=${CEPH_DATA_DIR:-/var/lib/ceph}
|
||||
CEPH_DISK_IMAGE=${CEPH_DATA_DIR}/drives/images/ceph.img
|
||||
CEPH_DISK_IMAGE=${CEPH_DISK_IMAGE:-${CEPH_DATA_DIR}/drives/images/ceph.img}
|
||||
|
||||
# Set ``CEPH_CONF_DIR`` to the location of the configuration files.
|
||||
# Default is ``/etc/ceph``.
|
||||
|
Loading…
x
Reference in New Issue
Block a user