[PVE-User] [pve-devel] applied: [PATCH qemu-server] agent: import used check_agent_error method

lyt_yudi lyt_yudi at icloud.com
Mon Jul 30 11:54:54 CEST 2018


Hi 


> 在 2018年7月30日,下午4:43,Thomas Lamprecht <t.lamprecht at proxmox.com> 写道:
> 
>> # pvesh create nodes/localhost/qemu/131/agent/set-user-password --password test123456 --username root --crypted 0
>> Can't use string ("password") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/QemuServer/Agent.pm line 62.
> 
> Ah, yes, I found the issue and pushed a fix. Much thanks for the report.
Thanks


But with this new patch, report errors: 

> 在 2018年7月30日,下午5:05,Thomas Lamprecht <t.lamprecht at proxmox.com> 写道:
> 
> -use PVE::QemuServer::Agent qw(agent_available agent_cmd);
> +use PVE::QemuServer::Agent qw(agent_available agent_cmd check_agent_error);
> use MIME::Base64 qw(encode_base64 decode_base64);
> use JSON;

# pvesh create nodes/localhost/qemu/131/agent/set-user-password --password test123456 --username root --crypted 0
Can't use string ("password") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/QemuServer/Agent.pm line 62.





More information about the pve-user mailing list