Skip to content

Commit

Permalink
feat: enable new nvidia-container-toolkit (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Oct 6, 2023
1 parent 17f2cfc commit 0acde2f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

set -ouex pipefail

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

mv /etc/nvidia-container-runtime/config.toml{,.orig}
cp /etc/nvidia-container-runtime/config{-rootless,}.toml
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/{eyecantcu-supergfxctl,nvidia-container-toolkit}.repo

semodule --verbose --install /usr/share/selinux/packages/nvidia-container.pp
ln -s /usr/bin/ld.bfd /etc/alternatives/ld
Expand Down

0 comments on commit 0acde2f

Please sign in to comment.