summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ipa_replica_prepare.py
diff options
context:
space:
mode:
authorDavid Kupka <dkupka@redhat.com>2015-12-22 13:53:41 +0000
committerMartin Basti <mbasti@redhat.com>2016-01-11 16:34:31 +0100
commitf05bea5a12da1db6628d84dab6c99c6610c433d8 (patch)
treea606a5c0f27648473b9fb90cd336378ef60768cb /ipaserver/install/ipa_replica_prepare.py
parent1995997071f82509ca4b7e3daca244c49db42208 (diff)
downloadfreeipa-f05bea5a12da1db6628d84dab6c99c6610c433d8.tar.gz
freeipa-f05bea5a12da1db6628d84dab6c99c6610c433d8.tar.xz
freeipa-f05bea5a12da1db6628d84dab6c99c6610c433d8.zip
ipa-replica-prepare: Add '--auto-reverse' and '--allow-zone-overlap' options
Opiton should be added to ipa-replica-prepare when it was added to ipa-{server,replica,dns}-install but was forgotten. https://fedorahosted.org/freeipa/ticket/5563 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/ipa_replica_prepare.py')
-rw-r--r--ipaserver/install/ipa_replica_prepare.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipaserver/install/ipa_replica_prepare.py b/ipaserver/install/ipa_replica_prepare.py
index cef0228ea..e9fd2d91d 100644
--- a/ipaserver/install/ipa_replica_prepare.py
+++ b/ipaserver/install/ipa_replica_prepare.py
@@ -80,6 +80,11 @@ class ReplicaPrepare(admintool.AdminTool):
parser.add_option("--no-reverse", dest="no_reverse",
action="store_true", default=False,
help="do not create reverse DNS zone")
+ parser.add_option("--auto-reverse", dest="auto_reverse", default=False,
+ action="store_true", help="create necessary DNS zones")
+ parser.add_option("--allow-zone-overlap", dest="allow_zone_overlap",
+ action="store_true", default=False, help="create DNS "
+ "zone even if it already exists")
parser.add_option("--no-pkinit", dest="setup_pkinit",
action="store_false", default=True,
help="disables pkinit setup steps")