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

Dominik Csapak d.csapak at proxmox.com
Thu Apr 11 09:16:52 CEST 2019


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





More information about the pve-devel mailing list