Hello,

In trying girt-install with below parameters I get the following error,
-bash: virt-install --connect qemu:///system --name vm1 --ram 2048 --vcpus: No such file or directory
What am I doing wrong?

Thanks in advance.

host:~# qemu-img create -f qcow2 /var/lib/libvirt/images/vm1.qcow2 20480
Formatting '/var/lib/libvirt/images/vm1.qcow2', fmt=qcow2 size=20480 encryption=off cluster_size=65536 

host:~# ls /var/lib/libvirt/images/
ubuntu-12.04.3-server-amd64.iso  vm1.qcow2

host:~# virt-install \
> --connect qemu:///system \
> --name vm1 \
> --ram 2048 \
> --vcpus 2 \
> --disk path=/var/lib/libvirt/images/vm1.qcow2,size=20 \
> --cdrom /var/lib/libvirt/images/ubuntu-12.04.3-server-amd64.iso \
> --graphics vnc \
> --virt-type kvm \
> --os-type linux\
> --network=br1 \
> --hvm
-bash: virt-install --connect qemu:///system --name vm1 --ram 2048 --vcpus: No such file or directory