mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: do not relabel /run/udev in containerized context
Otherwise content in /run/udev is mislabeled and prevent some services like NetworkManager from starting. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/4025/head
parent
a78fb209b1
commit
80875adba7
|
@ -36,7 +36,7 @@ numactl \
|
||||||
-v /var/lib/ceph:/var/lib/ceph:z \
|
-v /var/lib/ceph:/var/lib/ceph:z \
|
||||||
-v /etc/ceph:/etc/ceph:z \
|
-v /etc/ceph:/etc/ceph:z \
|
||||||
-v /var/run/ceph:/var/run/ceph:z \
|
-v /var/run/ceph:/var/run/ceph:z \
|
||||||
-v /var/run/udev/:/var/run/udev/:z \
|
-v /var/run/udev/:/var/run/udev/ \
|
||||||
{% if ansible_distribution == 'Ubuntu' -%}
|
{% if ansible_distribution == 'Ubuntu' -%}
|
||||||
--security-opt apparmor:unconfined \
|
--security-opt apparmor:unconfined \
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
Loading…
Reference in New Issue