Skip to content

Commit

Permalink
fix: enable ublue-nvctk-cdi by default for nvidia images (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Dec 11, 2023
1 parent 3f3876e commit 3adfd6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if [[ "-nvidia" == "${NVIDIA_TAG}" ]]; then
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/nvidia-container-toolkit.repo

semodule --verbose --install /usr/share/selinux/packages/nvidia-container.pp

systemctl enable ublue-nvctk-cdi.service
fi


Expand Down

0 comments on commit 3adfd6c

Please sign in to comment.