From: Christoph Heiss <c.heiss@proxmox.com>
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 [thread overview]
Message-ID: <20260511155753.1623099-4-c.heiss@proxmox.com> (raw)
In-Reply-To: <20260511155753.1623099-1-c.heiss@proxmox.com>
It was only used when pinning network interfaces.
No functional changes.
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
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
next prev parent reply other threads:[~2026-05-11 15:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 15:57 [PATCH installer v2 0/9] add IPv6 SLAAC and v6-only support Christoph Heiss
2026-05-11 15:57 ` [PATCH installer v2 1/9] install: drop trivial fromjs() wrapper and use JSON::from_json() Christoph Heiss
2026-05-11 15:57 ` [PATCH installer v2 2/9] install: move network subroutines to Proxmox::Sys::Net Christoph Heiss
2026-05-11 15:57 ` Christoph Heiss [this message]
2026-05-11 15:57 ` [PATCH installer v2 4/9] gui: use run_env->{network} instead of old run_env->{ipconf} Christoph Heiss
2026-05-11 15:57 ` [PATCH installer v2 5/9] sys: net: drop the now-unused `ipconf` runtime environment configuration Christoph Heiss
2026-05-11 15:57 ` [PATCH installer v2 6/9] sys: net: allow up to /128 netmask for IPv6 Christoph Heiss
2026-05-11 15:57 ` [PATCH RFC installer v2 7/9] sys: net: ignore ipv6 nameservers with zone identifiers Christoph Heiss
2026-05-11 15:57 ` [PATCH installer v2 8/9] common: options: rework network address setup to handle ipv6-only Christoph Heiss
2026-05-11 15:57 ` [PATCH installer v2 9/9] unconfigured: try to retrieve IPv6 SLAAC addresses on startup Christoph Heiss
2026-05-12 2:46 ` applied: [PATCH installer v2 0/9] add IPv6 SLAAC and v6-only support Thomas Lamprecht
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=20260511155753.1623099-4-c.heiss@proxmox.com \
--to=c.heiss@proxmox.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