summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-12-22 14:03:09 +0100
committerSimo Sorce <ssorce@redhat.com>2010-12-22 11:37:12 -0500
commit5747568e5dfd5898c35beb89024df7a7068730e8 (patch)
treeb7daf862dda522e4b0a9c988dbd28e01b5141eb8 /install/tools
parentf5a10bc2ec7a563b8f7a2570d47a3c4628224d0f (diff)
downloadfreeipa-5747568e5dfd5898c35beb89024df7a7068730e8.tar.gz
freeipa-5747568e5dfd5898c35beb89024df7a7068730e8.tar.xz
freeipa-5747568e5dfd5898c35beb89024df7a7068730e8.zip
Ask for reverse zone creation only when --setup-bind is specified
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-server-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 6bd06c93f..b73b63e10 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -545,6 +545,7 @@ def main():
master_password = ""
dm_password = ""
admin_password = ""
+ create_reverse = False
# check bind packages are installed
if options.setup_dns:
@@ -834,7 +835,8 @@ def main():
# Create a BIND instance
bind = bindinstance.BindInstance(fstore, dm_password)
- create_reverse = bindinstance.create_reverse(options.unattended)
+ if options.setup_dns:
+ create_reverse = bindinstance.create_reverse(options.unattended)
bind.setup(host_name, ip_address, realm_name, domain_name, dns_forwarders, options.conf_ntp, create_reverse, zonemgr=options.zonemgr)
if options.setup_dns:
api.Backend.ldap2.connect(bind_dn="cn=Directory Manager", bind_pw=dm_password)