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
This commit is contained in:
Sven Anderson 2017-07-26 18:49:06 +02:00
parent e7a8f3f5bb
commit f1842f4fd9

View File

@ -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,
},
}