Update pimox-haos-vm.sh

This commit is contained in:
tteckster 2022-03-29 09:04:16 -04:00 committed by GitHub
parent 90147907f7
commit 09d5fa969b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ xz -d $FILE
echo -e "Creating new HAOS VM \n" echo -e "Creating new HAOS VM \n"
qm create $VMID -agent 1 -bios ovmf -cores 2 -memory 4096 -bootdisk scsi0 \ qm create $VMID -agent 1 -bios ovmf -cores 2 -memory 4096 -bootdisk scsi0 \
-efidisk0 local:vm-${VMID}-disk-0,size=128K \ -efidisk0 local:vm-${VMID}-disk-0,size=128K \
-name test -net0 virtio,bridge=vmbr0 \ -name haos -net0 virtio,bridge=vmbr0 \
-onboot 1 -ostype l26 -scsi0 local:vm-${VMID}-disk-1,size=32G \ -onboot 1 -ostype l26 -scsi0 local:vm-${VMID}-disk-1,size=32G \
-scsihw virtio-scsi-pci && \ -scsihw virtio-scsi-pci && \
pvesm alloc local $VMID vm-${VMID}-disk-0 128 1>&/dev/null && \ pvesm alloc local $VMID vm-${VMID}-disk-0 128 1>&/dev/null && \