Added install_nvidia
This commit is contained in:
parent
0fc1f2f4e6
commit
75bebd9fd6
1 changed files with 4 additions and 4 deletions
|
|
@ -114,13 +114,13 @@ incus config device add ollama-container gpu gpu
|
||||||
|
|
||||||
# Install nvidia
|
# Install nvidia
|
||||||
|
|
||||||
incus exec ollama-container -- bash -c 'echo "deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware" > /etc/apt/sources.list.d/backports.list'
|
run_command "incus exec ollama-container -- bash -c 'echo \"deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware\" > /etc/apt/sources.list.d/backports.list'" "Añadir repo backport"
|
||||||
|
|
||||||
incus exec ollama-container -- curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --show-keys --fingerprint
|
run_command "incus exec ollama-container -- curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --show-keys --fingerprint" "Añadir gpg incus"
|
||||||
|
|
||||||
incus exec ollama-container -- mkdir -p /etc/apt/keyrings/
|
run_command "incus exec ollama-container -- mkdir -p /etc/apt/keyrings/" "Añadir keyrings"
|
||||||
|
|
||||||
incus exec ollama-container -- curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
|
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"
|
||||||
|
|
||||||
incus exec ollama-container -- sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
|
incus exec ollama-container -- sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
|
||||||
Enabled: yes
|
Enabled: yes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue