Update configure_igpu_lxc.sh

This commit is contained in:
MacRimi 2025-08-16 18:12:14 +02:00 committed by GitHub
parent 2132ae79a6
commit 5f07f47308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ validate_container_id() {
# Configure LXC for iGPU
configure_lxc_for_igpu_() {
configure_lxc_for_igpu() {
validate_container_id
CONFIG_FILE="/etc/pve/lxc/${CONTAINER_ID}.conf"
if [ ! -f "$CONFIG_FILE" ]; then
@ -133,7 +133,7 @@ configure_lxc_for_igpu_() {
configure_lxc_for_igpu() {
configure_lxc_for_igpu_() {
validate_container_id
CONFIG_FILE="/etc/pve/lxc/${CONTAINER_ID}.conf"
[[ -f "$CONFIG_FILE" ]] || { msg_error "$(translate 'Configuration file not found.')"; exit 1; }