summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-01-04 08:55:47 -0500
committerSimo Sorce <ssorce@redhat.com>2011-01-07 05:05:54 -0500
commit9232a478773ea06f31938d3d202a15d91c58034e (patch)
treef5887cdf0feeb3fb8f5835cb7f8c8723efe28a4e /ipaserver
parent8a9fdbfb039bf1894cf3b301c8a0f84261ec8c1c (diff)
downloadfreeipa-9232a478773ea06f31938d3d202a15d91c58034e.tar.gz
freeipa-9232a478773ea06f31938d3d202a15d91c58034e.tar.xz
freeipa-9232a478773ea06f31938d3d202a15d91c58034e.zip
Create the reverse zone by default
A new option to specify reverse zone creation for unattended installs https://fedorahosted.org/freeipa/ticket/678
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/bindinstance.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 73deda096..e1a5810f4 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -58,10 +58,8 @@ def check_inst(unattended):
return True
-def create_reverse(unattended):
- if unattended:
- return False
- return ipautil.user_input("Do you want to configure the reverse zone?", False)
+def create_reverse():
+ return ipautil.user_input("Do you want to configure the reverse zone?", True)
def named_conf_exists():
named_fd = open('/etc/named.conf', 'r')
@@ -223,7 +221,7 @@ class BindInstance(service.Service):
self.realm = None
self.forwarders = None
self.sub_dict = None
- self.create_reverse = False
+ self.create_reverse = True
if fstore:
self.fstore = fstore