From ee2ff074b18f2aa85d4d63be0dcc5c1eabec9c91 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 1 Dec 2016 07:49:30 +0100 Subject: [PATCH] qm agent: pass command as second required argument usage: qm agent --- PVE/CLI/qm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', []],