public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Michal Fox <me@dualfroz.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager 0/2] fix #8015: ui: let the user choose the .img image format for import
Date: Tue, 29 Sep 2026 15:58:38 +0200	[thread overview]
Message-ID: <20260929135840.2748665-1-me@dualfroz.com> (raw)

.img files uploaded or downloaded as import content always got '.raw'
appended, so qcow2 images with that extension, like the Ubuntu cloud
images, were imported as raw disks and did not boot (#8015). as Fiona
suggested in the bug, the user now selects the format explicitly: a
format selector shows up for .img files and its extension is appended
instead. the upload/download stays disabled until a format is chosen.

tested with the built pvemanagerlib.js in a browser for both windows:
a .img file shows the selector and gets .qcow2 or .raw appended
depending on the choice, other extensions do not show it.

Michal Fox (2):
  fix #8015: ui: upload: let the user choose the .img image format
  fix #8015: ui: download url: let the user choose the .img image format

 www/manager6/window/DownloadUrlToStorage.js | 32 +++++++++++++--
 www/manager6/window/UploadToStorage.js      | 45 +++++++++++++++------
 2 files changed, 62 insertions(+), 15 deletions(-)

-- 
2.43.0




             reply	other threads:[~2026-09-30  7:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29 13:58 Michal Fox [this message]
2026-09-29 13:58 ` [PATCH manager 1/2] fix #8015: ui: upload: let the user choose the .img image format Michal Fox
2026-09-29 13:58 ` [PATCH manager 2/2] fix #8015: ui: download url: " Michal Fox
2026-09-30 10:27 ` applied: [PATCH manager 0/2] fix #8015: ui: let the user choose the .img image format for import Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260929135840.2748665-1-me@dualfroz.com \
    --to=me@dualfroz.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal