From b5eb3c41e34bddd6fff3c20d5317bec117491e9c Mon Sep 17 00:00:00 2001 From: dragon3 Date: Thu, 28 Nov 2013 09:31:25 +0900 Subject: [PATCH] hostname module: add support for Amazon Linux --- system/hostname | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/hostname b/system/hostname index 04a831bc9d4..155f0420e62 100644 --- a/system/hostname +++ b/system/hostname @@ -236,6 +236,11 @@ class CentOSHostname(Hostname): distribution = 'Centos' strategy_class = RedHatStrategy +class AmazonLinuxHostname(Hostname): + platform = 'Linux' + distribution = 'Amazon' + strategy_class = RedHatStrategy + # =========================================== class FedoraStrategy(GenericStrategy):