summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-server-install
diff options
context:
space:
mode:
Diffstat (limited to 'install/tools/ipa-server-install')
-rwxr-xr-xinstall/tools/ipa-server-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 6a9d1bc5e..2cc590ed3 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -598,6 +598,8 @@ def main():
if options.ip_address and options.ip_address != ip:
if options.setup_dns:
+ if not verify_ip_address(options.ip_address):
+ return 1
ip = options.ip_address
else:
print >>sys.stderr, "Error: the hostname resolves to an IP address that is different"