update add_gpu_vm.sh

This commit is contained in:
MacRimi
2026-04-04 00:54:57 +02:00
parent d1efae37a4
commit 58c4e115ba
5 changed files with 1770 additions and 15 deletions

View File

@@ -28,13 +28,15 @@ while true; do
OPTION=$(dialog --colors --backtitle "ProxMenux" \
--title "$(translate "GPUs and Coral-TPU Menu")" \
--menu "\n$(translate "Select an option:")" 25 80 15 \
"" "\Z4──────────────────────── $(translate "HOST") ─────────────────────────\Zn" \
"" "\Z4──────────────────────── HOST ─────────────────────────\Zn" \
"1" "$(translate "Install NVIDIA Drivers on Host")" \
"2" "$(translate "Update NVIDIA Drivers (Host + LXC)")" \
"3" "$(translate "Install/Update Coral TPU on Host")" \
"" "\Z4──────────────────────── $(translate "LXC") ──────────────────────────\Zn" \
"4" "$(translate "Add GPU to LXC (Intel / AMD / NVIDIA)")" \
"" "\Z4──────────────────────── LXC ──────────────────────────\Zn" \
"4" "$(translate "Add GPU to LXC (Intel | AMD | NVIDIA)") \Zb\Z4Switch Mode\Zn" \
"5" "$(translate "Add Coral TPU to LXC")" \
"" "\Z4──────────────────────── VM ───────────────────────────\Zn" \
"6" "$(translate "Add GPU to VM (Intel | AMD | NVIDIA)") \Zb\Z4Switch Mode\Zn" \
"" "" \
"0" "$(translate "Return to Main Menu")" \
2>&1 >/dev/tty
@@ -56,6 +58,9 @@ while true; do
5)
bash "$LOCAL_SCRIPTS/gpu_tpu/install_coral_lxc.sh"
;;
6)
bash "$LOCAL_SCRIPTS/gpu_tpu/add_gpu_vm.sh"
;;
0)
exec bash "$LOCAL_SCRIPTS/menus/main_menu.sh"
;;

View File

@@ -137,7 +137,7 @@ show_menu() {
menu_items+=("" "")
menu_items+=("-" "───────────────────── $(translate "Community Scripts") ──────────────────────")
menu_items+=("-" "───────────────────── Community Scripts ──────────────────────")
menu_items+=("" "")

View File

@@ -28,13 +28,13 @@ while true; do
OPTION=$(dialog --colors --backtitle "ProxMenux" \
--title "$(translate "Mount and Share Manager")" \
--menu "\n$(translate "Select an option:")" 25 80 15 \
"" "\Z4──────────────────────── $(translate "HOST") ─────────────────────────\Zn" \
"" "\Z4──────────────────────── HOST ─────────────────────────\Zn" \
"1" "$(translate "Configure NFS shared on Host")" \
"2" "$(translate "Configure Samba shared on Host")" \
"3" "$(translate "Configure Local Shared on Host")" \
"9" "$(translate "Add Local Disk as Proxmox Storage")" \
"10" "$(translate "Add iSCSI Target as Proxmox Storage")" \
"" "\Z4──────────────────────── $(translate "LXC") ─────────────────────────\Zn" \
"" "\Z4──────────────────────── LXC ─────────────────────────\Zn" \
"4" "$(translate "Configure LXC Mount Points (Host ↔ Container)")" \
"" "" \
"5" "$(translate "Configure NFS Client in LXC (only privileged)")" \