same as 'qm pending', the code is shared via GuestHelpers Signed-off-by: Oguz Bektas <o.bek...@proxmox.com> --- src/PVE/CLI/pct.pm | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm index 35ad72f..476f44d 100755 --- a/src/PVE/CLI/pct.pm +++ b/src/PVE/CLI/pct.pm @@ -7,6 +7,7 @@ use POSIX; use Fcntl; use File::Copy 'copy'; +use PVE::GuestHelpers; use PVE::SafeSyslog; use PVE::Tools qw(extract_param); use PVE::CpuSet; @@ -821,6 +822,8 @@ our $cmddef = { } } }], + + pending => [ "PVE::API2::LXC", "vm_pending", ['vmid'], { node => $nodename }, \&PVE::GuestHelpers::format_pending ], set => [ 'PVE::API2::LXC::Config', 'update_vm', ['vmid'], { node => $nodename }], resize => [ "PVE::API2::LXC", 'resize_vm', ['vmid', 'disk', 'size'], { node => $nodename } ], -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel