fixes #8766
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
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!
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";