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

pull/67934/head
Dainius Sakalinskas 6 years ago committed by GitHub
parent 554676da5e
commit 735ea43aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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'

Loading…
Cancel
Save