mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
server uninstall: ignore --ignore-topology-disconnect in domain level 0
Topology disconnect is always ignored in domain level 0, so the option can be safely ignored. https://fedorahosted.org/freeipa/ticket/5409 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
b4a78db4e7
commit
ccb2f52313
@ -1103,11 +1103,6 @@ def uninstall_check(installer):
|
||||
domain_level = dsinstance.get_domain_level(api)
|
||||
|
||||
if domain_level == constants.DOMAIN_LEVEL_0:
|
||||
if options.ignore_topology_disconnect:
|
||||
print("'--ignore-topology-disconnect' option can not be used "
|
||||
"in domain level {0}".format(constants.DOMAIN_LEVEL_0))
|
||||
sys.exit(1)
|
||||
|
||||
rm = replication.ReplicationManager(
|
||||
realm=api.env.realm,
|
||||
hostname=api.env.host,
|
||||
|
Loading…
Reference in New Issue
Block a user