hostname: add support for Anolis distro (#74829)
project website https://openanolis.org/ Signed-off-by: Liwei Ge <geliwei@openanolis.org>
This commit is contained in:
parent
774e563452
commit
138b3b6851
2 changed files with 8 additions and 0 deletions
2
changelogs/fragments/add-anolis-distro-in-hostname.yaml
Normal file
2
changelogs/fragments/add-anolis-distro-in-hostname.yaml
Normal file
|
@ -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
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
|
|
||||||
|
class AnolisOSHostname(Hostname):
|
||||||
|
platform = 'Linux'
|
||||||
|
distribution = 'Anolis'
|
||||||
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
|
|
||||||
class ClearLinuxHostname(Hostname):
|
class ClearLinuxHostname(Hostname):
|
||||||
platform = 'Linux'
|
platform = 'Linux'
|
||||||
distribution = 'Clear-linux-os'
|
distribution = 'Clear-linux-os'
|
||||||
|
|
Loading…
Reference in a new issue