diff options
-rw-r--r-- | ipaserver/install/installutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index dc98d7a51..3b9138fef 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -489,7 +489,7 @@ def get_server_ip_address(host_name, fstore, unattended, options): hosts_record = record_in_hosts(ip_address) if hosts_record is None: - if ip_add_to_hosts: + if ip_add_to_hosts or options.setup_dns: print "Adding ["+ip_address+" "+host_name+"] to your /etc/hosts file" fstore.backup_file(paths.HOSTS) add_record_to_hosts(ip_address, host_name) |