From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 035401FF0A7 for ; Wed, 30 Sep 2026 09:47:33 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 0265B21731; Wed, 30 Sep 2026 09:46:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dualfroz.com; s=dkim; t=1790690321; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding; bh=fY55yDEST23N29emXswLPjGALoEckkN1ptUTbhn2ITU=; b=Jam5zhSl/V3Lz5fLaMCEsD7hpKF1ZMvXgHnIJSR8x7Wh4VSvCu5Da8JonTkcdWaqcWbl3M uWvH8UXaF1lQ54kZrw8b5+lQXJeQ+uVRSXuebykXbvFbDpXjHB9a/Cq4jW0AZpp/kVnUiY e+3RYNsSEfmt2j8fGePJZRedImlcUrzc+fdm93mR0YsvUUeBiU0NaownRB8HYTYVUd5I2v JOINJAdUScHQ+2xBF+C+d/uO3A+XPevrlLpx/8SCDhWVfjX/BkUOX8fLvsV+RBF/edfv0T iknnzSy+O+AtUmNnz7m55MfDjhH5usV2v56cWAPQn4QaB+18J7+iDuvq+UpF9Q== From: Michal Fox 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 Message-ID: <20260929135840.2748665-1-me@dualfroz.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.043 Adjusted score from AWL reputation of From: address DKIM_INVALID 0.1 DKIM or DK signature exists, but is not valid DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DMARC_PASS -0.1 DMARC pass policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record X-MailFrom: me@dualfroz.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: MDNRTACBQHVCNH6UZPSO6V7PUDYUFGZU X-Message-ID-Hash: MDNRTACBQHVCNH6UZPSO6V7PUDYUFGZU X-Mailman-Approved-At: Wed, 30 Sep 2026 09:46:15 +0200 X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: .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