]> git.proxmox.com Git - pve-container.git/commit
implement pending changes
authorOguz Bektas <o.bektas@proxmox.com>
Mon, 14 Oct 2019 08:28:51 +0000 (10:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 18:44:36 +0000 (20:44 +0200)
commit6517e00181c1afcb708b96a8071db9f077bee4ca
treeb2c6a567c1d1af12d192219a0385804550dc6939
parent60b3c5e483204010878303e35966c6836e823352
implement pending changes

previous behaviour directly applied the possible config changes, and
died when there was something which can't be applied while CT is
running.

instead, we now write all the changes directly into the config pending
section, and then apply or hotplug the changes depending on whether CT
is running. the non-hotpluggable changes are left as pending changes.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/PVE/API2/LXC/Config.pm
src/PVE/LXC/Config.pm