Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Drage <[email protected]>
  • Loading branch information
cdrage committed Nov 16, 2024
1 parent 481706c commit 1cd037f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bootc-nvidia-base-fedora/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ RUN echo "blacklist nouveau" > /etc/modprobe.d/blacklist_nouveau.conf
COPY usr/ /usr/

#! Enable necessary services to be started at boot
RUN systemctl enable nvidia-toolkit-firstboot.service nvidia-drivers.service
RUN systemctl enable nvidia-toolkit-firstboot.service nvidia-drivers.service nvidia-persist.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=NVIDIA Persistence Daemon
Wants=syslog.target
After=nvidia-drivers.service

[Service]
Type=forking
ExecStart=/usr/bin/nvidia-persistenced --user root
ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced

[Install]
WantedBy=multi-user.target

0 comments on commit 1cd037f

Please sign in to comment.