Update gpu-intel.func
This commit is contained in:
parent
c88bea8220
commit
c374326940
@ -64,13 +64,11 @@ function install_intel_tools_in_ct() {
|
||||
read -rp "Install non-free intel-media-va-driver (Debian only)? [y/N]: " confirm
|
||||
if [[ "${confirm,,}" =~ ^(y|yes)$ ]]; then
|
||||
msg info "Enabling non-free sources in $ctid..."
|
||||
pct exec "$ctid" -- bash -c "
|
||||
cat <<EOF >/etc/apt/sources.list.d/non-free.list
|
||||
pct exec "$ctid" -- tee /etc/apt/sources.list.d/non-free.list >/dev/null <<EOF
|
||||
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 bookworm-updates main contrib non-free non-free-firmware
|
||||
EOF
|
||||
"
|
||||
fi
|
||||
|
||||
msg info "Installing Intel tools in CT $ctid..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user