Prefill installer static network defaults

This commit is contained in:
Jino Jose 2026-06-25 05:39:53 +05:30
parent e7849c57d3
commit 7c609770d4

View File

@ -11,20 +11,38 @@ autoinstall:
# ── Network: stop on installer network screen ─ # ── Network: stop on installer network screen ─
# Subiquity will show the network UI and use the values below as defaults. # 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 # This keeps installer-side IP selection, but pre-fills the expected static
# installation completes. # network so console-only installs do not require retyping everything.
network: network:
network: network:
version: 2 version: 2
ethernets: ethernets:
any-en: any-en:
dhcp4: true dhcp4: false
match: match:
name: "en*" 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: any-eth:
dhcp4: true dhcp4: false
match: match:
name: "eth*" 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: LVM using ALL disk space ─────────
storage: storage: