baaeedd60ac5ad1bc1f621dcad4fa1b865077b88
When uploading a '.img' file as import content, '.raw' is appended to the file name, so the image is always treated as a raw image. But the '.img' extension is also commonly used for other formats, for example the Ubuntu cloud images are qcow2 images. Such an image is then imported as raw disk, which results in a disk with the size of the qcow2 file and a guest that does not boot. The format cannot be derived from the '.img' extension, so show a format selector for such files and only append the extension of the selected format to the file name. The upload stays disabled until a format is selected, so the choice is always an explicit one. Signed-off-by: Michal Fox <me@dualfroz.com> Link: https://lore.proxmox.com/20260929135840.2748665-2-me@dualfroz.com
Description
My contributions to proxmox-git/pve-manager: 31 commits
206 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
64.8%
Perl
34.9%
Makefile
0.3%