xenserver / xenserver-install-wizard

Post-install tools for setting up a xenserver system.
8 stars 10 forks source link

is_xen fails with chainloader grub configs #47

Open matelakat opened 11 years ago

matelakat commented 11 years ago

Having this grub config:

...
title Other
        rootnoverify (hd1,0)
        chainloader +1

I have the error message:

Starting squeezed: 
Starting xapi: 
Caught list index out of range, retrying in 5s
Traceback (most recent call last):
  File "/usr/bin/xenserver-install-wizard", line 55, in <module>
    r = grub.analyse(tui)
  File "/usr/share/xenserver-install-wizard/grub.py", line 73, in analyse
    if is_xen(all[i]):
  File "/usr/share/xenserver-install-wizard/grub.py", line 40, in is_xen
    return "xen" in get_kernel(x)
TypeError: argument of type 'NoneType' is not iterable