From e8a262490b7d864ed4be22c60dce53c8a1bbc7d4 Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Tue, 26 Nov 2024 22:24:46 +0530 Subject: [PATCH] fix: systemd-udevd restore old naming behavior Restore old naming behavior as `eudevd`. Ref: * https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ * https://www.freedesktop.org/software/systemd/man/latest/systemd-udevd.service.html * https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html# Signed-off-by: Noel Georgi --- Dockerfile | 4 ++-- hack/udevd/80-net-name-slot.rules | 13 ------------- hack/udevd/99-default.link | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 15 deletions(-) delete mode 100644 hack/udevd/80-net-name-slot.rules create mode 100644 hack/udevd/99-default.link diff --git a/Dockerfile b/Dockerfile index f9d98ce8f..2ea09a80e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -730,7 +730,7 @@ COPY --chmod=0644 hack/nfsmount.conf /rootfs/etc/nfsmount.conf COPY --chmod=0644 hack/containerd.toml /rootfs/etc/containerd/config.toml COPY --chmod=0644 hack/cri-containerd.toml /rootfs/etc/cri/containerd.toml COPY --chmod=0644 hack/cri-plugin.part /rootfs/etc/cri/conf.d/00-base.part -COPY --chmod=0644 hack/udevd/80-net-name-slot.rules /rootfs/usr/lib/udev/rules.d/ +COPY --chmod=0644 hack/udevd/99-default.link /rootfs/usr/lib/systemd/network/ COPY --chmod=0644 hack/udevd/90-selinux.rules /rootfs/usr/lib/udev/rules.d/ COPY --chmod=0644 hack/lvm.conf /rootfs/etc/lvm/lvm.conf RUN <