Skip to content

Commit

Permalink
Add three dir types
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
  • Loading branch information
ericcurtin committed Jul 17, 2024
1 parent d826005 commit 54dda69
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ramalama
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,19 @@ usage() {
return 1
}

mkdirs() {
local repo_base="$llm_store/models/repo"
mkdir -p "$repo_base/hf" "$repo_base/ollama" "$repo_base/oci"
}

main() {
set -eu -o pipefail

local conman_bin
select_container_manager
local llm_store
get_llm_store
mkdirs
local conman=("$conman_bin" "--root" "$llm_store")
local conman_run
local vol
Expand Down

0 comments on commit 54dda69

Please sign in to comment.