pve-installer/proxmox-installer-common
Christoph Heiss ec5096be3d common: options: use more sensible fallback values for network options
When no DHCP server is configured on the network and/or no DHCP lease
is received, the auto-installer falls back to Ipv4Addr::UNSPECIFIED -
which resolves to `0.0.0.0/0` - for the interface address, gateway and
DNS server. This is then written to /etc/network/interfaces and could
cause further issues after the installation.

At the same time, this also means that no interface name will be set,
which causes the low-level installer to write out an invalid
/etc/network/interfaces entry.

Reported-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Link: https://lore.proxmox.com/20250407154810.1565150-1-c.heiss@proxmox.com
2025-04-07 18:00:20 +02:00
..
src common: options: use more sensible fallback values for network options 2025-04-07 18:00:20 +02:00
Cargo.toml tui, common: move network option tests to correct crate 2025-04-04 17:17:35 +02:00