Skip to content

Commit

Permalink
Merge pull request containers#733 from fabiendupont/fix-nvidia-fabric…
Browse files Browse the repository at this point in the history
…-manager

Fix NVIDIA FabricManager unit file
  • Loading branch information
Gregory-Pereira authored Aug 7, 2024
2 parents 188aaca + 7363de4 commit b2c21f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/nvidia-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ RUN mv /etc/selinux /etc/selinux.tmp \
&& mv /etc/selinux.tmp /etc/selinux \
&& ln -s /usr/lib/systemd/system/nvidia-toolkit-firstboot.service /usr/lib/systemd/system/basic.target.wants/nvidia-toolkit-firstboot.service \
&& echo "blacklist nouveau" > /etc/modprobe.d/blacklist_nouveau.conf \
&& sed '/\[Unit\]/a ConditionPathExists = /dev/nvidia-nvswitchctl' /usr/lib/systemd/system/nvidia-fabricmanager.service \
&& sed -i '/\[Unit\]/a ConditionPathExists = /dev/nvidia-nvswitchctl' /usr/lib/systemd/system/nvidia-fabricmanager.service \
&& ln -s /usr/lib/systemd/system/nvidia-fabricmanager.service /etc/systemd/system/multi-user.target.wants/nvidia-fabricmanager.service \
&& ln -s /usr/lib/systemd/system/nvidia-persistenced.service /etc/systemd/system/multi-user.target.wants/nvidia-persistenced.service

Expand Down

0 comments on commit b2c21f8

Please sign in to comment.