Skip to content

Commit

Permalink
feat: enable ublue-nvctk-cdi.service by default (ublue-os#162)
Browse files Browse the repository at this point in the history
We added this service to generate nvidia device definitions for
container toolkit, but it isn't enabling by default like it should.

This corrects that.
  • Loading branch information
bsherman authored Oct 13, 2023
1 parent 0acde2f commit 19f6b36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -ouex pipefail

sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/{eyecantcu-supergfxctl,nvidia-container-toolkit}.repo

systemctl enable ublue-nvctk-cdi.service
semodule --verbose --install /usr/share/selinux/packages/nvidia-container.pp
ln -s /usr/bin/ld.bfd /etc/alternatives/ld
ln -s /etc/alternatives/ld /usr/bin/ld
Expand Down

0 comments on commit 19f6b36

Please sign in to comment.