mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +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 for Coral TPU and iGPU
|
||||||
configure_lxc_hardware() {
|
configure_lxc_for_igpu() {
|
||||||
validate_container_id
|
validate_container_id
|
||||||
CONFIG_FILE="/etc/pve/lxc/${CONTAINER_ID}.conf"
|
CONFIG_FILE="/etc/pve/lxc/${CONTAINER_ID}.conf"
|
||||||
if [ ! -f "$CONFIG_FILE" ]; then
|
if [ ! -f "$CONFIG_FILE" ]; then
|
||||||
@ -100,8 +100,6 @@ configure_lxc_hardware() {
|
|||||||
chown -R root:root "$STORAGE_PATH"
|
chown -R root:root "$STORAGE_PATH"
|
||||||
fi
|
fi
|
||||||
msg_ok "$(translate 'Container changed to privileged.')"
|
msg_ok "$(translate 'Container changed to privileged.')"
|
||||||
else
|
|
||||||
msg_ok "$(translate 'The container is already privileged.')"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Configure iGPU
|
# Configure iGPU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user