summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cook <bcook@redhat.com>2013-02-14 08:49:17 -0800
committerMartin Kosek <mkosek@redhat.com>2013-03-21 09:56:54 +0100
commit3ea8dabeb9e21b255bb75287743a2bbb350f61bd (patch)
tree7ce3670b2a5445746441dffbda16dcf501fb2041
parent790a576ad15ba101df27ac0986927d102c4c514d (diff)
downloadfreeipa-3ea8dabeb9e21b255bb75287743a2bbb350f61bd.tar.gz
freeipa-3ea8dabeb9e21b255bb75287743a2bbb350f61bd.tar.xz
freeipa-3ea8dabeb9e21b255bb75287743a2bbb350f61bd.zip
Add DNS Setup Prompt to Install
Currently the only way to setup integrated DNS is by passing --setup-dns to ipa-server-install. This patch modifies install so that if --setup-dns is not passed, the user is asked if they want to configure integrated dns. http://fedorahosted.org/freeipa/ticket/2575
-rwxr-xr-xinstall/tools/ipa-server-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 57511c214..479894b36 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -750,6 +750,11 @@ def main():
admin_password = ""
reverse_zone = None
+ if not options.setup_dns and not options.unattended:
+ if ipautil.user_input("Do you want to configure integrated DNS (BIND)?", False):
+ options.setup_dns = True
+ print ""
+
# check bind packages are installed
if options.setup_dns:
if not bindinstance.check_inst(options.unattended):