lyt_yudi
2018-07-30 02:12:36 UTC
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!
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!