mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update storage_menu.sh
This commit is contained in:
parent
c3fc013002
commit
35e399dbaf
@ -30,8 +30,7 @@ while true; do
|
|||||||
"1" "$(translate "Add Disk Passthrough to a VM")" \
|
"1" "$(translate "Add Disk Passthrough to a VM")" \
|
||||||
"2" "$(translate "Add Disk") Passthrough $(translate "to a CT")" \
|
"2" "$(translate "Add Disk") Passthrough $(translate "to a CT")" \
|
||||||
"3" "$(translate "Import Disk Image to a VM")" \
|
"3" "$(translate "Import Disk Image to a VM")" \
|
||||||
"4" "$(translate "Format Unused Disk in Proxmox")" \
|
"4" "$(translate "Return to Main Menu")" 3>&1 1>&2 2>&3)
|
||||||
"5" "$(translate "Return to Main Menu")" 3>&1 1>&2 2>&3)
|
|
||||||
|
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
1)
|
1)
|
||||||
@ -49,14 +48,8 @@ while true; do
|
|||||||
msg_info2 "$(translate "Running script: Import Disk Image to a VM")..."
|
msg_info2 "$(translate "Running script: Import Disk Image to a VM")..."
|
||||||
bash <(curl -s "$REPO_URL/scripts/storage/import-disk-image.sh")
|
bash <(curl -s "$REPO_URL/scripts/storage/import-disk-image.sh")
|
||||||
;;
|
;;
|
||||||
|
|
||||||
4)
|
4)
|
||||||
#show_proxmenux_logo
|
#show_proxmenux_logo
|
||||||
msg_info2 "$(translate "Executing script: Format Unused Disk in Proxmox")..."
|
|
||||||
bash <(curl -s "$REPO_URL/scripts/storage/format.disk.sh")
|
|
||||||
;;
|
|
||||||
5)
|
|
||||||
#show_proxmenux_logo
|
|
||||||
exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh")
|
exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user