vyos-build/data/live-build-config
RageLtMan 8e6d765be1 Resolve resource deadlock for udev iface shuffle
UDEV contains a default rule triggered early-on which renames all
NICs by their index to eX, systemd-udevd subsequently renames the
eX interface to ethX. Systemd-udevd can fail to rename the iface
if it still has resource locks from the prior renaming which then
fails to apply all manner of configurations resulting in a booted
zombie which cannot handle L3 traffic.

Fix the concern by removing 62-temporary-interface-rename.rules
from /etc/udev/rules.d during the cleanup hook executed in
data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot.

Testing:
  Boot-tested in OpenStack under identical infrastructure-as-code
states. Verified DHCP-assigned routes, execution of cloud-init,
and configuration stanzas injected through cloud-init applied to
the FW and system.
2023-01-29 13:35:01 -05:00
..