@@ -142,7 +142,6 @@ function default_settings() {
142
142
MAC=" $GEN_MAC "
143
143
VLAN=" "
144
144
MTU=" "
145
- START_VM=" no"
146
145
echo -e " ${DGN} Using Virtual Machine ID: ${BGN}${VMID}${CL} "
147
146
echo -e " ${DGN} Using Machine Type: ${BGN} i440fx${CL} "
148
147
echo -e " ${DGN} Using Disk Cache: ${BGN} None${CL} "
@@ -154,7 +153,6 @@ function default_settings() {
154
153
echo -e " ${DGN} Using MAC Address: ${BGN}${MAC}${CL} "
155
154
echo -e " ${DGN} Using VLAN: ${BGN} Default${CL} "
156
155
echo -e " ${DGN} Using Interface MTU Size: ${BGN} Default${CL} "
157
- echo -e " ${DGN} Start VM when completed: ${BGN} no${CL} "
158
156
echo -e " ${BL} Creating an Ubuntu 24.04 VM using the above default settings${CL} "
159
157
}
160
158
@@ -306,14 +304,6 @@ function advanced_settings() {
306
304
exit-script
307
305
fi
308
306
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
-
317
307
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
318
308
echo -e " ${RD} Creating an Ubuntu 24.04 VM using the above advanced settings${CL} "
319
309
else
@@ -418,11 +408,6 @@ qm set $VMID \
418
408
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
419
409
</div>" > /dev/null
420
410
msg_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
426
411
msg_ok " Completed Successfully!\n"
427
412
echo -e " Setup Cloud-Init before starting \n
428
413
More info at https://github.com/tteck/Proxmox/discussions/2072 \n"
0 commit comments