Commit 4e0c2ee
committed
cidata: skip set-name for slirp NIC to fix ubuntu-26.04 first-boot delay
On ubuntu-26.04 (and similar), systemd-networkd-wait-online is configured
by netplan to wait for the renamed interface (eth0) before it exists. On
first boot the NIC is still enp0s1 — the udev rename hasn't happened yet —
causing a 120s timeout.
Skipping set-name for the built-in slirp NIC leaves the interface under its
kernel-assigned predictable name, so systemd-networkd-wait-online no longer
waits for eth0 and boot completes immediately. set-name is preserved for
any user-configured extra NICs.
Fixes: #47921 parent 2d4314e commit 4e0c2ee
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments