summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-03-03 16:03:44 -0500
committerRob Crittenden <rcritten@redhat.com>2011-03-04 11:05:40 -0500
commitc0ecdd1395e457592407c2d4d622a2758896d8ca (patch)
tree6719a41a031459cf734ef405f702f111a2518887
parentbd3e4990fe501970baef3d6ad8cec9214b9d18a2 (diff)
downloadfreeipa-c0ecdd1395e457592407c2d4d622a2758896d8ca.tar.gz
freeipa-c0ecdd1395e457592407c2d4d622a2758896d8ca.tar.xz
freeipa-c0ecdd1395e457592407c2d4d622a2758896d8ca.zip
Skip DNS validation checks if we're setting up DNS in ipa-server-install.
If we're going to be authoritative ourselves don't bother with what other DNS servers think. ticket 1036
-rwxr-xr-xinstall/tools/ipa-server-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index fd202beae..3cd7c6642 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -565,6 +565,10 @@ def main():
if not bindinstance.check_inst(options.unattended):
sys.exit("Aborting installation")
+ # Don't require an external DNS to say who we are if we are
+ # setting up a local DNS server.
+ options.no_host_dns = True
+
# check the hostname is correctly configured, it must be as the kldap
# utilities just use the hostname as returned by getaddrinfo to set
# up some of the standard entries