On Sat, Oct 22, 2011 at 5:53 AM, vmnode guy <vmnodeguy@gmail.com> wrote:
Hi Guy,

Anyone know how we can set up the vnc password during using virt-install command ?

         # virt-install \
              --connect qemu:///system \
              --name demo \
              --ram 500 \
              --disk path=/var/lib/libvirt/images/demo.img,size=5 \
              --network network=default,model=virtio \
              --vnc \
              --cdrom /dev/cdrom


Regards,
Peter

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Try this option instead of 

--vnc

Use

--graphics vnc,password=foobar

That should work.

--
Mohammed Naser — vexxhost
-----------------------------------------------------
D. 514-316-8872
D. 800-910-1726 ext. 200
PIN. 223141AA
E. mnaser@vexxhost.com
W. http://vexxhost.com