mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add check for IP addresses into DNS installer
https://fedorahosted.org/freeipa/ticket/5814 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
b7fcbe9a59
commit
bb2c1790ea
@ -260,6 +260,9 @@ def install_check(standalone, api, replica, options, hostname):
|
|||||||
ip_addresses = get_server_ip_address(hostname, options.unattended,
|
ip_addresses = get_server_ip_address(hostname, options.unattended,
|
||||||
True, options.ip_addresses)
|
True, options.ip_addresses)
|
||||||
|
|
||||||
|
util.network_ip_address_warning(ip_addresses)
|
||||||
|
util.broadcast_ip_address_warning(ip_addresses)
|
||||||
|
|
||||||
if not options.forward_policy:
|
if not options.forward_policy:
|
||||||
# user did not specify policy, derive it: default is 'first' but
|
# user did not specify policy, derive it: default is 'first' but
|
||||||
# if any of local IP addresses belongs to private ranges use 'only'
|
# if any of local IP addresses belongs to private ranges use 'only'
|
||||||
|
@ -613,6 +613,7 @@ def install_check(installer):
|
|||||||
not installer.interactive, False,
|
not installer.interactive, False,
|
||||||
options.ip_addresses)
|
options.ip_addresses)
|
||||||
|
|
||||||
|
# check addresses here, dns module is doing own check
|
||||||
network_ip_address_warning(ip_addresses)
|
network_ip_address_warning(ip_addresses)
|
||||||
broadcast_ip_address_warning(ip_addresses)
|
broadcast_ip_address_warning(ip_addresses)
|
||||||
|
|
||||||
|
@ -739,6 +739,7 @@ def install_check(installer):
|
|||||||
config.host_name, not installer.interactive, False,
|
config.host_name, not installer.interactive, False,
|
||||||
options.ip_addresses)
|
options.ip_addresses)
|
||||||
|
|
||||||
|
# check addresses here, dns module is doing own check
|
||||||
network_ip_address_warning(config.ips)
|
network_ip_address_warning(config.ips)
|
||||||
broadcast_ip_address_warning(config.ips)
|
broadcast_ip_address_warning(config.ips)
|
||||||
|
|
||||||
@ -1314,6 +1315,7 @@ def promote_check(installer):
|
|||||||
config.host_name, not installer.interactive,
|
config.host_name, not installer.interactive,
|
||||||
False, options.ip_addresses)
|
False, options.ip_addresses)
|
||||||
|
|
||||||
|
# check addresses here, dns module is doing own check
|
||||||
network_ip_address_warning(config.ips)
|
network_ip_address_warning(config.ips)
|
||||||
broadcast_ip_address_warning(config.ips)
|
broadcast_ip_address_warning(config.ips)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user