mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-29 11:15:42 +00:00
fix 'qm unlink' command syntax
It is not possible to use idlist as argument, because our getoption parser can't handle that. So we simply pass idlist as option, for example # qm unlink 100 --idlist 'ide2,ide3'
This commit is contained in:
parent
0ee6e54718
commit
213ef632af
@ -1,6 +1,8 @@
|
|||||||
qemu-server (3.1-11) unstable; urgency=low
|
qemu-server (3.1-11) unstable; urgency=low
|
||||||
|
|
||||||
* depend on pve-qemu-kvm >= 1.7-1
|
* depend on pve-qemu-kvm >= 1.7-1
|
||||||
|
|
||||||
|
* fix 'qm unlink' command syntax
|
||||||
|
|
||||||
-- Proxmox Support Team <support@proxmox.com> Tue, 03 Dec 2013 10:48:33 +0100
|
-- Proxmox Support Team <support@proxmox.com> Tue, 03 Dec 2013 10:48:33 +0100
|
||||||
|
|
||||||
|
2
qm
2
qm
@ -415,7 +415,7 @@ my $cmddef = {
|
|||||||
|
|
||||||
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 ],
|
||||||
|
|
||||||
unlink => [ "PVE::API2::Qemu", 'unlink', ['vmid', 'idlist'], { node => $nodename } ],
|
unlink => [ "PVE::API2::Qemu", 'unlink', ['vmid'], { node => $nodename } ],
|
||||||
|
|
||||||
config => [ "PVE::API2::Qemu", 'vm_config', ['vmid'],
|
config => [ "PVE::API2::Qemu", 'vm_config', ['vmid'],
|
||||||
{ node => $nodename }, sub {
|
{ node => $nodename }, sub {
|
||||||
|
Loading…
Reference in New Issue
Block a user