mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-30 13:16:53 +00:00
Update install_coral_lxc.sh
This commit is contained in:
parent
5494e28c0b
commit
d43c1da440
@ -163,7 +163,7 @@ install_coral_in_container() {
|
||||
DRIVER_PACKAGE="libedgetpu1-std"
|
||||
fi
|
||||
|
||||
pct exec "$CONTAINER_ID" -- bash <<EOF
|
||||
pct exec "$CONTAINER_ID" -- bash -c "
|
||||
set -e
|
||||
|
||||
echo "- Updating package lists..."
|
||||
@ -179,15 +179,14 @@ apt-get install -y gnupg python3 python3-pip python3-venv
|
||||
|
||||
echo "- Adding Coral TPU repository..."
|
||||
curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/coral-edgetpu.gpg
|
||||
echo 'deb [signed-by=/usr/share/keyrings/coral-edgetpu.gpg] https://packages.cloud.google.com/apt coral-edgetpu-stable main' | tee /etc/apt/sources.list.d/coral-edgetpu.list
|
||||
echo "deb [signed-by=/usr/share/keyrings/coral-edgetpu.gpg] https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list
|
||||
|
||||
echo "- Updating package lists again..."
|
||||
apt-get update
|
||||
|
||||
echo "- Installing Coral TPU driver (\$DRIVER_PACKAGE)..."
|
||||
apt-get install -y \$DRIVER_PACKAGE
|
||||
EOF
|
||||
|
||||
echo "- Installing Coral TPU driver ($DRIVER_PACKAGE)..."
|
||||
apt-get install -y $DRIVER_PACKAGE
|
||||
"
|
||||
|
||||
msg_ok "$(translate 'iGPU and Coral TPU drivers installed inside the container.')"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user