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>
pull/6096/head
Guillaume Abrioux 2020-11-30 14:55:16 +01:00 committed by Dimitri Savineau
parent c68b124ba8
commit d40dd764e0
3 changed files with 0 additions and 3 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \