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

Oguz Bektas o.bektas at proxmox.com
Thu Apr 11 15:07:49 CEST 2019


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,
-- 
2.11.0





More information about the pve-devel mailing list