Commit c719ef8
committed
cidata: mark slirp NIC as optional to fix ubuntu-26.04 first-boot delay
On ubuntu-26.04, systemd-networkd-wait-online is configured by netplan to
wait for eth0 before it exists. On first boot the NIC is still enp0s1 —
the udev rename hasn't happened yet — causing a 120s timeout.
Marking the slirp NIC as optional (netplan optional: true ->
RequiredForOnline=no in systemd-networkd) tells wait-online to not block
on eth0, so boot completes immediately. The interface is still renamed to
eth0 after boot, preserving existing behaviour for all other tools.
Fixes: #4792
Signed-off-by: Ramadhan Gerry Akbar <ramadhan.gerry@gmail.com>1 parent 2d4314e commit c719ef8
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
0 commit comments