hostname module: add support for Amazon Linux
This commit is contained in:
parent
a1f1f459d8
commit
b5eb3c41e3
1 changed files with 5 additions and 0 deletions
|
@ -236,6 +236,11 @@ class CentOSHostname(Hostname):
|
||||||
distribution = 'Centos'
|
distribution = 'Centos'
|
||||||
strategy_class = RedHatStrategy
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
|
class AmazonLinuxHostname(Hostname):
|
||||||
|
platform = 'Linux'
|
||||||
|
distribution = 'Amazon'
|
||||||
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|
||||||
class FedoraStrategy(GenericStrategy):
|
class FedoraStrategy(GenericStrategy):
|
||||||
|
|
Loading…
Reference in a new issue