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
This commit is contained in:
Rob Crittenden 2011-03-03 16:03:44 -05:00
parent bd3e4990fe
commit c0ecdd1395

View File

@ -565,6 +565,10 @@ def main():
if not bindinstance.check_inst(options.unattended): if not bindinstance.check_inst(options.unattended):
sys.exit("Aborting installation") 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 # check the hostname is correctly configured, it must be as the kldap
# utilities just use the hostname as returned by getaddrinfo to set # utilities just use the hostname as returned by getaddrinfo to set
# up some of the standard entries # up some of the standard entries