diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-11-11 19:27:27 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-12-02 16:46:02 -0500 |
commit | 88188cbb2050d4488df443a3f44454dd1867941f (patch) | |
tree | 146d5bfd5af651bfb68cffc25a535a4d850515d2 /install/tools/ipa-dns-install | |
parent | a41e69fba360d7cfc83e8592528562e06573533b (diff) | |
download | freeipa-88188cbb2050d4488df443a3f44454dd1867941f.tar.gz freeipa-88188cbb2050d4488df443a3f44454dd1867941f.tar.xz freeipa-88188cbb2050d4488df443a3f44454dd1867941f.zip |
Do not create reverse zone by default
Prompt for creation of reverse zone, with the default for unattended
installations being False.
https://fedorahosted.org/freeipa/ticket/418
Diffstat (limited to 'install/tools/ipa-dns-install')
-rwxr-xr-x | install/tools/ipa-dns-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index 5604931a5..bf6679e38 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -161,7 +161,8 @@ def main(): # Create a BIND instance bind = bindinstance.BindInstance(fstore, dm_password) - bind.setup(api.env.host, ip_address, api.env.realm, api.env.domain, dns_forwarders, conf_ntp, zonemgr=options.zonemgr) + create_reverse = bindinstance.create_reverse(options.unattended) + bind.setup(api.env.host, ip_address, api.env.realm, api.env.domain, dns_forwarders, conf_ntp, create_reverse, zonemgr=options.zonemgr) api.Backend.ldap2.connect(bind_dn="cn=Directory Manager", bind_pw=dm_password) bind.create_instance() |