Commit 74468513 authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Add ollama user to video group

On OpenSUSE, ollama needs to be a member of the video group
to access the GPU
parent 076237b8
......@@ -88,6 +88,10 @@ configure_systemd() {
status "Adding ollama user to render group..."
$SUDO usermod -a -G render ollama
fi
if getent group video >/dev/null 2>&1; then
status "Adding ollama user to video group..."
$SUDO usermod -a -G video ollama
fi
status "Adding current user to ollama group..."
$SUDO usermod -a -G ollama $(whoami)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment