From 940b8c054449c290ba6b0bf8b29f7d00a7fefbc4 Mon Sep 17 00:00:00 2001 From: lub Date: Mon, 16 Dec 2019 09:31:40 +0100 Subject: [PATCH] add ceph_ prefix to osd containers --- startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup.sh b/startup.sh index 3ec42c7..61bde14 100755 --- a/startup.sh +++ b/startup.sh @@ -14,5 +14,5 @@ done for osd_dir in /ceph/osd_*; do osd_name=$(basename "$osd_dir") osd_id=$(echo "$osd_dir" | cut -d'_' -f2) - docker run -d --rm --net=ceph --hostname "$HOSTNAME" --privileged -v /ceph/"$osd_name"/etc/ceph:/etc/ceph -v /ceph/"$osd_name"/var/lib/ceph:/var/lib/ceph -v /dev:/dev -e OSD_ID="$osd_id" --name "$osd_name" docker.io/ceph/daemon:latest-nautilus osd_ceph_volume_activate + docker run -d --rm --net=ceph --hostname "$HOSTNAME" --privileged -v /ceph/"$osd_name"/etc/ceph:/etc/ceph -v /ceph/"$osd_name"/var/lib/ceph:/var/lib/ceph -v /dev:/dev -e OSD_ID="$osd_id" --name "ceph_$osd_name" docker.io/ceph/daemon:latest-nautilus osd_ceph_volume_activate done \ No newline at end of file