diff options
author | Brian Cook <bcook@redhat.com> | 2013-02-14 08:49:17 -0800 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-21 09:56:54 +0100 |
commit | 3ea8dabeb9e21b255bb75287743a2bbb350f61bd (patch) | |
tree | 7ce3670b2a5445746441dffbda16dcf501fb2041 | |
parent | 790a576ad15ba101df27ac0986927d102c4c514d (diff) | |
download | freeipa-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-x | install/tools/ipa-server-install | 5 |
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): |