diff --git a/lib/nova b/lib/nova index 970806de31..3a4d34d85e 100644 --- a/lib/nova +++ b/lib/nova @@ -232,7 +232,7 @@ EOF LIBVIRT_DAEMON=libvirt-bin else # http://wiki.libvirt.org/page/SSHPolicyKitSetup - if ! grep ^libvirtd: /etc/group >/dev/null; then + if ! getent group libvirtd >/dev/null; then sudo groupadd libvirtd fi sudo bash -c 'cat </etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla