Update haos_vm.sh

pull/10/head
tteckster 3 years ago committed by GitHub
parent 5d80da198b
commit a4169ad504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -141,9 +141,9 @@ pvesm alloc $STORAGE $VMID $DISK0 128 1>&/dev/null
qm importdisk $VMID ${FILE%.*} $STORAGE ${IMPORT_OPT:-} 1>&/dev/null
qm set $VMID \
-efidisk0 ${DISK0_REF},size=128K \
-sata0 ${DISK1_REF},size=32G > /dev/null
-scsi0 ${DISK1_REF},size=32G > /dev/null
qm set $VMID \
-boot order=sata0 > /dev/null
-boot order=scsi0 > /dev/null
set +o errtrace
(
echo -e "${CHECKMARK} \e[1;92m Adding serial port and configuring console... \e[0m"
@ -174,4 +174,4 @@ set +o errtrace
qm set $VMID -serial0 socket >/dev/null
)
info "Completed Successfully! New VM ID is \e[1m$VMID\e[0m."
info "Completed Successfully! New VM ID is \e[1m$VMID\e[0m."

Loading…
Cancel
Save

Powered by BW's shoe-string budget.