From 7fbf541d1836e4f254bd1b83f46d8501ee00d0ae Mon Sep 17 00:00:00 2001 From: Nick Baker Date: Thu, 9 Jan 2025 17:23:10 -0800 Subject: [PATCH] feat: align dummy kernel mod with newer systemd default (#2115) --- templates/al2/provisioners/install-worker.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/al2/provisioners/install-worker.sh b/templates/al2/provisioners/install-worker.sh index 5b715a5a7..2eebc7a65 100644 --- a/templates/al2/provisioners/install-worker.sh +++ b/templates/al2/provisioners/install-worker.sh @@ -140,6 +140,12 @@ sudo mv "${WORKING_DIR}/runtime.slice" /etc/systemd/system/runtime.slice sudo mv $WORKING_DIR/set-nvidia-clocks.service /etc/systemd/system/set-nvidia-clocks.service sudo systemctl enable set-nvidia-clocks.service +# backporting removal of default dummy0 network interface in systemd v236 +# https://github.com/systemd/systemd/blob/16ac586e5a77942bf1147bc9eae684d544ded88f/NEWS#L11139-L11144 +cat << EOF | sudo tee /lib/modprobe.d/10-no-dummies.conf +options dummy numdummies=0 +EOF + ############################################################################### ### Containerd setup ########################################################## ###############################################################################