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
f0adc6dc5b
commit
70ecaa8a6e
@ -33,22 +33,27 @@ while true; do
|
|||||||
"4" "$(translate "Return to Main Menu")" 3>&1 1>&2 2>&3)
|
"4" "$(translate "Return to Main Menu")" 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
1)
|
1)
|
||||||
|
show_proxmenux_logo
|
||||||
msg_info2 "$(translate "Running script: Add Disk Passthrough to a VM")..."
|
msg_info2 "$(translate "Running script: Add Disk Passthrough to a VM")..."
|
||||||
bash <(curl -s "$REPO_URL/scripts/storage/disk-passthrough.sh")
|
bash <(curl -s "$REPO_URL/scripts/storage/disk-passthrough.sh")
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
|
show_proxmenux_logo
|
||||||
msg_info2 "$(translate "Running script: Add Disk Passthrough to a CT")..."
|
msg_info2 "$(translate "Running script: Add Disk Passthrough to a CT")..."
|
||||||
bash <(curl -s "$REPO_URL/scripts/storage/disk-passthrough_ct.sh")
|
bash <(curl -s "$REPO_URL/scripts/storage/disk-passthrough_ct.sh")
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
|
show_proxmenux_logo
|
||||||
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
|
||||||
exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh")
|
exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
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")
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user