Add alinux hostname module support (#72894)

This commit is contained in:
log-e 2020-12-08 23:42:42 +08:00 committed by GitHub
parent bc35fbf5de
commit 8f77e95765
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- hostname - Fixed an issue where the hostname on the alinux could not be set.

View file

@ -812,6 +812,12 @@ class CloudlinuxHostname(Hostname):
strategy_class = RedHatStrategy
class AlinuxHostname(Hostname):
platform = 'Linux'
distribution = 'Alinux'
strategy_class = RedHatStrategy
class CoreosHostname(Hostname):
platform = 'Linux'
distribution = 'Coreos'