Merge "Ensure correct polkit config written for RHEL6"
This commit is contained in:
commit
b240ad472b
2
lib/nova
2
lib/nova
@ -297,7 +297,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
if is_fedora || is_suse; then
|
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
|
sudo bash -c 'cat <<EOF >/etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla
|
||||||
[libvirt Management Access]
|
[libvirt Management Access]
|
||||||
Identity=unix-group:libvirtd
|
Identity=unix-group:libvirtd
|
||||||
|
Loading…
Reference in New Issue
Block a user