Skip to content

Commit

Permalink
feat: align dummy kernel mod with newer systemd default
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbaker1 committed Jan 9, 2025
1 parent fe5870e commit 42fcde4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/al2/provisioners/install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 automatic dummy0 from 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 ##########################################################
###############################################################################
Expand Down

0 comments on commit 42fcde4

Please sign in to comment.