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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
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) |
|
|
|
|