mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Do not roll back failed client installation on server
In case of a failed enrollment, IPA client rolls back any changes it has made to the system. In order to have a more debuggable setup, do not roll back these changes in the case of an IPA server install. https://fedorahosted.org/freeipa/ticket/3990
This commit is contained in:
parent
df5f5c9fab
commit
c518a80ab7
@ -2606,6 +2606,11 @@ def main():
|
||||
if options.force:
|
||||
root_logger.warning(
|
||||
"Installation failed. Force set so not rolling back changes.")
|
||||
elif options.on_master:
|
||||
root_logger.warning(
|
||||
"Installation failed. As this is IPA server, changes will not "
|
||||
"be rolled back."
|
||||
)
|
||||
else:
|
||||
root_logger.error("Installation failed. Rolling back changes.")
|
||||
options.unattended = True
|
||||
|
Loading…
Reference in New Issue
Block a user