Merge pull request #1456 from netservers/master

Apparmor on Ubuntu Xenial will not permit containers to mount devices.
pull/1080/merge
Sébastien Han 2017-04-19 14:25:41 -05:00 committed by GitHub
commit c9c65a7072
1 changed files with 3 additions and 0 deletions

View File

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