diff options
| author | Sven Anderson <sven@redhat.com> | 2017-07-26 18:49:06 +0200 |
|---|---|---|
| committer | Sven Anderson <sven@redhat.com> | 2017-07-27 18:25:41 +0200 |
| commit | f1842f4fd9cf9c294c23438ee74971c6dc71c4ec (patch) | |
| tree | 30bcd3bb0b40b28d3323171ff270bfb6fce29429 | |
| parent | e7a8f3f5bb3e7357e42dfb5cf550fc5f97bbc11b (diff) | |
| download | kolla-f1842f4fd9cf9c294c23438ee74971c6dc71c4ec.tar.gz kolla-f1842f4fd9cf9c294c23438ee74971c6dc71c4ec.zip | |
Add libvirt group to base image
The libvirt-daemon controls socket access with the libvirt group,
which is created dynamically. If different containers would get
different GIDs for the libvirt group that would break cross-container
socket access. Because creation of only a group is not supported and
for the uids and gid to stay in sync, an unused libvirt user is
created as well.
Change-Id: Ie484a6ad1493f4b867c9577fc0beeb8b2e16c371
| -rwxr-xr-x | kolla/common/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py index 4db07efff..00c8649c7 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -927,6 +927,10 @@ USERS = { 'uid': 42472, 'gid': 42472, }, + 'libvirt-user': { + 'uid': 42473, # unused user, but we need the group for socket access + 'gid': 42473, + }, } |
