mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-05-20 07:45:01 +00:00
update beta ProxMenux 1.2.1.1-beta
This commit is contained in:
+23
-15
@@ -1,12 +1,18 @@
|
||||
#!/bin/bash
|
||||
# ==========================================================
|
||||
# ProxMenux - Network Storage Manager Menu
|
||||
# ProxMenux - Storage & Share Manager Menu
|
||||
# ==========================================================
|
||||
# Author : MacRimi
|
||||
# Copyright : (c) 2024 MacRimi
|
||||
# License : MIT
|
||||
# License : GPL-3.0
|
||||
# https://github.com/MacRimi/ProxMenux/blob/main/LICENSE
|
||||
# Version : 1.2
|
||||
# Last Updated: $(date +%d/%m/%Y)
|
||||
# ==========================================================
|
||||
# Description:
|
||||
# Dispatcher for the Storage & Share Manager menu. Two blocks:
|
||||
# HOST (register external or local storage as Proxmox storage,
|
||||
# plus the local shared directory helper) and LXC (bind mount
|
||||
# manager, NFS / Samba client and server for privileged CTs).
|
||||
# ==========================================================
|
||||
|
||||
# Configuration
|
||||
@@ -27,21 +33,23 @@ initialize_cache
|
||||
while true; do
|
||||
OPTION=$(dialog --colors --backtitle "ProxMenux" \
|
||||
--title "$(translate "Storage & Share Manager")" \
|
||||
--menu "\n$(translate "Select an option:")" 26 78 17 \
|
||||
--menu "\n$(translate "Select an option:")" 28 78 17 \
|
||||
"" "\Z4──────────────────────── HOST ─────────────────────────\Zn" \
|
||||
"1" "$(translate "Configure NFS shared on Host")" \
|
||||
"2" "$(translate "Configure Samba shared on Host")" \
|
||||
"3" "$(translate "Configure Local Shared on Host")" \
|
||||
"1" "$(translate "Add NFS share as Proxmox Storage")" \
|
||||
"2" "$(translate "Add Samba share as Proxmox Storage")" \
|
||||
"3" "$(translate "Add iSCSI Target as Proxmox Storage")" \
|
||||
"4" "$(translate "Add Local Disk as Proxmox Storage")" \
|
||||
"5" "$(translate "Add iSCSI Target as Proxmox Storage")" \
|
||||
"" "" \
|
||||
"" "\Z4─────────────── Host-only resources ──────────────────\Zn" \
|
||||
"5" "$(translate "Add Shared Directory on Host")" \
|
||||
"" "" \
|
||||
"" "\Z4──────────────────────── LXC ─────────────────────────\Zn" \
|
||||
"6" "$(translate "Configure LXC Mount Points (Host ↔ Container)")" \
|
||||
"" "" \
|
||||
"7" "$(translate "Configure NFS Client in LXC (only privileged)")" \
|
||||
"7" "$(translate "Configure NFS Client in LXC (only privileged)")" \
|
||||
"8" "$(translate "Configure Samba Client in LXC (only privileged)")" \
|
||||
"9" "$(translate "Configure NFS Server in LXC (only privileged)")" \
|
||||
"10" "$(translate "configure Samba Server in LXC (only privileged)")" \
|
||||
"9" "$(translate "Configure NFS Server in LXC (only privileged)")" \
|
||||
"10" "$(translate "Configure Samba Server in LXC (only privileged)")" \
|
||||
"" "" \
|
||||
"h" "$(translate "Help & Info (commands)")" \
|
||||
"0" "$(translate "Return to Main Menu")" \
|
||||
@@ -61,21 +69,21 @@ while true; do
|
||||
bash "$LOCAL_SCRIPTS/share/samba_host.sh"
|
||||
;;
|
||||
3)
|
||||
bash "$LOCAL_SCRIPTS/share/local-shared-manager.sh"
|
||||
bash "$LOCAL_SCRIPTS/share/iscsi_host.sh"
|
||||
;;
|
||||
4)
|
||||
bash "$LOCAL_SCRIPTS/share/disk_host.sh"
|
||||
;;
|
||||
5)
|
||||
bash "$LOCAL_SCRIPTS/share/iscsi_host.sh"
|
||||
bash "$LOCAL_SCRIPTS/share/local-shared-manager.sh"
|
||||
;;
|
||||
6)
|
||||
bash "$LOCAL_SCRIPTS/share/lxc-mount-manager_minimal.sh"
|
||||
;;
|
||||
7)
|
||||
bash "$LOCAL_SCRIPTS/share/nfs_client.sh"
|
||||
;;
|
||||
8)
|
||||
;;
|
||||
8)
|
||||
bash "$LOCAL_SCRIPTS/share/samba_client.sh"
|
||||
;;
|
||||
9)
|
||||
|
||||
Reference in New Issue
Block a user