Closed lsearl closed 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.
OK, we believe this issue is fixed in version 0.2.28. Re-open again if not!
In files network.py and errata.py the routine
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
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.