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

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Sep 7 15:04:53 CEST 2018


On 9/7/18 2:58 PM, Dominik Csapak wrote:
> 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,
> 

applied, thanks!

as a note `pct mount 1421` uses it too,was easy to test with:
pct stop 1421 # just to be sure
pct mount 1421
pct config 1421



More information about the pve-devel mailing list