From 0acde2f31341370381f64a2b9529e1db03a09b11 Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Thu, 5 Oct 2023 21:17:13 -0500 Subject: [PATCH] feat: enable new nvidia-container-toolkit (#159) --- post-install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/post-install.sh b/post-install.sh index c3e47b41..de36f7ce 100755 --- a/post-install.sh +++ b/post-install.sh @@ -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