init-ceph: default osd_data path

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2012-12-22 11:10:03 -08:00
parent 6325a4800d
commit 5f25f9f8cf

View File

@ -221,7 +221,7 @@ for name in $what; do
cmd="$cmd -c $cur_conf"
if echo $name | grep -q ^osd; then
get_conf osd_data "" "osd data"
get_conf osd_data "/var/lib/ceph/osd/ceph-$id" "osd data"
get_conf fs_path "$osd_data" "fs path" # mount point defaults so osd data
get_conf fs_devs "" "devs"
if [ -z "$fs_devs" ]; then