Browse Source

Merge pull request #2838 from dhiltgen/opensuse

Add ollama user to video group
jmorganca/testing
Daniel Hiltgen 2 years ago
committed by GitHub
parent
commit
cbd6e3b38e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      scripts/install.sh

4
scripts/install.sh

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

Loading…
Cancel
Save