Skip to content

Commit

Permalink
also add user "user" to group "libvirt"
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Oct 1, 2014
1 parent 82beb10 commit 9922ffe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions debian/usability-misc.postinst
Expand Up @@ -44,10 +44,14 @@ case "$1" in
fi
## }} Taken from /var/lib/dpkg/info/qemu-system-common.postinst.

addgroup user kvm >/dev/null
## {{ Taken from libvirt-bin.postinst.
if ! getent group libvirt >/dev/null; then
addgroup --system libvirt
fi
## }} Taken from libvirt-bin.postinst.

## TODO: Necessary?
#addgroup user libvirt >/dev/null
addgroup user kvm >/dev/null
addgroup user libvirt >/dev/null

true "INFO: End configuring $DPKG_MAINTSCRIPT_PACKAGE."

Expand Down

0 comments on commit 9922ffe

Please sign in to comment.