From: Louis Sautier Date: Mon, 16 Mar 2015 14:15:27 +0000 (+0100) Subject: Remove prompt to create a TicketSalt from the wizard X-Git-Tag: v2.3.3~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=113a90dd7ff55b56d935bb3482e195792ad2e0ac;p=icinga2 Remove prompt to create a TicketSalt from the wizard fixes #8766 Signed-off-by: Gunnar Beutner --- diff --git a/doc/10-icinga2-client.md b/doc/10-icinga2-client.md index 11c180277..0fb4567d9 100644 --- a/doc/10-icinga2-client.md +++ b/doc/10-icinga2-client.md @@ -104,7 +104,6 @@ Make sure to answer the first question with `n` (no). information/cli: Created backup file '/etc/icinga2/constants.conf.orig'. information/cli: Updating constants file '/etc/icinga2/constants.conf'. information/cli: Updating constants file '/etc/icinga2/constants.conf'. - Please edit the constants.conf file '/etc/icinga2/constants.conf' and set a secure 'TicketSalt' constant. Done. Now restart your Icinga 2 daemon to finish the installation! diff --git a/lib/cli/nodewizardcommand.cpp b/lib/cli/nodewizardcommand.cpp index 307065ccb..77108a210 100644 --- a/lib/cli/nodewizardcommand.cpp +++ b/lib/cli/nodewizardcommand.cpp @@ -586,9 +586,6 @@ wizard_ticket: String salt = RandomString(16); NodeUtility::UpdateConstant("TicketSalt", salt); - - std::cout << ConsoleColorTag(Console_Bold) - << "Please edit the constants.conf file '" << constants_file << "' and set a secure 'TicketSalt' constant." << ConsoleColorTag(Console_Normal) << "\n"; } std::cout << "Done.\n\n";