[libvirt-users] virt-install not spawning VM

Sudarshan Pathalam (supathal) supathal at cisco.com
Fri Nov 8 03:29:31 UTC 2013


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131108/101f5a15/attachment.htm>


More information about the libvirt-users mailing list