[pve-devel] [PATCH storage 0/1] api2: download-url: add allow-overwrite option

2023-03-06 Thread Sebastian Fleer via pve-devel
--- Begin Message --- I want to build VM-Images for Debian testing regularly in an automated fashion. Since the name of the ISO image [0] doesn't change, I'd like to overwrite the existing image with download-url. It turns out that PVE::Tools::download_file_from_url already has this functionality

[pve-devel] [PATCH storage 1/1] api2: download-url: add allow-overwrite option

2023-03-06 Thread Sebastian Fleer via pve-devel
--- Begin Message --- PVE::Tools::download_file_from_url already supports allow_overwrite, expose this option via the API. Signed-off-by: Sebastian Fleer --- PVE/API2/Storage/Status.pm | 7 +++ 1 file changed, 7 insertions(+) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status