On 10/24/19 3:58 PM, Oguz Bektas wrote:
> lock option needs to be fastpluggable when modifying with 'pct set'.
> otherwise it registers as a pending change.
> 
possible stupid question ahead: do I want to be able to set/clear a
lock at all with pct set??

Same for qm, I'd guess. But it works there, soo..? IMO a bit strange,
to say the least ^^

> Signed-off-by: Oguz Bektas <o.bek...@proxmox.com>
> ---
>  src/PVE/LXC/Config.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
> index b744d4f..d624b0b 100644
> --- a/src/PVE/LXC/Config.pm
> +++ b/src/PVE/LXC/Config.pm
> @@ -1106,6 +1106,7 @@ my $LXC_FASTPLUG_OPTIONS= {
>      'hookscript' => 1,
>      'cores' => 1,
>      'tags' => 1,
> +    'lock' => 1,
>  };
>  
>  sub vmconfig_hotplug_pending {
> 

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to