From: Aaron Lauterer Date: Tue, 9 Nov 2021 14:55:33 +0000 (+0100) Subject: cli: qm: change move_disk to move-disk X-Git-Url: https://git.proxmox.com/?p=qemu-server.git;a=commitdiff_plain;h=2817091d33f879de11603cd1d516d1be70745b6b cli: qm: change move_disk to move-disk also add alias to keep move_disk working. Signed-off-by: Aaron Lauterer --- diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm index 8307dc1..ef99b6d 100755 --- a/PVE/CLI/qm.pm +++ b/PVE/CLI/qm.pm @@ -910,7 +910,8 @@ our $cmddef = { resize => [ "PVE::API2::Qemu", 'resize_vm', ['vmid', 'disk', 'size'], { node => $nodename } ], - move_disk => [ "PVE::API2::Qemu", 'move_vm_disk', ['vmid', 'disk', 'storage'], { node => $nodename }, $upid_exit ], + 'move-disk' => [ "PVE::API2::Qemu", 'move_vm_disk', ['vmid', 'disk', 'storage'], { node => $nodename }, $upid_exit ], + move_disk => { alias => 'move-disk' }, unlink => [ "PVE::API2::Qemu", 'unlink', ['vmid'], { node => $nodename } ],