Update ubuntu-vm.sh

tweak
This commit is contained in:
tteckster 2023-11-18 17:42:31 -05:00 committed by GitHub
parent eb6fd78fa6
commit 8c3fd6f90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -155,7 +155,7 @@ function default_settings() {
echo -e "${DGN}Using VLAN: ${BGN}Default${CL}" echo -e "${DGN}Using VLAN: ${BGN}Default${CL}"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
echo -e "${DGN}Start VM when completed: ${BGN}no${CL}" echo -e "${DGN}Start VM when completed: ${BGN}no${CL}"
echo -e "${BL}Creating a Ubuntu 22.04 VM using the above default settings${CL}" echo -e "${BL}Creating an Ubuntu 22.04 VM using the above default settings${CL}"
} }
function advanced_settings() { function advanced_settings() {
@ -314,8 +314,8 @@ function advanced_settings() {
START_VM="no" START_VM="no"
fi fi
if (whiptail --backtitle "Proxmox VE Helper Scripts" --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create a Ubuntu 22.04 VM?" --no-button Do-Over 10 58); then if (whiptail --backtitle "Proxmox VE Helper Scripts" --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create an Ubuntu 22.04 VM?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a Ubuntu 22.04 VM using the above advanced settings${CL}" echo -e "${RD}Creating an Ubuntu 22.04 VM using the above advanced settings${CL}"
else else
header_info header_info
echo -e "${RD}Using Advanced Settings${CL}" echo -e "${RD}Using Advanced Settings${CL}"
@ -421,4 +421,5 @@ if [ "$START_VM" == "yes" ]; then
msg_ok "Started Ubuntu 22.04 VM" msg_ok "Started Ubuntu 22.04 VM"
fi fi
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo "Setup Cloud-Init before starting" echo -e "Setup Cloud-Init before starting \n
More info at https://github.com/tteck/Proxmox/discussions/2072 \n"