<div dir="ltr">Thanks so much! This works for me now.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 4:52 PM, Cole Robinson <span dir="ltr"><<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 05/28/2013 12:23 AM, Diptanu Gon Choudhury wrote:<br>
> Hi,<br>
><br>
> Just began installing virt-tools. Trying to install a windows 2008 server with<br>
> virt-install and spice as the protocol to access the VDI.<br>
><br>
> Using the following command -<br>
><br>
> sudo virt-install --connect qemu:///system --name WinServ2008 --ram 4096<br>
> --vcpus 2 --disk<br>
> path=~/Boxes/qemu/winserver2008.qcow2,format=qcow2,bus=virtio,cache=none<br>
> --disk path=~/Downloads/virtio-win-0.1-59.iso,device=cdrom --cdrom<br>
> ~/Boxes/iso/Win_2008_R2_64Bit_Standard_w_SP1_MLF_X17-22580.ISO<br>
</div>> --network=bridge:virbr0,model=e1000 *--graphics<br>
>  spice,port=5901,listen=0.0.0.0* --accelerate --soundhw ac97 --os-type=windows<br>
<div class="im">> --os-variant=win2k8  --noautoconsole --accelerate --noapic --keymap=en-us<br>
><br>
><br>
</div>> I am getting the error - ERROR    *Cannot mix --graphics and old style<br>
> graphical options*<br>
<div class="im">><br>
> I would be glad if anyone cant point me to what I am doing wrong here. I<br>
> couldn't find any spice example in the man pages of virt-install.<br>
<br>
</div>The problem is combining --keymap with --graphics. You should use --graphics<br>
...,keymap=en-us (but in reality, specifying the keymap here is likely<br>
redundant and you can drop it).<br>
<br>
That error should be improved to explicitly mention the conflicting option.<br>
I'll take a bug report for it.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Cole<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Diptanu Choudhury<br>Senior Consultant, ThoughtWorks<div>Mobile - +447808024919</div><div>Web - <a href="http://www.linkedin.com/in/diptanu" target="_blank">http://www.linkedin.com/in/diptanu</a></div>

<div>Twitter - @diptanu</div>
</div>