[PVE-User] Can't set password with qm guest passwd

lyt_yudi lyt_yudi at icloud.com
Mon Jul 30 04:12:36 CEST 2018


Hi, 

Here use two version’s qemu-guest-agent, it can’t set up password.

1. qemu-guest-agent: "version" : "2.8.0"

# qm guest passwd 131 root 
Enter new password: **********
Retype new password: **********
Use of inherited AUTOLOAD for non-method PVE::API2::Qemu::Agent::agent_cmd() is deprecated at /usr/share/perl5/PVE/API2/Qemu/Agent.pm line 255.
Can't locate object method "map_method_by_name" via package "131" (perhaps you forgot to load "131"?) at /usr/share/perl5/PVE/RESTHandler.pm line 326.

2. qemu-guest-agent: "version" : "2.11.1"

# qm guest passwd 123 root
Enter new password: **********
Retype new password: **********
Use of inherited AUTOLOAD for non-method PVE::API2::Qemu::Agent::agent_cmd() is deprecated at /usr/share/perl5/PVE/API2/Qemu/Agent.pm line 255.
Can't locate object method "map_method_by_name" via package "123" (perhaps you forgot to load "123"?) at /usr/share/perl5/PVE/RESTHandler.pm line 326.

Are there any related examples?

Did anyone succeed?

Thanks!




More information about the pve-user mailing list