[Freeipa-devel] [PATCH] Don't ask the user again if he wants to replace bind configuration files if he specified --setup-bind.
Martin Nagy
mnagy at redhat.com
Tue May 13 17:03:04 UTC 2008
430090
---
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 e1cca39..a7fd30c 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()
--
1.5.4.1
--------------060607080406020305010809--
More information about the Freeipa-devel
mailing list