Merge pull request #2838 from dhiltgen/opensuse

Add ollama user to video group
This commit is contained in:
Daniel Hiltgen
2024-02-29 15:47:56 -08:00
committed by GitHub

View File

@@ -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)