mirror of https://github.com/ceph/ceph-ansible.git
Apparmor on Ubuntu Xenial will not permit containers to mount devices, even with CAP SYS_ADMIN.
parent
e8e4245e43
commit
f1388dc2c2
|
@ -24,6 +24,9 @@ fi
|
||||||
--rm \
|
--rm \
|
||||||
--net=host \
|
--net=host \
|
||||||
--cap-add SYS_ADMIN \
|
--cap-add SYS_ADMIN \
|
||||||
|
{% if ansible_distribution == 'Ubuntu' -%}
|
||||||
|
--security-opt apparmor:unconfined \
|
||||||
|
{% endif -%}
|
||||||
--pid=host \
|
--pid=host \
|
||||||
{% if not osd_containerized_deployment_with_kv -%}
|
{% if not osd_containerized_deployment_with_kv -%}
|
||||||
-v /var/lib/ceph:/var/lib/ceph \
|
-v /var/lib/ceph:/var/lib/ceph \
|
||||||
|
|
Loading…
Reference in New Issue