|
370 | 370 | msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location." |
371 | 371 | msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}." |
372 | 372 | msg_info "Retrieving the URL for the Debian 12 Qcow2 Disk Image" |
373 | | -URL=https://cloud.debian.org/images/cloud/bookworm/20240507-1740/debian-12-nocloud-amd64-20240507-1740.qcow2 |
| 373 | +URL=https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-amd64.qcow2 |
374 | 374 | sleep 2 |
375 | 375 | msg_ok "${CL}${BL}${URL}${CL}" |
376 | 376 | wget -q --show-progress $URL |
@@ -409,18 +409,44 @@ qm set $VMID \ |
409 | 409 | -efidisk0 ${DISK0_REF}${FORMAT} \ |
410 | 410 | -scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=2G \ |
411 | 411 | -boot order=scsi0 \ |
412 | | - -serial0 socket \ |
413 | | - -description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png'/></a> |
414 | | -
|
415 | | - # Debian 12 VM |
416 | | -
|
417 | | - <a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a> |
418 | | - </div>" >/dev/null |
| 412 | + -serial0 socket >/dev/null |
| 413 | +qm resize $VMID scsi0 4G >/dev/null |
| 414 | + DESCRIPTION=$(cat <<EOF |
| 415 | +<div align='center'> |
| 416 | + <a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'> |
| 417 | + <img src='https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width:81px;height:112px;'/> |
| 418 | + </a> |
| 419 | +
|
| 420 | + <h2 style='font-size: 24px; margin: 20px 0;'>Debian VM</h2> |
| 421 | +
|
| 422 | + <p style='margin: 16px 0;'> |
| 423 | + <a href='https://ko-fi.com/community_scripts' target='_blank' rel='noopener noreferrer'> |
| 424 | + <img src='https://img.shields.io/badge/☕-Buy us a coffee-blue' alt='spend Coffee' /> |
| 425 | + </a> |
| 426 | + </p> |
| 427 | + |
| 428 | + <span style='margin: 0 10px;'> |
| 429 | + <i class="fa fa-github fa-fw" style="color: #f5f5f5;"></i> |
| 430 | + <a href='https://github.com/community-scripts/ProxmoxVE' target='_blank' rel='noopener noreferrer' style='text-decoration: none; color: #00617f;'>GitHub</a> |
| 431 | + </span> |
| 432 | + <span style='margin: 0 10px;'> |
| 433 | + <i class="fa fa-comments fa-fw" style="color: #f5f5f5;"></i> |
| 434 | + <a href='https://github.com/community-scripts/ProxmoxVE/discussions' target='_blank' rel='noopener noreferrer' style='text-decoration: none; color: #00617f;'>Discussions</a> |
| 435 | + </span> |
| 436 | + <span style='margin: 0 10px;'> |
| 437 | + <i class="fa fa-exclamation-circle fa-fw" style="color: #f5f5f5;"></i> |
| 438 | + <a href='https://github.com/community-scripts/ProxmoxVE/issues' target='_blank' rel='noopener noreferrer' style='text-decoration: none; color: #00617f;'>Issues</a> |
| 439 | + </span> |
| 440 | +</div> |
| 441 | +EOF |
| 442 | +) |
| 443 | + qm set "$VMID" -description "$DESCRIPTION" >/dev/null |
| 444 | + |
419 | 445 | msg_ok "Created a Debian 12 VM ${CL}${BL}(${HN})" |
420 | 446 | if [ "$START_VM" == "yes" ]; then |
421 | 447 | msg_info "Starting Debian 12 VM" |
422 | 448 | qm start $VMID |
423 | 449 | msg_ok "Started Debian 12 VM" |
424 | 450 | fi |
425 | 451 | msg_ok "Completed Successfully!\n" |
426 | | -echo "More Info at https://github.com/tteck/Proxmox/discussions/1988" |
| 452 | +echo "More Info at https://github.com/community-scripts/ProxmoxVE/discussions/836" |
0 commit comments