hostname Add cloudlinuxserver value to hostname.py (#66911)

This commit is contained in:
Dainius Sakalinskas 2020-02-28 17:26:08 +02:00 committed by GitHub
parent 554676da5e
commit 735ea43aeb
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 cloudlinux 6 server could not be set.

View file

@ -658,6 +658,12 @@ class ClearLinuxHostname(Hostname):
strategy_class = SystemdStrategy
class CloudlinuxserverHostname(Hostname):
platform = 'Linux'
distribution = 'Cloudlinuxserver'
strategy_class = RedHatStrategy
class CloudlinuxHostname(Hostname):
platform = 'Linux'
distribution = 'Cloudlinux'