mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Update ubuntu-vm.sh
tweak
This commit is contained in:
		@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user