mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Update ipa-replica-install replication agreement error message
So that it prints out a valid command: - replace "ipa-replica-manage del" by "ipa server-del" (only domain-level1 is now supported) - the commands needs to be run on a working server, not on the host where ipa-replica-install failed Fixes: https://pagure.io/freeipa/issue/9162 Reviewed-By: Michal Polovka <mpolovka@redhat.com>
This commit is contained in:
parent
9cc703fd0e
commit
5457fb7f7e
@ -1023,8 +1023,8 @@ def promote_check(installer):
|
||||
if replman.get_replication_agreement(config.host_name):
|
||||
msg = ("A replication agreement for this host already exists. "
|
||||
"It needs to be removed.\n"
|
||||
"Run this command:\n"
|
||||
" %% ipa-replica-manage del {host} --force"
|
||||
"Run this command on any working server:\n"
|
||||
" %% ipa server-del {host} --force"
|
||||
.format(host=config.host_name))
|
||||
raise ScriptError(msg, rval=3)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user