ipa-server-install: do not perform forwarder validation with --no-dnssec-validation

ipa-server-install is checking if the forwarder(s) specified with
--forwarder argument support DNSSEC. When the --no-dnssec-validation
option is added, the installer should not perform the check.

Fixes: https://pagure.io/freeipa/issue/7666
Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
This commit is contained in:
Florence Blanc-Renaud authored and Tibor Dudlák committed 2018-09-03 13:56:39 +02:00
1 parent 59df37ad9b
commit 911416e43d
1 file changed
+2 -2
+2 -2
View File
@@ -292,8 +292,8 @@ def install_check(standalone, api, replica, options, hostname):
# test DNSSEC forwarders
if options.forwarders:
if (not bindinstance.check_forwarders(options.forwarders)
and not options.no_dnssec_validation):
if not options.no_dnssec_validation \
and not bindinstance.check_forwarders(options.forwarders):
options.no_dnssec_validation = True
print("WARNING: DNSSEC validation will be disabled")