Remove prompt to create a TicketSalt from the wizard

fixes #8766

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
This commit is contained in:
Louis Sautier 2015-03-16 15:15:27 +01:00 committed by Gunnar Beutner
parent ea7d1ee77d
commit 113a90dd7f
2 changed files with 0 additions and 4 deletions

View File

@ -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: 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'.
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. Done.
Now restart your Icinga 2 daemon to finish the installation! Now restart your Icinga 2 daemon to finish the installation!

View File

@ -586,9 +586,6 @@ wizard_ticket:
String salt = RandomString(16); String salt = RandomString(16);
NodeUtility::UpdateConstant("TicketSalt", salt); 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"; std::cout << "Done.\n\n";