mirror of https://github.com/ceph/ceph-ansible.git
osd: add cluster name support
I forgot to add cluster name support so some partition were never mounted correctly. Signed-off-by: Sébastien Han <seb@redhat.com>pull/1971/head
parent
0da6d8e356
commit
46a01df434
|
@ -8,7 +8,7 @@
|
|||
|
||||
|
||||
function expose_partitions () {
|
||||
DOCKER_ENV=$(docker run --name expose_partitions_${1} --privileged=true -v /dev/:/dev/ -v /etc/ceph:/etc/ceph -e OSD_DEVICE=/dev/${1} {{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }} disk_list)
|
||||
DOCKER_ENV=$(docker run --name expose_partitions_${1} --privileged=true -v /dev/:/dev/ -v /etc/ceph:/etc/ceph -e CLUSTER={{ cluster }} -e OSD_DEVICE=/dev/${1} {{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }} disk_list)
|
||||
docker rm -f expose_partitions_${1}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue