Nerijus Baliunas wrote:
> Hello,
>
> I have Fedora 10, and running
> virt-install -n skaita -r 64 --disk
> path=/var/lib/libvirt/images/skaita.img,size=2 --cdrom
> /a/freedos/fdbasecd.iso -w bridge:br0 --vnc --accelerate --os-type=other
> --os-variant=msdos
> gives:
> ERROR list index out of range
> Traceback (most recent call last):
> File "/usr/sbin/virt-install", line 692, in <module>
> main()
> File "/usr/sbin/virt-install", line 577, in main
> options.sdl, options.keymap, guest)
> File "/usr/lib/python2.5/site-packages/virtinst/cli.py", line 339, in
> get_graphics
> guest.graphics_dev = VirtualGraphics(type=VirtualGraphics.TYPE_VNC)
> File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 207, in
> __init__
> self.set_keymap(keymap)
> File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 219, in
> set_keymap
> val = util.default_keymap()
> File "/usr/lib/python2.5/site-packages/virtinst/util.py", line 296, in
> default_keymap
> kt = s.split('"')[1]
> IndexError: list index out of range
>
> Assuming it's something with my locale, I tried to set LANG=en_US
> LC_ALL=en_US LC_CTYPE=en_US
> but it didn't help. I changed line 296 from kt = s.split('"')[1] to kt =
> s.split('"')[0] and
> I was able to start install.
>
Hmm, this should be fixed with current upstream. Just to be sure,
what does 'cat /etc/sysconfig/keyboard' give?
Thanks,
Cole
_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools