From f38c5e270f5db71673242fc3939b76d9c25093ed Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 30 Nov 2016 12:47:03 +0100 Subject: [PATCH] qm agent: add command line completion for vmid --- PVE/API2/Qemu.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 500e2df8..2358aee0 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -2854,7 +2854,8 @@ __PACKAGE__->register_method({ additionalProperties => 0, properties => { node => get_standard_option('pve-node'), - vmid => get_standard_option('pve-vmid'), + vmid => get_standard_option('pve-vmid', { + completion => \&PVE::QemuServer::complete_vmid_running }), command => { type => 'string', description => "The QGA command.",