diff --git a/vm/haos-vm-v3.sh b/vm/haos-vm-v3.sh index 105aad6d..7e666b1b 100644 --- a/vm/haos-vm-v3.sh +++ b/vm/haos-vm-v3.sh @@ -336,7 +336,7 @@ pvesm alloc $STORAGE $VMID $DISK0 4M 1>&/dev/null qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null qm set $VMID \ -efidisk0 ${DISK0_REF},efitype=4m,size=4M \ - -scsi0 ${DISK1_REF},size=32G >/dev/null + -scsi0 ${DISK1_REF},discard=on,size=32G,ssd=1 >/dev/null qm set $VMID \ -boot order=scsi0 >/dev/null qm set $VMID -description "# Home Assistant OS