Merge "change libvirt sock group to nova"
This commit is contained in:
commit
ff2d0cd7aa
@ -4,7 +4,7 @@ ca_file = ""
|
||||
log_level = 2
|
||||
log_outputs = "2:file:/var/log/libvirt/libvirtd.log"
|
||||
listen_addr = "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||
unix_sock_group = "root"
|
||||
unix_sock_group = "nova"
|
||||
unix_sock_ro_perms = "0777"
|
||||
unix_sock_rw_perms = "0770"
|
||||
auth_unix_ro = "none"
|
||||
|
@ -30,8 +30,7 @@ RUN apt-get install -y --no-install-recommends \
|
||||
{% endif %}
|
||||
|
||||
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_extend_start \
|
||||
&& useradd --user-group nova
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
# TODO(coolsvap/nihilifer): Run libvirt daemon as non-root user.
|
||||
{{ include_footer }}
|
Loading…
Reference in New Issue
Block a user