diff --git a/ipaserver/install/dns.py b/ipaserver/install/dns.py index fe662741e..dedafec28 100644 --- a/ipaserver/install/dns.py +++ b/ipaserver/install/dns.py @@ -260,6 +260,9 @@ def install_check(standalone, api, replica, options, hostname): ip_addresses = get_server_ip_address(hostname, options.unattended, True, options.ip_addresses) + util.network_ip_address_warning(ip_addresses) + util.broadcast_ip_address_warning(ip_addresses) + if not options.forward_policy: # user did not specify policy, derive it: default is 'first' but # if any of local IP addresses belongs to private ranges use 'only' diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py index 7733106d0..ff50bef44 100644 --- a/ipaserver/install/server/install.py +++ b/ipaserver/install/server/install.py @@ -613,8 +613,9 @@ def install_check(installer): not installer.interactive, False, options.ip_addresses) - network_ip_address_warning(ip_addresses) - broadcast_ip_address_warning(ip_addresses) + # check addresses here, dns module is doing own check + network_ip_address_warning(ip_addresses) + broadcast_ip_address_warning(ip_addresses) # installer needs to update hosts file when DNS subsystem will be # installed or custom addresses are used diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py index 571b86094..aefe158df 100644 --- a/ipaserver/install/server/replicainstall.py +++ b/ipaserver/install/server/replicainstall.py @@ -739,8 +739,9 @@ def install_check(installer): config.host_name, not installer.interactive, False, options.ip_addresses) - network_ip_address_warning(config.ips) - broadcast_ip_address_warning(config.ips) + # check addresses here, dns module is doing own check + network_ip_address_warning(config.ips) + broadcast_ip_address_warning(config.ips) except errors.ACIError: raise ScriptError("\nThe password provided is incorrect for LDAP server " @@ -1314,8 +1315,9 @@ def promote_check(installer): config.host_name, not installer.interactive, False, options.ip_addresses) - network_ip_address_warning(config.ips) - broadcast_ip_address_warning(config.ips) + # check addresses here, dns module is doing own check + network_ip_address_warning(config.ips) + broadcast_ip_address_warning(config.ips) except errors.ACIError: raise ScriptError("\nInsufficient privileges to promote the server.")