hostname: add support for Anolis distro (#74829)

project website https://openanolis.org/

Signed-off-by: Liwei Ge <geliwei@openanolis.org>
pull/74844/head
geliwei 5 years ago committed by GitHub
parent 774e563452
commit 138b3b6851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
minor_changes:
- modules - add Anolis distro in hostname.py. project website https://openanolis.org/

@ -713,6 +713,12 @@ class CentOSHostname(Hostname):
strategy_class = RedHatStrategy
class AnolisOSHostname(Hostname):
platform = 'Linux'
distribution = 'Anolis'
strategy_class = RedHatStrategy
class ClearLinuxHostname(Hostname):
platform = 'Linux'
distribution = 'Clear-linux-os'

Loading…
Cancel
Save