summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-12-09 15:42:34 +0100
committerJan Cholasta <jcholast@redhat.com>2015-12-11 07:18:44 +0100
commitccb2f523134af5246450edd04874af2d34d896cc (patch)
treec4ae8ce996bf9119fb852da3c6eac14d62599787
parentb4a78db4e7d06237a715f088d1b914b47eccf32f (diff)
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>
-rw-r--r--ipaserver/install/server/install.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py
index b6f1b98c5..613a940c6 100644
--- a/ipaserver/install/server/install.py
+++ b/ipaserver/install/server/install.py
@@ -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,