diskimage-builder/releasenotes/notes/persistent-netifs-fallback-1b861e037dd8a27c.yaml
Riccardo Pittau 8401290976 Fallback to persistent netifs names with systemd
The dhcp-all-interfaces element does not work with the predictable names
scheme, fallback to the persistent names scheme as workaround.

Bug: 1960301

Change-Id: I117964a60615a5b7e9984f52f02cd018d1a48ed0
2022-02-09 10:17:49 +01:00

13 lines
682 B
YAML

---
fixes:
- |
The dhcp-all-interfaces element does not work correctly with the new
"predictable names" scheme for network interfaces.
During boot the name of the interfaces is changed from ethX to the new
scheme, for example enpXsX; this name change is not detected by udev de
facto making the udev rule of the dhcp-all-interfaces element useless;
this causes the machine booted with the image including the dhcp-all-interfaces
element to not get any ip and so being unreachable from the network.
This patch includes a workaround to fallback to the "persistent names"
scheme allowing the dhcp-all-interfaces element to work again as intended.