mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 21:01:25 +00:00
qm: move 'agent' command into 'guest' comand group
with a backwards compatible alias Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
34e4c0aa6c
commit
bf744e94f3
@ -884,10 +884,10 @@ our $cmddef = {
|
||||
|
||||
monitor => [ __PACKAGE__, 'monitor', ['vmid']],
|
||||
|
||||
agent => [ "PVE::API2::Qemu::Agent", 'agent', ['vmid', 'command'],
|
||||
{ node => $nodename }, $print_agent_result ],
|
||||
agent => { alias => 'guest cmd' },
|
||||
|
||||
guest => {
|
||||
cmd => [ "PVE::API2::Qemu::Agent", 'agent', ['vmid', 'command'], { node => $nodename }, $print_agent_result ],
|
||||
passwd => [ "PVE::API2::Qemu::Agent", 'set-user-password', [ 'vmid', 'username' ], { node => $nodename }],
|
||||
exec => [ __PACKAGE__, 'exec', [ 'vmid', 'extra-args' ], { node => $nodename }, $print_agent_result],
|
||||
'exec-status' => [ "PVE::API2::Qemu::Agent", 'exec-status', [ 'vmid', 'pid' ], { node => $nodename }, $print_agent_result],
|
||||
|
Loading…
Reference in New Issue
Block a user