mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add support for Red Hat Atomic Host (#25906)
Fix adds support for Red Hat Enterprise Linux Atomic Host. RHEL Atomic host uses same RHEL Server strategy for modifying hostname. Fixes #25903 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
f3c98f482a
commit
aa32f4e80c
1 changed files with 5 additions and 0 deletions
|
@ -637,6 +637,11 @@ class RedHatWorkstationHostname(Hostname):
|
||||||
distribution = 'Red hat enterprise linux workstation'
|
distribution = 'Red hat enterprise linux workstation'
|
||||||
strategy_class = RedHatStrategy
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
|
class RedHatAtomicHostname(Hostname):
|
||||||
|
platform = 'Linux'
|
||||||
|
distribution = 'Red hat enterprise linux atomic host'
|
||||||
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
class CentOSHostname(Hostname):
|
class CentOSHostname(Hostname):
|
||||||
platform = 'Linux'
|
platform = 'Linux'
|
||||||
distribution = 'Centos'
|
distribution = 'Centos'
|
||||||
|
|
Loading…
Add table
Reference in a new issue