mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-29 20:56:54 +00:00
Update storage_menu.sh
This commit is contained in:
parent
4b1bd481f8
commit
381d21e65f
@ -1,4 +1,27 @@
|
|||||||
show_storage_menu() {
|
#!/bin/bash
|
||||||
|
|
||||||
|
# ==========================================================
|
||||||
|
# ProxMenu - A menu-driven script for Proxmox VE management
|
||||||
|
# ==========================================================
|
||||||
|
# Author : MacRimi
|
||||||
|
# Copyright : (c) 2024 MacRimi
|
||||||
|
# License : MIT (https://raw.githubusercontent.com/MacRimi/ProxMenux/main/LICENSE)
|
||||||
|
# Version : 1.0
|
||||||
|
# Last Updated: 28/01/2025
|
||||||
|
# ==========================================================
|
||||||
|
|
||||||
|
|
||||||
|
# Configuration ============================================
|
||||||
|
REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main"
|
||||||
|
UTILS_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main/scripts/utils.sh"
|
||||||
|
BASE_DIR="/usr/local/share/proxmenux"
|
||||||
|
CACHE_FILE="$BASE_DIR/cache.json"
|
||||||
|
VENV_PATH="/opt/googletrans-env"
|
||||||
|
LANGUAGE=$(jq -r '.language // "en"' "$BASE_DIR/config.json" 2>/dev/null)
|
||||||
|
# ==========================================================
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
OPTION=$(whiptail --title "$(translate "Disk and Storage Menu")" --menu "$(translate "Select an option:")" 15 60 3 \
|
OPTION=$(whiptail --title "$(translate "Disk and Storage Menu")" --menu "$(translate "Select an option:")" 15 60 3 \
|
||||||
"1" "$(translate "Add Disk Passthrough to a VM")" \
|
"1" "$(translate "Add Disk Passthrough to a VM")" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user