From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id C11221FF133 for ; Mon, 11 May 2026 17:59:09 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CCB8A1FC34; Mon, 11 May 2026 17:58:52 +0200 (CEST) From: Christoph Heiss To: pve-devel@lists.proxmox.com Subject: [PATCH installer v2 3/9] install: use run_env->{network} instead of old run_env->{ipconf} Date: Mon, 11 May 2026 17:57:45 +0200 Message-ID: <20260511155753.1623099-4-c.heiss@proxmox.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260511155753.1623099-1-c.heiss@proxmox.com> References: <20260511155753.1623099-1-c.heiss@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778514983458 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.076 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: UJDWSBDCQIC734OTDG5WTIT755TX6JPG X-Message-ID-Hash: UJDWSBDCQIC734OTDG5WTIT755TX6JPG X-MailFrom: c.heiss@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: It was only used when pinning network interfaces. No functional changes. Signed-off-by: Christoph Heiss --- Changes v1 -> v2: * new patch Proxmox/Install.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm index cb2b1cd..3c326b1 100644 --- a/Proxmox/Install.pm +++ b/Proxmox/Install.pm @@ -1183,9 +1183,9 @@ sub extract_data { . "\tgateway $gateway\n"; } - my $ipconf = $run_env->{ipconf}; - foreach my $iface (sort keys %{ $ipconf->{ifaces} }) { - my $if = $ipconf->{ifaces}->{$iface}; + my $interfaces = $run_env->{network}->{interfaces}; + foreach my $iface (sort keys $interfaces->%*) { + my $if = $interfaces->{$iface}; my $name = defined($netif_pin_map) ? $netif_pin_map->{ $if->{mac} } : $if->{name}; next if $name eq $ethdev; -- 2.53.0