Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
11846866
Unverified
Commit
11846866
authored
Jan 03, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jan 03, 2024
Browse files
Merge pull request #1776 from dhiltgen/render_group
Add ollama user to render group for Radeon support
parents
c7ea8f23
2588cb2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
scripts/install.sh
scripts/install.sh
+4
-0
No files found.
scripts/install.sh
View file @
11846866
...
@@ -76,6 +76,10 @@ configure_systemd() {
...
@@ -76,6 +76,10 @@ configure_systemd() {
status
"Creating ollama user..."
status
"Creating ollama user..."
$SUDO
useradd
-r
-s
/bin/false
-m
-d
/usr/share/ollama ollama
$SUDO
useradd
-r
-s
/bin/false
-m
-d
/usr/share/ollama ollama
fi
fi
if
getent group render
>
/dev/null 2>&1
;
then
status
"Adding ollama user to render group..."
$SUDO
usermod
-a
-G
render ollama
fi
status
"Adding current user to ollama group..."
status
"Adding current user to ollama group..."
$SUDO
usermod
-a
-G
ollama
$(
whoami
)
$SUDO
usermod
-a
-G
ollama
$(
whoami
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment