Detect Red Hat Desktop as 'rhel' distro (RHBZ#682979).
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 8 Mar 2011 08:10:19 +0000 (08:10 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 8 Mar 2011 08:10:19 +0000 (08:10 +0000)
commitc1a227a960066fb9552e0c225bc473be365b67b0
tree9de10c3fa6b07491a72878b8aea5dac2144ccab4
parenta9d6b948b590f58023a97dddd76302e40d49d2e2
Detect Red Hat Desktop as 'rhel' distro (RHBZ#682979).

/etc/redhat-release on Red Hat Desktop contains the following
string:
  Red Hat Desktop release 4 (Nahant Update 8)

Previously we matched against the string "Red Hat Enterprise Linux"
but since this does not contain that string, this distro wasn't being
detected correctly.

Note this also changes the obsolete Perl code, for the benefit of
virt-v2v.
perl/lib/Sys/Guestfs/Lib.pm
src/inspect.c