|
|
@ -17,8 +17,8 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
#manually bring up osd
|
|
|
|
#manually bring up osd
|
|
|
|
for osd_dir in /ceph/osd_*; do
|
|
|
|
for osd_dir in /ceph/osd_*; do
|
|
|
|
osd_name=$(basename "$osd_name")
|
|
|
|
osd_name=$(basename "$osd_dir")
|
|
|
|
osd_id=$(echo "$osd_dir" | cut -d'_' -f2)
|
|
|
|
osd_id=$(echo "$osd_name" | cut -d'_' -f2)
|
|
|
|
|
|
|
|
|
|
|
|
#create temporary docker-compose.yml
|
|
|
|
#create temporary docker-compose.yml
|
|
|
|
sed "s/%OSD_ID%/$osd_id/g" > docker-compose.yml
|
|
|
|
sed "s/%OSD_ID%/$osd_id/g" > docker-compose.yml
|
|
|
|