[pve-devel] applied: [PATCH container] add create lock to enum

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 11 09:23:13 CEST 2019


On 4/11/19 9:16 AM, Dominik Csapak wrote:
> we use that lock on create/restoration
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/PVE/LXC/Config.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
> index 07ae3bf..7115cae 100644
> --- a/src/PVE/LXC/Config.pm
> +++ b/src/PVE/LXC/Config.pm
> @@ -314,7 +314,7 @@ my $confdesc = {
>  	optional => 1,
>  	type => 'string',
>  	description => "Lock/unlock the VM.",
> -	enum => [qw(backup disk migrate mounted rollback snapshot snapshot-delete)],
> +	enum => [qw(backup create disk migrate mounted rollback snapshot snapshot-delete)],
>      },
>      onboot => {
>  	optional => 1,
> 

applied, thanks!




More information about the pve-devel mailing list