Cli Agent Setup: Provide hint with actual CN for master ticket cmd

refs #7465
This commit is contained in:
Michael Friedrich 2014-10-30 18:07:00 +01:00
parent 43d3878207
commit b863c7fde0
1 changed files with 2 additions and 2 deletions

View File

@ -241,8 +241,8 @@ wizard_master_host:
std::cout << "Stored trusted master certificate in '" << trusted_cert << "'.\n";
wizard_ticket:
std::cout << "Please specify the request ticket generated on your Icinga 2 master.\n"
<< "(Hint: '# icinga2 pki ticket --cn <this-CN>'): ";
std::cout << "Please specify the request ticket generated on your Icinga 2 master."
<< " (Hint: '# icinga2 pki ticket --cn " << cn << "'):\n";
std::getline(std::cin, answer);
boost::algorithm::to_lower(answer);