Fixes issue #8339 where Scientific Linux incorrectly tries to use FedoraStrategy of hostnamectl

This commit is contained in:
Jonathan Mainguy 2014-08-02 15:38:52 -04:00
parent b9a5242f03
commit c0966eee7c

View file

@ -344,7 +344,7 @@ class ScientificHostname(Hostname):
class ScientificLinuxHostname(Hostname): class ScientificLinuxHostname(Hostname):
platform = 'Linux' platform = 'Linux'
distribution = 'Scientific linux' distribution = 'Scientific linux'
strategy_class = FedoraStrategy strategy_class = RedHatStrategy
class AmazonLinuxHostname(Hostname): class AmazonLinuxHostname(Hostname):
platform = 'Linux' platform = 'Linux'