[pve-devel] [PATCH container] add 'lock' as a fastplug option
Oguz Bektas
o.bektas at proxmox.com
Thu Oct 24 15:58:56 CEST 2019
lock option needs to be fastpluggable when modifying with 'pct set'.
otherwise it registers as a pending change.
Signed-off-by: Oguz Bektas <o.bektas at 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 {
--
2.20.1
More information about the pve-devel
mailing list