mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 23:38:42 +00:00
clone: add command line completion for newid
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
fd13b1d0e1
commit
1ae43f8c11
@ -2472,7 +2472,9 @@ __PACKAGE__->register_method({
|
||||
properties => {
|
||||
node => get_standard_option('pve-node'),
|
||||
vmid => get_standard_option('pve-vmid', { completion => \&PVE::QemuServer::complete_vmid }),
|
||||
newid => get_standard_option('pve-vmid', { description => 'VMID for the clone.' }),
|
||||
newid => get_standard_option('pve-vmid', {
|
||||
completion => \&PVE::Cluster::complete_next_vmid,
|
||||
description => 'VMID for the clone.' }),
|
||||
name => {
|
||||
optional => 1,
|
||||
type => 'string', format => 'dns-name',
|
||||
|
Loading…
Reference in New Issue
Block a user