feat(images): support uploading local ISO/vztmpl files to node storage
Adds a local file upload path alongside the existing URL download flow: a new /images/upload endpoint streams the file to a temp path and hands it to a background worker that proxies it into Proxmox storage via the upload API (requests-toolbelt handles the large multipart stream). Also adds /images/resolve-filename to recover the real filename (Content- Disposition) for URL-based downloads with opaque paths. Raise nginx client_max_body_size and timeouts on both the frontend proxy and the standalone nginx configs so multi-GB ISOs don't get cut off.
This commit is contained in:
@@ -10,6 +10,7 @@ paramiko==3.4.1
|
||||
psutil==6.1.0
|
||||
proxmoxer==2.1.0
|
||||
requests==2.32.3
|
||||
requests-toolbelt==1.0.0
|
||||
aiofiles==24.1.0
|
||||
python-dotenv==1.0.1
|
||||
httpx==0.27.0
|
||||
|
||||
Reference in New Issue
Block a user