mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
Update configure_igpu_lxc.sh
This commit is contained in:
parent
d04701ca08
commit
0a78f17b90
@ -83,7 +83,7 @@ validate_container_id() {
|
||||
|
||||
|
||||
# Configure LXC for Coral TPU and iGPU
|
||||
configure_lxc_hardware() {
|
||||
configure_lxc_for_igpu() {
|
||||
validate_container_id
|
||||
CONFIG_FILE="/etc/pve/lxc/${CONTAINER_ID}.conf"
|
||||
if [ ! -f "$CONFIG_FILE" ]; then
|
||||
@ -100,8 +100,6 @@ configure_lxc_hardware() {
|
||||
chown -R root:root "$STORAGE_PATH"
|
||||
fi
|
||||
msg_ok "$(translate 'Container changed to privileged.')"
|
||||
else
|
||||
msg_ok "$(translate 'The container is already privileged.')"
|
||||
fi
|
||||
|
||||
# Configure iGPU
|
||||
|
Loading…
x
Reference in New Issue
Block a user