Merge "Revert "Remove priviledged mode for nova-api""

This commit is contained in:
Jenkins 2017-09-08 00:52:02 +00:00 committed by Gerrit Code Review
commit b1b501cc08
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ nova_services:
group: "nova-api" group: "nova-api"
image: "{{ nova_api_image_full }}" image: "{{ nova_api_image_full }}"
enabled: True enabled: True
privileged: True
volumes: volumes:
- "{{ node_config_directory }}/nova-api/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/nova-api/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"

View File

@ -85,6 +85,7 @@
common_options: "{{ docker_common_options }}" common_options: "{{ docker_common_options }}"
name: "{{ service.container_name }}" name: "{{ service.container_name }}"
image: "{{ service.image }}" image: "{{ service.image }}"
privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when: when:
- action != "config" - action != "config"