<div>Seem like there is no such option, or could my option place it incorrectly ?</div><div><br></div><div><div>root@cloudnode2:~/new# cat virt-install.sh </div><div>vm_uid=testvm</div><div>vcpu=2</div><div>ram=512</div><div>
diskspace=10</div><div>path=/home/source/ubuntu-10.04.2-server-amd64.iso</div><div><br></div><div><br></div><div>#virt-install -n $vm_uid --vcpus=$vcpu -r $ram -f /root/new/disk0.raw -s $diskspace -c $path --accelerate --connect=qemu:///system --vnc --vnclisten=0.0.0.0 --noautoconsole -v</div>
<div><br></div><div>virt-install -n $vm_uid --vcpus=$vcpu -r $ram -f /root/new/disk0.raw -s $diskspace -c $path --accelerate --connect=qemu:///system --vnc --graphics vnc,password=testing --noautoconsole -v</div><div>root@cloudnode2:~/new# </div>
<div>root@cloudnode2:~/new# </div><div>root@cloudnode2:~/new# sh virt-install.sh </div><div>Usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]</div><div><br></div><div>virt-install: error: no such option: --graphics</div>
<div>root@cloudnode2:~/new# </div></div><div><br></div><div>Regards,</div><div>Peter Cheng</div><div><br></div><div><div class="gmail_quote">On Sun, Oct 23, 2011 at 1:54 AM, Mohammed Naser <span dir="ltr"><<a href="mailto:mnaser@vexxhost.com">mnaser@vexxhost.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="gmail_quote"><div><div></div><div class="h5">On Sat, Oct 22, 2011 at 5:53 AM, vmnode guy <span dir="ltr"><<a href="mailto:vmnodeguy@gmail.com" target="_blank">vmnodeguy@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<div>Hi Guy,</div><div><br></div><div>Anyone know how we can set up the vnc password during using virt-install command ?</div><div><br></div><div><div>         # virt-install \</div><div>              --connect qemu:///system \</div>



<div>              --name demo \</div><div>              --ram 500 \</div><div>              --disk path=/var/lib/libvirt/images/demo.img,size=5 \</div><div>              --network network=default,model=virtio \</div><div>



              --vnc \</div><div>              --cdrom /dev/cdrom</div></div><div><br></div><div><br></div><div>Regards,</div><div>Peter</div>
<br></div></div>_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br></blockquote></div><br><br>Try this option instead of </div><div><br></div><div>

--vnc</div><div><br></div><div>Use</div><div><br></div><div>--graphics vnc,password=foobar</div><div><br></div><div>That should work.</div><div><div><br></div><font color="#888888">-- <br><span style="font-family:Arial;font-size:8pt"><span style="color:rgb(70, 130, 180);font-size:10pt">Mohammed Naser</span> — <span style="font-weight:bold">vexxhost</span><br>

</span><div><span style="font-family:Arial;font-size:8pt"><span><span style="color:rgb(220, 220, 220)">-----------------------------------------------------</span></span></span></div><div><span style="font-family:Arial;font-size:11px;font-weight:bold">D. </span><span style="font-family:Arial;font-size:11px"><a href="tel:514-316-8872" value="+15143168872" target="_blank">514-316-8872</a></span></div>

<div><span style="font-family:Arial;font-size:11px"><span style="font-weight:bold">D.</span> <a href="tel:800-910-1726%20ext.%20200" value="+18009101726" target="_blank">800-910-1726 ext. 200</a></span></div><div><span style="font-family:Arial;font-size:11px"><span style="font-weight:bold">PIN. </span>223141AA</span></div>

<div><span style="font-family:Arial;font-size:11px"><span style="font-weight:bold">E. </span><a href="mailto:mnaser@vexxhost.com" target="_blank">mnaser@vexxhost.com</a></span></div><div><span style="font-family:Arial;font-size:11px"><span style="font-weight:bold">W. </span><a href="http://vexxhost.com/" target="_blank">http://vexxhost.com</a></span></div>

<br>
</font></div>
</blockquote></div><br></div>