diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm index 6abf6dbc..c13ff4ca 100755 --- a/PVE/CLI/qm.pm +++ b/PVE/CLI/qm.pm @@ -553,7 +553,7 @@ our $cmddef = { monitor => [ __PACKAGE__, 'monitor', ['vmid']], - agent => [ "PVE::API2::Qemu", 'agent', ['vmid'], + agent => [ "PVE::API2::Qemu", 'agent', ['vmid', 'command'], { node => $nodename }, $print_agent_result ], mtunnel => [ __PACKAGE__, 'mtunnel', []],