Update haos-vm-v3.sh

This commit is contained in:
tteckster 2022-07-24 09:31:40 -04:00 committed by GitHub
parent ebea0be21d
commit ba2e96b7ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,7 +336,7 @@ pvesm alloc $STORAGE $VMID $DISK0 4M 1>&/dev/null
qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null
qm set $VMID \ qm set $VMID \
-efidisk0 ${DISK0_REF},efitype=4m,size=4M \ -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 \ qm set $VMID \
-boot order=scsi0 >/dev/null -boot order=scsi0 >/dev/null
qm set $VMID -description "# Home Assistant OS qm set $VMID -description "# Home Assistant OS