Change options order

This commit is contained in:
Najihel 2020-12-06 19:17:19 +01:00
parent 783a82dbb3
commit bcd637fd70

View File

@ -135,8 +135,8 @@ qm create $VMID -agent 1 -bios ovmf -name $VM_NAME -net0 virtio,bridge=vmbr0 \
-onboot 1 -ostype l26 -scsihw virtio-scsi-pci
pvesm alloc $STORAGE $VMID $DISK0 128 1>&/dev/null
qm importdisk $VMID ${FILE%".gz"} $STORAGE ${IMPORT_OPT:-} 1>&/dev/null
qm set $VMID -boot order=sata0 -efidisk0 ${DISK0_REF},size=128K \
-sata0 ${DISK1_REF},size=6G > /dev/null
qm set $VMID -efidisk0 ${DISK0_REF},size=128K \
-sata0 ${DISK1_REF},size=6G -boot order=sata0 > /dev/null
# Add serial port and enable console output
set +o errtrace