mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Don't modify redhat_system_units
ipaplatform.fedora.services used to modify the redhat_system_units dict. It now creates a proper shallow copy. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
6b9977f041
commit
94a9dfb9d7
@ -26,7 +26,7 @@ from ipaplatform.redhat import services as redhat_services
|
||||
|
||||
# Mappings from service names as FreeIPA code references to these services
|
||||
# to their actual systemd service names
|
||||
fedora_system_units = redhat_services.redhat_system_units
|
||||
fedora_system_units = redhat_services.redhat_system_units.copy()
|
||||
|
||||
# Service that sets domainname on Fedora is called fedora-domainname.service
|
||||
fedora_system_units['domainname'] = 'fedora-domainname.service'
|
||||
|
Loading…
Reference in New Issue
Block a user