Merge "Ensure correct polkit config written for RHEL6"

This commit is contained in:
Jenkins 2013-05-05 13:03:26 +00:00 committed by Gerrit Code Review
commit b240ad472b

View File

@ -297,7 +297,7 @@ EOF
if is_fedora || is_suse; then
if is_fedora && [[ "$os_RELEASE" -le "17" ]]; then
if is_fedora && [[ $DISTRO =~ (rhel6) || "$os_RELEASE" -le "17" ]]; then
sudo bash -c 'cat <<EOF >/etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla
[libvirt Management Access]
Identity=unix-group:libvirtd