From 00352c8c4eadda364ad839c61c284cca1caa8e11 Mon Sep 17 00:00:00 2001 From: whiskerz007 <2713522+whiskerz007@users.noreply.github.com> Date: Thu, 10 Dec 2020 22:13:07 +0100 Subject: [PATCH] Update boot order command --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ec4af9d..6649665 100644 --- a/install.sh +++ b/install.sh @@ -135,8 +135,11 @@ 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 -bootdisk sata0 -efidisk0 ${DISK0_REF},size=128K \ +qm set $VMID \ + -efidisk0 ${DISK0_REF},size=128K \ -sata0 ${DISK1_REF},size=6G > /dev/null +qm set $VMID \ + -boot order=sata0 > /dev/null # Add serial port and enable console output set +o errtrace