PVE API for qemu-guest-agent

VincentW

New Member
Aug 11, 2017
1
0
1
33
The qemu-guest-agent now support these qemu-guest-agent commands now as the below pic.
upload_2017-8-11_11-35-34.png
And I wonder that if there is a patch to support more commands like 'guest-exec', 'guest-exec-status' ?
 
root@vcloudx:/usr/share/perl5/PVE# qm agent 116 set-user-password -username test -password MTIzMTIz -crypted 0
{
"error" : {
"class" : "GenericError",
"desc" : "Invalid parameter type for 'crypted', expected: boolean"
}
}

我自己加了一个set-user-password接口,一直报这个错,不知道是什么原因?
 
root@vcloudx:/usr/share/perl5/PVE# qm agent 116 set-user-password -username test -password MTIzMTIz -crypted 0
{
"error" : {
"class" : "GenericError",
"desc" : "Invalid parameter type for 'crypted', expected: boolean"
}
}

我自己加了一个set-user-password接口,一直报这个错,不知道是什么原因?
first, please write in english

second, can you post the output of 'pveversion -v' ?
 
root@vcloudx:/usr/share/perl5/PVE# qm agent 116 set-user-password -username test -password MTIzMTIz -crypted 0
{
"error" : {
"class" : "GenericError",
"desc" : "Invalid parameter type for 'crypted', expected: boolean"
}
}

我自己加了一个set-user-password接口,一直报这个错,不知道是什么原因?
我靠,大哥你也是中国人呀,它这个必须客户机要装guest-agent才行。