mirror of https://github.com/ceph/ceph-ansible.git
iscsigw: remove `--cap-add=all` from `podman run` cmd
As of podman `2.0.5`, `--cap-add` and `--privileged` are exclusive
options.
```
Nov 30 13:56:30 magna089 podman[171677]: Error: invalid config provided: CapAdd and privileged are mutually exclusive options
```
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1902149
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d40dd764e0
)
pull/6098/head
parent
f1ae3dec72
commit
7ab606bac5
|
@ -24,7 +24,6 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm \
|
|||
--cpus={{ ceph_rbd_target_api_docker_cpu_limit }} \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
--privileged \
|
||||
--cap-add=ALL \
|
||||
--net=host \
|
||||
-v /dev:/dev \
|
||||
-v /dev/log:/dev/log \
|
||||
|
|
|
@ -24,7 +24,6 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm \
|
|||
--cpus={{ ceph_rbd_target_gw_docker_cpu_limit }} \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
--privileged \
|
||||
--cap-add=ALL \
|
||||
--net=host \
|
||||
-v /dev:/dev \
|
||||
-v /dev/log:/dev/log \
|
||||
|
|
|
@ -25,7 +25,6 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm \
|
|||
-v /etc/localtime:/etc/localtime:ro \
|
||||
--privileged \
|
||||
--net=host \
|
||||
--cap-add=ALL \
|
||||
-v /dev:/dev \
|
||||
-v /lib/modules:/lib/modules \
|
||||
-v /etc/ceph:/etc/ceph \
|
||||
|
|
Loading…
Reference in New Issue