Update debian-13-fr-vm.sh

This commit is contained in:
2026-02-21 17:45:12 +01:00
parent 21bc334cdf
commit 904635c346

View File

@@ -37,7 +37,6 @@ qm importdisk $VMID "$FILE" $STORAGE
qm set $VMID \ qm set $VMID \
-scsi0 ${STORAGE}:vm-${VMID}-disk-0 \ -scsi0 ${STORAGE}:vm-${VMID}-disk-0 \
-boot order=scsi0 \ -boot order=scsi0 \
-serial0 socket \
-scsi1 ${STORAGE}:cloudinit -scsi1 ${STORAGE}:cloudinit
@@ -47,9 +46,6 @@ qm set "$VMID" --ipconfig0 ip=dhcp >/dev/null
# Root user + password via Proxmox cloud-init (fiable) # Root user + password via Proxmox cloud-init (fiable)
qm set "$VMID" --ciuser root --cipassword "root" >/dev/null qm set "$VMID" --ciuser root --cipassword "root" >/dev/null
qm set "$VMID" --serial0 socket
qm set "$VMID" --vga serial0 >/dev/null
# Resize disque côté Proxmox # Resize disque côté Proxmox
qm resize "$VMID" scsi0 "$DISK_SIZE" >/dev/null qm resize "$VMID" scsi0 "$DISK_SIZE" >/dev/null
@@ -116,14 +112,6 @@ EOF
qm set $VMID --cicustom "user=local:snippets/${VMID}-user-data.yaml" qm set $VMID --cicustom "user=local:snippets/${VMID}-user-data.yaml"
DESCRIPTION=$(cat <<EOF DESCRIPTION=$(cat <<EOF
<div align='center'>
<img src='https://www.azylis.net/wp-content/uploads/logo-azylis.png'
alt='AZYLIS'
style='max-width:220px;margin-bottom:10px;'>
<h2>Debian 13 — Template AZYLIS</h2>
</div>
<b>Informations VM</b><br> <b>Informations VM</b><br>
<ul> <ul>
<li><b>Hostname :</b> $HN</li> <li><b>Hostname :</b> $HN</li>
@@ -152,7 +140,7 @@ DESCRIPTION=$(cat <<EOF
<hr> <hr>
<div align='center'> <div align='center'>
<small>Provisionné automatiquement par AZYLIS — Vision 360 IT</small> <small>Provisionné automatiquement par AZYLIS</small>
</div> </div>
EOF EOF
) )