mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-28 16:25:52 +00:00
Update gpu-intel.func
This commit is contained in:
@@ -64,11 +64,16 @@ function install_intel_tools_in_ct() {
|
|||||||
|
|
||||||
if [[ "$install_nonfree" == "yes" ]]; then
|
if [[ "$install_nonfree" == "yes" ]]; then
|
||||||
msg info "Enabling non-free sources in $ctid..."
|
msg info "Enabling non-free sources in $ctid..."
|
||||||
pct exec "$ctid" -- bash -c "tee /etc/apt/sources.list.d/non-free.list >/dev/null" <<'EOF'
|
|
||||||
|
pct exec "$ctid" -- bash -c '
|
||||||
|
grep -q "non-free" /etc/apt/sources.list && exit 0
|
||||||
|
|
||||||
|
cat <<EOF > /etc/apt/sources.list.d/non-free.list
|
||||||
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||||
deb http://deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
deb http://deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||||
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||||
EOF
|
EOF
|
||||||
|
'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg info "Installing Intel tools in CT $ctid..."
|
msg info "Installing Intel tools in CT $ctid..."
|
||||||
|
|||||||
Reference in New Issue
Block a user