diff --git a/install.sh b/install.sh index 7bfe5df..166e9e1 100644 --- a/install.sh +++ b/install.sh @@ -46,8 +46,8 @@ qm create $VMID -bios ovmf -bootdisk sata0 -efidisk0 local-lvm:vm-${VMID}-disk-0 -name $(sed -e "s/\_//g" -e "s/.vdi.gz//" <<< $FILE) -net0 virtio,bridge=vmbr0 \ -onboot 1 -ostype l26 -sata0 local-lvm:vm-${VMID}-disk-1,size=6G \ -scsihw virtio-scsi-pci && \ -pvesm alloc local-lvm $VMID vm-${VMID}-disk-0 128 && \ -qm importdisk $VMID ${FILE%".gz"} local-lvm && \ +pvesm alloc local-lvm $VMID vm-${VMID}-disk-0 128 1>&/dev/null && \ +qm importdisk $VMID ${FILE%".gz"} local-lvm 1>&/dev/null && \ echo -e "\n\n\n" \ "********************************\n" \ "* Completed Successfully *\n" \