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

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Apr 12 16:27:04 CEST 2019


On 4/11/19 3:07 PM, Oguz Bektas wrote:
> forgot to add this while adding 'pct fstrim' parameter
> 
> Signed-off-by: Oguz Bektas <o.bektas 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 7115cae..8dcd73c 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 create disk migrate mounted rollback snapshot snapshot-delete)],
> +	enum => [qw(backup create disk fstrim migrate mounted rollback snapshot snapshot-delete)],
>      },
>      onboot => {
>  	optional => 1,
> 

applied, thanks!




More information about the pve-devel mailing list