xenserver / xenserver-install-wizard

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

Failing to configure network on RHEL 6.5 #49

Closed lsearl closed 11 years ago

lsearl commented 11 years ago

In files network.py and errata.py the routine

 platform.linux_distribution()

is used to obtain the long name of the distribution. On RHEL 6.5 this is "red hat enterprise server" which does not match any of the values in the "rhel_like" variable.

If

platform.dist()

is used instead we get the short distribution name of "redhat" which does work.

Note that platform.dist() is used in grub2.py and xenserver-install-wizard.py.

euanh commented 11 years ago

Same problem in xenserver-core issue #333. platform.dist() is deprecated as of Python 2.6; platform.linux_distribution(full_distribution_name=False) seems to be the correct replacement, but I don't have a RHEL system on which to test this.

djs55 commented 11 years ago

OK, we believe this issue is fixed in version 0.2.28. Re-open again if not!