Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- src/PVE/LXC.pm | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 0e584f6..4b34bca 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -162,6 +162,11 @@ our $vmstatus_return_properties = { type => 'number', optional => 1, }, + lock => { + description => "The current lock, if any.", + type => 'string', + optional => 1, + } }; sub vmstatus { @@ -231,6 +236,7 @@ sub vmstatus { $d->{diskwrite} = 0; $d->{template} = PVE::LXC::Config->is_template($conf); + $d->{lock} = $conf->{lock} if $conf->{lock}; } foreach my $vmid (keys %$list) { -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel