Browse code

Merge "Ensure correct polkit config written for RHEL6"

Jenkins authored on 2013/05/05 22:03:26
Showing 1 changed files
... ...
@@ -297,7 +297,7 @@ EOF
297 297
 
298 298
 
299 299
         if is_fedora || is_suse; then
300
-            if is_fedora && [[ "$os_RELEASE" -le "17" ]]; then
300
+            if is_fedora && [[  $DISTRO =~ (rhel6) || "$os_RELEASE" -le "17" ]]; then
301 301
                 sudo bash -c 'cat <<EOF >/etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla
302 302
 [libvirt Management Access]
303 303
 Identity=unix-group:libvirtd