mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
3682a1c385
commit
cbddbc2fbb
@ -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)
|
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)
|
logging.debug("will use domain: %s\n", cli_domain)
|
||||||
if options.on_master:
|
if options.on_master:
|
||||||
ret = ds.search(domain=options.domain, server=options.server)
|
ret = ds.search(domain=cli_domain, server=options.server)
|
||||||
else:
|
else:
|
||||||
ret = ds.search(domain=cli_domain)
|
ret = ds.search(domain=cli_domain)
|
||||||
if not cli_domain:
|
if not cli_domain:
|
||||||
|
Loading…
Reference in New Issue
Block a user