print the installation info only in standalone mode

There is no point in emitting this message during server/replica
install.

https://fedorahosted.org/freeipa/ticket/6630

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Martin Babinsky 2017-02-17 13:48:46 +01:00 committed by Martin Basti
parent c17215ea3d
commit ef37c42ab9
2 changed files with 3 additions and 3 deletions

View File

@ -208,7 +208,7 @@ def main():
"Unrecognized error during check of admin rights: %s" % e)
adtrust.install_check(True, options, api)
adtrust.install(options, fstore, api)
adtrust.install(True, options, fstore, api)
print("""
=============================================================================

View File

@ -404,8 +404,8 @@ def install_check(standalone, options, api):
retrieve_and_ask_about_sids(api, options)
def install(options, fstore, api):
if not options.unattended:
def install(standalone, options, fstore, api):
if not options.unattended and standalone:
print("")
print("The following operations may take some minutes to complete.")
print("Please wait until the prompt is returned.")