Use provided domain name for the rest of installation

When installing IPA client, the install script used detected domain name
of the machine instead of that given by administrator (in case one was
given)

https://fedorahosted.org/freeipa/ticket/363
This commit is contained in:
Jan Zeleny authored and Simo Sorce committed 2010-11-19 14:05:22 -05:00
1 parent 3682a1c385
commit cbddbc2fbb
1 file changed
+1 -1
+1 -1
View File
@@ -550,7 +550,7 @@ def main():
cli_domain = user_input("Please provide the domain name of your IPA server (ex: example.com)", allow_empty = False)
logging.debug("will use domain: %s\n", cli_domain)
if options.on_master:
ret = ds.search(domain=options.domain, server=options.server)
ret = ds.search(domain=cli_domain, server=options.server)
else:
ret = ds.search(domain=cli_domain)
if not cli_domain: