mirror of https://github.com/ceph/ceph-ansible.git
commit
0e5e7dc439
|
@ -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