we have a 1:1 copy of that code in pve-manager's PVE::API2::Scan, which we can avoid by using a common module form pvesm CLI and the API. This is the first basic step of dropping the code duplication in pve-manager. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>