hostname Add cloudlinuxserver value to hostname.py (#66911)
This commit is contained in:
parent
554676da5e
commit
735ea43aeb
2 changed files with 8 additions and 0 deletions
2
changelogs/fragments/66911-fix-cloudlinux6-hostname.yaml
Normal file
2
changelogs/fragments/66911-fix-cloudlinux6-hostname.yaml
Normal file
|
@ -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…
Reference in a new issue