From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 4684D61023 for ; Thu, 19 Nov 2020 10:46:35 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2898823157 for ; Thu, 19 Nov 2020 10:46:35 +0100 (CET) Received: from dev.dominic.proxmox.com (212-186-127-178.static.upcbusiness.at [212.186.127.178]) by firstgate.proxmox.com (Proxmox) with ESMTP id C4FF923127 for ; Thu, 19 Nov 2020 10:46:33 +0100 (CET) Received: by dev.dominic.proxmox.com (Postfix, from userid 0) id CCFF9211C7; Thu, 19 Nov 2020 10:46:32 +0100 (CET) From: =?UTF-8?q?Dominic=20J=C3=A4ger?= To: pve-devel@lists.proxmox.com Date: Thu, 19 Nov 2020 10:46:16 +0100 Message-Id: <20201119094620.49499-1-d.jaeger@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 AWL -0.368 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods KHOP_HELO_FCRDNS 0.399 Relay HELO differs from its IP's reverse DNS NO_DNS_FOR_FROM 0.379 Envelope sender has no MX or A DNS records SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [drive.pm, qemu.pm, qm.pm, qemuserver.pm, ovf.pm, nodes.pm, import.pm, importdisk.pm] Subject: [pve-devel] [PATCH 0/4] Importwizard X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2020 09:46:35 -0000 As I've talked with Thomas & Dominik about the current state. I cleaned up the worst chaos, but it's still very much work in progress. Nonetheless, if - you have an .ovf - and its disks somewhere on your server - and are root then you can click through the wizard and will have a VM - that actually starts - has all the disks automatically attached, converted etc. - has hostname, cores, RAM like in the .ovf so that's something, I think. Dominic Jäger (1): Move importdisk from qm to API PVE/API2/Qemu.pm | 209 ++++++++++++++++++++++++++++++++++- PVE/API2/Qemu/Import.pm | 47 ++++++++ PVE/CLI/qm.pm | 70 ++---------- PVE/QemuServer.pm | 18 ++- PVE/QemuServer/Drive.pm | 20 ++++ PVE/QemuServer/ImportDisk.pm | 85 -------------- PVE/QemuServer/Makefile | 1 - PVE/QemuServer/OVF.pm | 10 +- 8 files changed, 306 insertions(+), 154 deletions(-) create mode 100644 PVE/API2/Qemu/Import.pm delete mode 100755 PVE/QemuServer/ImportDisk.pm Dominic Jäger (3): gui: Hardware View: Add GUI for importdisk gui: Add button & cmdmenu gui: Add importdisk wizard PVE/API2/Nodes.pm | 48 +++++++++++++++++ www/manager6/Makefile | 2 + www/manager6/Workspace.js | 15 ++++++ www/manager6/form/ControllerSelector.js | 26 +++++---- www/manager6/node/CmdMenu.js | 12 +++++ www/manager6/qemu/HDEdit.js | 201 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ www/manager6/qemu/HardwareView.js | 24 +++++++++ www/manager6/qemu/ImportWizard.js | 379 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ www/manager6/qemu/MultiHDEdit.js | 267 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ www/manager6/window/Wizard.js | 153 +++++++++++++++++++++++++++++------------------------ 10 files changed, 1032 insertions(+), 95 deletions(-) -- 2.20.1