diff options
author | Martin Nagy <mnagy@redhat.com> | 2010-04-06 19:47:21 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-04-23 17:21:53 -0400 |
commit | 9dc7cf93387403a8b27ae223958d99c5fa127edd (patch) | |
tree | 647c4114e239cb360f50106f102c4edd788f05bc /ipaserver | |
parent | 04182bf68fca4ff259314ec7c0a84a447866ec0f (diff) | |
download | freeipa-9dc7cf93387403a8b27ae223958d99c5fa127edd.tar.gz freeipa-9dc7cf93387403a8b27ae223958d99c5fa127edd.tar.xz freeipa-9dc7cf93387403a8b27ae223958d99c5fa127edd.zip |
Some more changes for DNS forwarders prompt
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/installutils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index df3c8916c..54d8df32a 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -151,9 +151,8 @@ def read_ip_address(host_name, fstore): def read_dns_forwarders(): addrs = [] - if ipautil.user_input("Do you wish to configure DNS forwarders?", False): - print "Please enter the IP addresses of DNS forwarders that you want to use." - print "After you are done, enter a blank line to stop." + if ipautil.user_input("Do you want to configure DNS forwarders?", True): + print "Enter the IP address of DNS forwarder to use, or press Enter to finish." while True: ip = ipautil.user_input("Enter IP address for a DNS forwarder", @@ -164,6 +163,7 @@ def read_dns_forwarders(): print "You cannot use localhost as a DNS forwarder" continue if not verify_ip_address(ip): + print "DNS forwarder %s not added" % ip continue print "DNS forwarder %s added" % ip |