0c8d3f0586
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
4 lines
205 B
Plaintext
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
|