changed 'sata0' to 'scsi0'

to increase speed
This commit is contained in:
qqgg231 2021-05-01 22:39:05 +02:00 committed by GitHub
parent f6816052bb
commit ab124a71dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,9 +138,9 @@ pvesm alloc $STORAGE $VMID $DISK0 128 1>&/dev/null
qm importdisk $VMID ${FILE%.*} $STORAGE ${IMPORT_OPT:-} 1>&/dev/null qm importdisk $VMID ${FILE%.*} $STORAGE ${IMPORT_OPT:-} 1>&/dev/null
qm set $VMID \ qm set $VMID \
-efidisk0 ${DISK0_REF},size=128K \ -efidisk0 ${DISK0_REF},size=128K \
-sata0 ${DISK1_REF},size=6G > /dev/null -scsi0 ${DISK1_REF},size=6G > /dev/null
qm set $VMID \ qm set $VMID \
-boot order=sata0 > /dev/null -boot order=scsi0 > /dev/null
# Add serial port and enable console output # Add serial port and enable console output
set +o errtrace set +o errtrace