kolla/docker/zun/zun-compute/zun_sudoers
Hongbin Lu 0c8d3f0586 Add user 'zun' to group 'docker'
Zun compute needs to access the docker socket for API call.
The socket is owned by 'docker' group and the zun-compute process
is owned by 'zun' user. In order to allow the access, this commit
add zun user to docker group.

Change-Id: Ifa7d399242dddf8d07f8b495b344752131a0f110
2018-10-01 03:57:12 +00:00

4 lines
205 B
Plaintext

zun ALL=(root) NOPASSWD: /var/lib/kolla/venv/bin/zun-rootwrap /etc/zun/rootwrap.conf *
zun ALL=(root) NOPASSWD: /usr/sbin/groupadd --force --gid *
zun ALL=(root) NOPASSWD: /usr/sbin/usermod -aG docker zun