Update install.sh

This commit is contained in:
whiskerz007 2019-02-18 15:20:49 +01:00 committed by GitHub
parent c6ddc665de
commit a30f67cebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \ -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 \ -onboot 1 -ostype l26 -sata0 local-lvm:vm-${VMID}-disk-1,size=6G \
-scsihw virtio-scsi-pci && \ -scsihw virtio-scsi-pci && \
pvesm alloc local-lvm $VMID vm-${VMID}-disk-0 128 && \ pvesm alloc local-lvm $VMID vm-${VMID}-disk-0 128 1>&/dev/null && \
qm importdisk $VMID ${FILE%".gz"} local-lvm && \ qm importdisk $VMID ${FILE%".gz"} local-lvm 1>&/dev/null && \
echo -e "\n\n\n" \ echo -e "\n\n\n" \
"********************************\n" \ "********************************\n" \
"* Completed Successfully *\n" \ "* Completed Successfully *\n" \