From a30f67cebe2e3491941bd7f05581c533486aeb4c Mon Sep 17 00:00:00 2001 From: whiskerz007 <2713522+whiskerz007@users.noreply.github.com> Date: Mon, 18 Feb 2019 15:20:49 +0100 Subject: [PATCH] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" \