Update install.sh
This commit is contained in:
parent
c6ddc665de
commit
a30f67cebe
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user