diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-05-31 12:51:38 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-06-10 08:29:14 +0200 |
commit | 915235859cb67d4f350ff506b435586fd15505e7 (patch) | |
tree | 6cd153414ded558f5ed3e987830469d99a6b321d /install/tools/ipa-replica-prepare | |
parent | a26fb5aacafa91bd67061cb85bc9f0c88b735604 (diff) | |
download | freeipa-915235859cb67d4f350ff506b435586fd15505e7.tar.gz freeipa-915235859cb67d4f350ff506b435586fd15505e7.tar.xz freeipa-915235859cb67d4f350ff506b435586fd15505e7.zip |
IPA installation with --no-host-dns fails
--no-host-dns option should allow installing IPA server on a host
without a DNS resolvable name.
Update parse_ip_address and verify_ip_address functions has been
changed not to return None and print error messages in case of
an error, but rather let the Exception be handled by the calling
routine.
https://fedorahosted.org/freeipa/ticket/1246
Diffstat (limited to 'install/tools/ipa-replica-prepare')
-rwxr-xr-x | install/tools/ipa-replica-prepare | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/install/tools/ipa-replica-prepare b/install/tools/ipa-replica-prepare index df44934de..cd13f5d93 100755 --- a/install/tools/ipa-replica-prepare +++ b/install/tools/ipa-replica-prepare @@ -78,11 +78,6 @@ def parse_options(): if cnt > 0 and cnt < num: parser.error("All PKCS#12 options are required if any are used.") - if options.ip_address: - if not installutils.verify_ip_address(options.ip_address, match_local=False): - parser.error("Bad IP address") - sys.exit(1) - if len(args) != 1: parser.error("must provide the fully-qualified name of the replica") |