Update haos_vm.sh

This commit is contained in:
tteckster 2022-01-22 18:17:03 -05:00 committed by GitHub
parent 5490822e86
commit ff863203c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,9 +133,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 \
-scsi0 ${DISK1_REF},size=32G > /dev/null -scsi0 ${DISK1_REF},size=32G >/dev/null
qm set $VMID \ qm set $VMID \
-boot order=scsi0 > /dev/null -boot order=scsi0 >/dev/null
set +o errtrace set +o errtrace
( (
echo -e "${CHECKMARK} \e[1;92m Adding serial port and configuring console... \e[0m" echo -e "${CHECKMARK} \e[1;92m Adding serial port and configuring console... \e[0m"