Fixes in sh
This commit is contained in:
parent
eb9ed91639
commit
bb794fe2fc
1 changed files with 11 additions and 12 deletions
|
|
@ -129,16 +129,16 @@ run_command "incus exec ollama-container -- mkdir -p /etc/apt/keyrings/" "Aña
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc" "Añadir gpg zabbly en /et/apt/keyrings"
|
run_command "incus exec ollama-container -- curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc" "Añadir gpg zabbly en /et/apt/keyrings"
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources \
|
run_command "incus exec ollama-container -- bash -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
|
||||||
Enabled: yes \
|
Enabled: yes
|
||||||
Types: deb \
|
Types: deb
|
||||||
URIs: https://pkgs.zabbly.com/incus/stable \
|
URIs: https://pkgs.zabbly.com/incus/stable
|
||||||
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME}) \
|
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
|
||||||
Components: main \
|
Components: main
|
||||||
Architectures: $(dpkg --print-architecture) \
|
Architectures: $(dpkg --print-architecture)
|
||||||
Signed-By: /etc/apt/keyrings/zabbly.asc \
|
Signed-By: /etc/apt/keyrings/zabbly.asc
|
||||||
\
|
|
||||||
EOF'" "Add incus stable repo"
|
EOF'" "Añadir incus stable repo"
|
||||||
|
|
||||||
run_command "incus exec ollama-container -- apt-get update && sudo apt-get upgrade" "Upgrade repos..."
|
run_command "incus exec ollama-container -- apt-get update && sudo apt-get upgrade" "Upgrade repos..."
|
||||||
|
|
||||||
|
|
@ -157,8 +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" ""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue