From ef37c42ab9d3530dc78fa4b754cd11c585b69d77 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Mar 01 2017 14:55:45 +0000 Subject: 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 Reviewed-By: Jan Cholasta --- diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install index 443c3c4..1484598 100755 --- a/install/tools/ipa-adtrust-install +++ b/install/tools/ipa-adtrust-install @@ -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(""" ============================================================================= diff --git a/ipaserver/install/adtrust.py b/ipaserver/install/adtrust.py index 4694a25..2eddf45 100644 --- a/ipaserver/install/adtrust.py +++ b/ipaserver/install/adtrust.py @@ -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.")