Change-Id: Ia181f41ae122dc5e5d3d33633dfd1d0e7420f8a9
| ... | ... |
@@ -232,7 +232,7 @@ EOF |
| 232 | 232 |
LIBVIRT_DAEMON=libvirt-bin |
| 233 | 233 |
else |
| 234 | 234 |
# http://wiki.libvirt.org/page/SSHPolicyKitSetup |
| 235 |
- if ! grep ^libvirtd: /etc/group >/dev/null; then |
|
| 235 |
+ if ! getent group libvirtd >/dev/null; then |
|
| 236 | 236 |
sudo groupadd libvirtd |
| 237 | 237 |
fi |
| 238 | 238 |
sudo bash -c 'cat <<EOF >/etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla |