From 7c609770d407756a917e68f13d95244b079bd274 Mon Sep 17 00:00:00 2001 From: Jino Jose Date: Thu, 25 Jun 2026 05:39:53 +0530 Subject: [PATCH] Prefill installer static network defaults --- autoinstall/user-data | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/autoinstall/user-data b/autoinstall/user-data index 003effb..e326fb1 100644 --- a/autoinstall/user-data +++ b/autoinstall/user-data @@ -11,20 +11,38 @@ autoinstall: # ── Network: stop on installer network screen ─ # Subiquity will show the network UI and use the values below as defaults. - # This lets the operator set the final static IP from the VM console before - # installation completes. + # This keeps installer-side IP selection, but pre-fills the expected static + # network so console-only installs do not require retyping everything. network: network: version: 2 ethernets: any-en: - dhcp4: true + dhcp4: false match: name: "en*" + addresses: + - 172.16.10.181/23 + routes: + - to: default + via: 172.16.10.1 + nameservers: + addresses: + - 8.8.8.8 + - 1.1.1.1 any-eth: - dhcp4: true + dhcp4: false match: name: "eth*" + addresses: + - 172.16.10.181/23 + routes: + - to: default + via: 172.16.10.1 + nameservers: + addresses: + - 8.8.8.8 + - 1.1.1.1 # ── Storage: LVM using ALL disk space ───────── storage: