[ceph] fix block device permissions

This commit is contained in:
Nico Schottelius 2020-10-01 23:20:49 +02:00
parent 7b776e48a0
commit f30413d834

View file

@ -85,6 +85,9 @@ touch "$mountpath/sysvinit"
ceph-osd --cluster ceph -i "${osd_id}" --mkfs
chown -R ceph:ceph "$mountpath"
# Also allow access to the blockdevices - via symlink
chown ceph:ceph "${mountpath}/block"
if [ $# -eq 1 ]; then
WEIGHT=$1; shift
else