Browse code

hostname: fix for a new version of rhel (#31839)

Fixes #31811
(cherry picked from commit efec43dd1e7169c84fa00ff241cfcd25f7338423)

Martin Krizek authored on 2017/10/18 02:43:54
Showing 1 changed files
... ...
@@ -610,6 +610,11 @@ class RedHat5Hostname(Hostname):
610 610
     distribution = 'Redhat'
611 611
     strategy_class = RedHatStrategy
612 612
 
613
+class RHELHostname(Hostname):
614
+    platform = 'Linux'
615
+    distribution = 'Red hat enterprise linux'
616
+    strategy_class = RedHatStrategy
617
+
613 618
 class RedHatServerHostname(Hostname):
614 619
     platform = 'Linux'
615 620
     distribution = 'Red hat enterprise linux server'