|
|
@ -21,7 +21,7 @@ for osd_dir in /ceph/osd_*; do
|
|
|
|
osd_id=$(echo "$osd_name" | 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" osd/docker-compose.yml > docker-compose.yml
|
|
|
|
|
|
|
|
|
|
|
|
HOSTNAME="$HOSTNAME" docker-compose up -d
|
|
|
|
HOSTNAME="$HOSTNAME" docker-compose up -d
|
|
|
|
|
|
|
|
|
|
|
|