Update haos-vm.sh

tweak
This commit is contained in:
tteckster 2023-04-02 08:48:09 -04:00 committed by GitHub
parent 2ff5df2ea8
commit a2b5ce070d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ function ssh_check() {
fi fi
} }
exit-script() { function exit-script() {
clear clear
echo -e "⚠ User exited script \n" echo -e "⚠ User exited script \n"
exit exit
@ -150,6 +150,7 @@ function default_settings() {
echo -e "${DGN}Start VM when completed: ${BGN}yes${CL}" echo -e "${DGN}Start VM when completed: ${BGN}yes${CL}"
echo -e "${BL}Creating a HAOS VM using the above default settings${CL}" echo -e "${BL}Creating a HAOS VM using the above default settings${CL}"
} }
function advanced_settings() { function advanced_settings() {
if BRANCH=$(whiptail --title "HAOS VERSION" --radiolist "Choose Version" --cancel-button Exit-Script 10 58 3 \ if BRANCH=$(whiptail --title "HAOS VERSION" --radiolist "Choose Version" --cancel-button Exit-Script 10 58 3 \
"$stable" "Stable " ON \ "$stable" "Stable " ON \
@ -329,6 +330,7 @@ arch_check
pve_check pve_check
ssh_check ssh_check
start_script start_script
msg_info "Validating Storage" msg_info "Validating Storage"
while read -r line; do while read -r line; do
TAG=$(echo $line | awk '{print $1}') TAG=$(echo $line | awk '{print $1}')