From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 34B2A1FF15E for ; Fri, 18 Oct 2024 13:59:31 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C3ABA31911; Fri, 18 Oct 2024 13:59:53 +0200 (CEST) From: Christoph Heiss To: pve-devel@lists.proxmox.com Date: Fri, 18 Oct 2024 13:59:36 +0200 Message-ID: <20241018115943.813243-1-c.heiss@proxmox.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.030 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches 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. [main.rs, proxmox.com, utils.rs, partition.rs] Subject: [pve-devel] [PATCH installer 0/4] auto-install-assistant: allow specifying 'fetch-from' partition label 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: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" This series allow specifying the partition label the `proxmox-fetch-answer` tool will search when trying to retrieve an answer file in the 'partition' fetch mode. This has been requested by at least one user one user [0] and definitely makes sense, esp. for BMCs/IPMIs where one might not be able to control the partition label. Patch #1 implements the new CLI parameter in the `proxmox-auto-install-assistant` tool, patch #4 then integrates it into the `proxmox-fetch-answer` itself. Patch #2 is just a small (but needed) refactor of the CLI parsing code. Patch #3 implements also searching for the partition label in the exact case it was specified by the user. This is something I stumbled over while testing it - see the patch itself for some more information. [0] https://forum.proxmox.com/threads/proxmox-ais-question-request.153043/post-695689 Christoph Heiss (4): auto-install-assistant: add new parameter to specify partition label fetch-answer: refactor cli argument parsing fetch-answer: partition: also search for exact-matching partition label fetch-answer: use partition label from fetch config instead of hardcoded proxmox-auto-install-assistant/src/main.rs | 13 ++++- proxmox-auto-installer/src/utils.rs | 1 + .../src/fetch_plugins/partition.rs | 29 ++++++---- proxmox-fetch-answer/src/main.rs | 58 ++++++++++++++----- 4 files changed, 76 insertions(+), 25 deletions(-) -- 2.46.0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel