Fixes in sh
This commit is contained in:
parent
4ab6c4d19c
commit
9153ed905f
1 changed files with 3 additions and 3 deletions
|
|
@ -132,7 +132,7 @@ Signed-By: /etc/apt/keyrings/zabbly.asc \
|
||||||
\
|
\
|
||||||
EOF'" "Add incus stable repo"
|
EOF'" "Add incus stable repo"
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- apt install -y software-properties-common" "Add software properties package"
|
run_command "incus exec ollama-container -- apt install -y software-properties-common gpg wget" "Add software properties package and other utilities"
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- apt-add-repository -y contrib" "Add contrib"
|
run_command "incus exec ollama-container -- apt-add-repository -y contrib" "Add contrib"
|
||||||
|
|
||||||
|
|
@ -157,7 +157,7 @@ run_command "incus exec ollama-container -- dpkg -i cuda-keyring_1.1-1_all.deb"
|
||||||
run_command "incus exec ollama-container -- apt-get -y -f install" ""
|
run_command "incus exec ollama-container -- apt-get -y -f install" ""
|
||||||
run_command "incus exec ollama-container -- apt update" ""
|
run_command "incus exec ollama-container -- apt update" ""
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- bash -c 'echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/ /" \
|
run_command "incus exec ollama-container -- bash -c 'echo \"deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/ /\" \
|
||||||
| tee /etc/apt/sources.list.d/cuda-debian12-x86_64.list'" ""
|
| tee /etc/apt/sources.list.d/cuda-debian12-x86_64.list'" ""
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- apt -y update" ""
|
run_command "incus exec ollama-container -- apt -y update" ""
|
||||||
|
|
@ -166,7 +166,7 @@ run_command "incus exec ollama-container -- apt -y install cuda-drivers" ""
|
||||||
|
|
||||||
echo "Install Ollama in container ollama-container" ""
|
echo "Install Ollama in container ollama-container" ""
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- apt -y install curl" ""
|
run_command "incus exec ollama-container -- apt -y install curl " ""
|
||||||
run_command "incus exec ollama-container -- curl -fsSL https://ollama.com/install.sh | sh" ""
|
run_command "incus exec ollama-container -- curl -fsSL https://ollama.com/install.sh | sh" ""
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- ollama run gemma3:4b" ""
|
run_command "incus exec ollama-container -- ollama run gemma3:4b" ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue