Create policy kit configuration for KVM
sudo vi /etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla
with this content:
[libvirt Management Access]
# To grant specific user:
#Identity=unix-user:juan
# To grant using group:
Identity=unix-group:kvmuser
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes
sudo vi /etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla
with this content:
[libvirt Management Access]
# To grant specific user:
#Identity=unix-user:juan
# To grant using group:
Identity=unix-group:kvmuser
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes
Comments
Post a Comment