security: mention comma-separated for IP and DNS name prompts
Original commit: elastic/x-pack-elasticsearch@3e58fc282a
This commit is contained in:
parent
59fcb205b5
commit
34d04a8c78
|
@ -189,8 +189,8 @@ public class CertificateTool extends SettingCommand {
|
||||||
while (done == false) {
|
while (done == false) {
|
||||||
String name = terminal.readText("Enter instance name: ");
|
String name = terminal.readText("Enter instance name: ");
|
||||||
if (name.isEmpty() == false) {
|
if (name.isEmpty() == false) {
|
||||||
String ipAddresses = terminal.readText("Enter IP Addresses for instance? []: ");
|
String ipAddresses = terminal.readText("Enter IP Addresses for instance (comma-separated if more than one) []: ");
|
||||||
String dnsNames = terminal.readText("Enter DNS names for instance? []: ");
|
String dnsNames = terminal.readText("Enter DNS names for instance (comma-separated if more than one) []: ");
|
||||||
List<String> ipList = Arrays.asList(Strings.splitStringByCommaToArray(ipAddresses));
|
List<String> ipList = Arrays.asList(Strings.splitStringByCommaToArray(ipAddresses));
|
||||||
List<String> dnsList = Arrays.asList(Strings.splitStringByCommaToArray(dnsNames));
|
List<String> dnsList = Arrays.asList(Strings.splitStringByCommaToArray(dnsNames));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue