mirror of https://github.com/ceph/ceph-ansible.git
remove --rm option from docker run, since the image is already removed during pre start
Signed-off-by: Huamin Chen <hchen@redhat.com>pull/648/head
parent
a3dbfba4c0
commit
6bd8d41a39
|
@ -7,7 +7,7 @@ EnvironmentFile=/etc/environment
|
|||
ExecStartPre=-/usr/bin/docker kill %p
|
||||
ExecStartPre=-/usr/bin/docker rm %p
|
||||
ExecStartPre=/usr/bin/mkdir -p /etc/ceph /var/lib/ceph/mon
|
||||
ExecStart=/usr/bin/docker run -d --rm --name %p --net=host \
|
||||
ExecStart=/usr/bin/docker run -d --name %p --net=host \
|
||||
-v /var/lib/ceph:/var/lib/ceph \
|
||||
-v /etc/ceph:/etc/ceph \
|
||||
--privileged \
|
||||
|
|
Loading…
Reference in New Issue