Fixes selinux relabeling issue for nfs container

Signed-off-by: Teoman ONAY <tonay@ibm.com>
rhcs-5.3
Teoman ONAY 2023-03-02 23:01:48 +01:00 committed by Teoman ONAY
parent af9a807393
commit 79af63895b
1 changed files with 5 additions and 0 deletions

View File

@ -23,7 +23,12 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm --net=host \
-d --log-driver journald --conmon-pidfile /%t/%n-pid --cidfile /%t/%n-cid \
{% endif %}
--pids-limit={{ 0 if container_binary == 'podman' else -1 }} \
<<<<<<< HEAD
-v /var/lib/ceph:/var/lib/ceph:z \
=======
--security-opt label=disable \
-v /var/lib/ceph/bootstrap-rgw/:/var/lib/ceph/bootstrap-rgw:z \
>>>>>>> c1b541f69 (Fixes selinux relabeling issue for nfs container)
-v /etc/ceph:/etc/ceph:z \
-v /var/lib/nfs/ganesha:/var/lib/nfs/ganesha:z \
-v /etc/ganesha:/etc/ganesha:z \