From 2d608a83548005507381f406ac97607628c934ad Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Tue, 13 May 2008 19:03:04 +0200 Subject: Don't ask the user again if he wants to replace bind configuration files if he specified --setup-bind. 430090 --- ipa-server/ipa-install/ipa-server-install | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index e1cca393..a7fd30c3 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -499,16 +499,7 @@ def main(): bind.setup(host_name, ip_address, realm_name, domain_name) if options.setup_bind: - skipbind = False - if not options.unattended: - print "This program is about to replace the DNS Server configuration," - print "with an automatically generated one, based on the data gathered so far." - print "This will REPLACE any existing configuration." - yesno = raw_input("Are you sure you want to configure the DNS Server ? [no]: ") - if not yesno or yesno.lower()[0] != 'y': - skipbind = True - if not skipbind: - bind.create_instance() + bind.create_instance() else: bind.create_sample_bind_zone() -- cgit