@@ -142,7 +142,6 @@ function default_settings() {
142142 MAC=" $GEN_MAC "
143143 VLAN=" "
144144 MTU=" "
145- START_VM=" no"
146145 echo -e " ${DGN} Using Virtual Machine ID: ${BGN}${VMID}${CL} "
147146 echo -e " ${DGN} Using Machine Type: ${BGN} i440fx${CL} "
148147 echo -e " ${DGN} Using Disk Cache: ${BGN} None${CL} "
@@ -154,7 +153,6 @@ function default_settings() {
154153 echo -e " ${DGN} Using MAC Address: ${BGN}${MAC}${CL} "
155154 echo -e " ${DGN} Using VLAN: ${BGN} Default${CL} "
156155 echo -e " ${DGN} Using Interface MTU Size: ${BGN} Default${CL} "
157- echo -e " ${DGN} Start VM when completed: ${BGN} no${CL} "
158156 echo -e " ${BL} Creating an Ubuntu 24.04 VM using the above default settings${CL} "
159157}
160158
@@ -306,14 +304,6 @@ function advanced_settings() {
306304 exit-script
307305 fi
308306
309- if (whiptail --backtitle " Proxmox VE Helper Scripts" --title " START VIRTUAL MACHINE" --yesno " Start VM when completed?" 10 58); then
310- echo -e " ${DGN} Start VM when completed: ${BGN} yes${CL} "
311- START_VM=" yes"
312- else
313- echo -e " ${DGN} Start VM when completed: ${BGN} no${CL} "
314- START_VM=" no"
315- fi
316-
317307 if (whiptail --backtitle " Proxmox VE Helper Scripts" --title " ADVANCED SETTINGS COMPLETE" --yesno " Ready to create an Ubuntu 24.04 VM?" --no-button Do-Over 10 58); then
318308 echo -e " ${RD} Creating an Ubuntu 24.04 VM using the above advanced settings${CL} "
319309 else
@@ -418,11 +408,6 @@ qm set $VMID \
418408 <a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
419409 </div>" > /dev/null
420410msg_ok " Created a Ubuntu 24.04 VM ${CL}${BL} (${HN} )"
421- if [ " $START_VM " == " yes" ]; then
422- msg_info " Starting Ubuntu 24.04 VM"
423- qm start $VMID
424- msg_ok " Started Ubuntu 24.04 VM"
425- fi
426411msg_ok " Completed Successfully!\n"
427412echo -e " Setup Cloud-Init before starting \n
428413More info at https://github.com/tteck/Proxmox/discussions/2072 \n"
0 commit comments