mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-07-03 06:26:52 +00:00
Update select_linux_iso.sh
This commit is contained in:
parent
96c23bf138
commit
5f2e346bd8
@ -252,24 +252,24 @@ function select_linux_custom_iso() {
|
|||||||
|
|
||||||
|
|
||||||
function select_linux_other_scripts() {
|
function select_linux_other_scripts() {
|
||||||
local OTHER_OPTIONS=(
|
local OTHER_OPTIONS=(
|
||||||
"1" "Home Assistant OS VM (HAOS) │ Helper Scripts"
|
"1" "Home Assistant OS VM (HAOS) │ Helper Scripts"
|
||||||
"2" "Docker VM (Debian + SSH + Docker) │ Helper Scripts"
|
"2" "Docker VM (Debian + SSH + Docker) │ Helper Scripts"
|
||||||
"3" "Nextcloud │ Helper Scripts"
|
"3" "Nextcloud │ Helper Scripts"
|
||||||
"4" "$(translate "Return to Main Menu")"
|
"4" "$(translate "Return to Main Menu")"
|
||||||
)
|
)
|
||||||
|
|
||||||
local choice
|
local choice
|
||||||
choice=$(dialog --backtitle "ProxMenux" \
|
choice=$(dialog --backtitle "ProxMenux" \
|
||||||
--title "$(translate "Other Prebuilt Linux VMs")" \
|
--title "$(translate "Other Prebuilt Linux VMs")" \
|
||||||
--menu "\n$(translate "Select one of the ready-to-run Linux VMs:")" 18 70 10 \
|
--menu "\n$(translate "Select one of the ready-to-run Linux VMs:")" 18 70 10 \
|
||||||
"${OTHER_OPTIONS[@]}" 3>&1 1>&2 2>&3)
|
"${OTHER_OPTIONS[@]}" 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
if [[ $? -ne 0 || "$choice" == "3" ]]; then
|
if [[ $? -ne 0 || "$choice" == "4" ]]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
1)
|
1)
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/haos-vm.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/haos-vm.sh)"
|
||||||
;;
|
;;
|
||||||
@ -283,18 +283,19 @@ function select_linux_other_scripts() {
|
|||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/nextcloud-vm.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/nextcloud-vm.sh)"
|
||||||
echo -e
|
echo -e
|
||||||
echo -e "$(translate "You can use the following credentials to login to the Nextcloud vm.\nUsername: admin")"
|
echo -e "$(translate "You can use the following credentials to login to the Nextcloud vm.\nUsername: admin")"
|
||||||
echo -e "$(translate This VM requires extra installation steps, see install guide at:\nhttps://github.com/community-scripts/ProxmoxVE/discussions/144")"
|
echo -e "$(translate "This VM requires extra installation steps, see install guide at:\nhttps://github.com/community-scripts/ProxmoxVE/discussions/144")"
|
||||||
echo -e
|
echo -e
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
msg_success "$(translate "Press Enter to return to menu...")"
|
msg_success "$(translate "Press Enter to return to menu...")"
|
||||||
read -r
|
read -r
|
||||||
|
|
||||||
whiptail --title "Proxmox VE Helper-Scripts" \
|
whiptail --title "Proxmox VE Helper-Scripts" \
|
||||||
--msgbox "$(translate "Visit the website to discover more scripts, stay updated with the latest updates, and support the project:\n\nhttps://community-scripts.github.io/ProxmoxVE")" 15 70
|
--msgbox "$(translate "Visit the website to discover more scripts, stay updated with the latest updates, and support the project:\n\nhttps://community-scripts.github.io/ProxmoxVE")" 15 70
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user