diff options
author | Martin Nagy <mnagy@redhat.com> | 2008-05-13 19:03:04 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-05-14 16:25:10 -0400 |
commit | 2d608a83548005507381f406ac97607628c934ad (patch) | |
tree | 4173be25e657881217f014045d8b96420a2db8b8 /ipa-server | |
parent | 28f312664e7f71d8d5bb1d8693d2ae7a0522330f (diff) | |
download | freeipa-2d608a83548005507381f406ac97607628c934ad.tar.gz freeipa-2d608a83548005507381f406ac97607628c934ad.tar.xz freeipa-2d608a83548005507381f406ac97607628c934ad.zip |
Don't ask the user again if he wants to replace bind configuration files if he specified --setup-bind.
430090
Diffstat (limited to 'ipa-server')
-rw-r--r-- | ipa-server/ipa-install/ipa-server-install | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index e1cca3930..a7fd30c3a 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() |