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 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel