FYI:
To execute
!oneadmin@kvmhost1:~> virsh -c qemu:///system nodeinfo
On a SLES11 SP2 system the following needed to be added to the Policy (sh.t)
/etc/PolicyKit/PolicyKit.conf between the <config> tags to be able to run:
...
<match user="oneadmin">
<return result="yes"/>
</match>
...
Example:
$ cat /etc/PolicyKit/PolicyKit.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match user="oneadmin">
<return result="yes"/>
</match>
</config>
...........................................
Cheers
Hajo
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org