From 19f6b3677b2a41d356ed124b2c3cfb6dceb82eb5 Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Thu, 12 Oct 2023 22:32:05 -0500 Subject: [PATCH] feat: enable ublue-nvctk-cdi.service by default (#162) 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. --- post-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/post-install.sh b/post-install.sh index de36f7c..35544c3 100755 --- a/post-install.sh +++ b/post-install.sh @@ -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