Skip to content

Commit

Permalink
Remove prompt to create a TicketSalt from the wizard
Browse files Browse the repository at this point in the history
fixes #8766

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
  • Loading branch information
sbraz authored and gunnarbeutner committed Mar 16, 2015
1 parent e3e83ae commit 1eef024
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion doc/10-icinga2-client.md
Expand Up @@ -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!
Expand Down
3 changes: 0 additions & 3 deletions lib/cli/nodewizardcommand.cpp
Expand Up @@ -586,9 +586,6 @@ int NodeWizardCommand::Run(const boost::program_options::variables_map& vm, cons
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";
Expand Down

0 comments on commit 1eef024

Please sign in to comment.