some patches cleaning this up some more - use existing helpers where applicable - define new helpers for repeated code - fix lock scoping - correctly handle FW config and improve error handling
requires the series to be applied first ;) Fabian Grünbichler (6): clone_vm: use move_config_to_node clone_vm: use destroy_config instead of manual unlink clone_vm: reduce source flock scope clone_vm: move linked clone check in eval clone_vm: refactor locking further clone_vm: rework firewall config cloning src/PVE/API2/LXC.pm | 237 ++++++++++++++++++++++++-------------------- 1 file changed, 128 insertions(+), 109 deletions(-) -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel