Skip to content
Browse files

Print more useful how to proceed messages

  • Loading branch information...
1 parent a71ecc3 commit 1eaffe234c79188f5f54e5fe5126929b84973601 @beberlei committed
Showing with 8 additions and 1 deletion.
  1. +8 −1 Command/InitCommand.php
View
9 Command/InitCommand.php
@@ -50,9 +50,13 @@ protected function execute(InputInterface $input, OutputInterface $output)
$deployment->createRole($roleName);
$output->writeln(sprintf('<info>Created basic Azure structure and one WebRole "%s"</info>', $roleName));
+ $output->writeln('Next steps:');
+ $output->writeln('- Take a look into the app\azure Folder, it contains Azure related files.');
+ $output->writeln('- See the app\config\parameters_azure.yml and app\config\config_azure.yml');
+ $output->writeln('- Run the packaging command "windowsazure:package"');
if (extension_loaded('openssl')) {
- $length = 8;
+ $length = 16;
$keyPassword = base64_encode(openssl_random_pseudo_bytes(8, $strong));
$keyPassword = substr($keyPassword, 0, $length);
$desktopPassword = base64_encode(openssl_random_pseudo_bytes(8, $strong));
@@ -60,9 +64,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
$deployment->generateRemoteDesktopKey($roleName, $desktopPassword, $keyPassword);
+ $output->writeln('');
$output->writeln('Automatically created certificates to open a remote desktop to this role.');
$output->writeln('Private Key Password: <info>' . $keyPassword . '</info>');
$output->writeln('RemoteDesktop Password: <info>' . $desktopPassword . '</info>');
+ $output->writeln('<comment>Write these passwords down, you need them during deployment.</comment>');
+ $output->writeln('You can disable RemoteDesktop in ServiceConfiguration.cscfg');
}
}
}

0 comments on commit 1eaffe2

Please sign in to comment.
Something went wrong with that request. Please try again.