[pve-devel] [PATCH container] add 'mounted' as lock type for containers

Dominik Csapak d.csapak at proxmox.com
Fri Sep 7 14:58:13 CEST 2018


since 'move volume' uses such a lock, and
to satisfy the result verification while moving a volume

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 f90ac3b..d49b674 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -277,7 +277,7 @@ my $confdesc = {
 	optional => 1,
 	type => 'string',
 	description => "Lock/unlock the VM.",
-	enum => [qw(migrate backup snapshot rollback)],
+	enum => [qw(mounted migrate backup snapshot rollback)],
     },
     onboot => {
 	optional => 1,
-- 
2.11.0





More information about the pve-devel mailing list