[pve-devel] [PATCH v5 container 0/4] post_clone_hook for containers

Oguz Bektas o.bektas at proxmox.com
Thu Jun 17 12:51:57 CEST 2021


add post clone hook, and fix #3443 to clear machine-id for cloned
containers


v4->v5:
* split patches for easy review/backport
* also lock when moving config to target node
* move create_and_lock_config outside the eval, this should be checked
before the other ones


Oguz Bektas (4):
  setup: add post_clone_hook for containers
  clone_vm: improve config locking
  run post_clone_hook in clone_vm API
  clone_vm: fix minor typo in error message

 src/PVE/API2/LXC.pm       | 55 +++++++++++++++++++++++++++------------
 src/PVE/LXC/Setup.pm      | 12 +++++++++
 src/PVE/LXC/Setup/Base.pm | 31 ++++++++++++++++++++++
 3 files changed, 81 insertions(+), 17 deletions(-)

-- 
2.20.1






More information about the pve-devel mailing list