Skip to content

Commit

Permalink
Merge pull request #759 from fabiendupont/nvidia-bootc-modify-fabricm…
Browse files Browse the repository at this point in the history
…anager-condition

Modify condition on NVIDIA FabricManager service
  • Loading branch information
lmilbaum authored Aug 14, 2024
2 parents 0ba38e0 + 9e8e131 commit b90b59d
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 @@ -146,7 +146,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 -i '/\[Unit\]/a ConditionPathExists = /dev/nvidia-nvswitchctl' /usr/lib/systemd/system/nvidia-fabricmanager.service \
&& sed -i '/\[Unit\]/a ConditionDirectoryNotEmpty=/proc/driver/nvidia-nvswitch/devices' /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 b90b59d

Please sign in to comment.