PVE API for qemu-guest-agent

VincentW

New Member
Aug 11, 2017
1
0
1
32
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才行。
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!