From 21bfc29a89f2277040cbbce095d911e55beecbec Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 24 Mar 2022 11:18:37 -0400 Subject: [PATCH] Make more clear the default behavior when prompting --- confluent_server/bin/osdeploy | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/confluent_server/bin/osdeploy b/confluent_server/bin/osdeploy index 7279520b..97281f94 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -224,22 +224,22 @@ def initialize(cmdset): sys.exit(1) if cmdset.i: didsomething = True - sys.stdout.write('Add root user key to be authorized to log into nodes (-u)? (y/n): ') + sys.stdout.write('Add root user key to be authorized to log into nodes (-u)? (y/N): ') sys.stdout.flush() cmdset.u = input().strip().lower().startswith('y') - sys.stdout.write('Initialize a profile to boot Genesis on target systems (a small Linux environment for rescue and staging use)? (y/n): ') + sys.stdout.write('Initialize a profile to boot Genesis on target systems (a small Linux environment for rescue and staging use)? (y/N): ') cmdset.g = input().strip().lower().startswith('y') - sys.stdout.write('Set up an SSH authority to help manage known_hosts and node to node ssh for all users (-s)? (y/n): ') + sys.stdout.write('Set up an SSH authority to help manage known_hosts and node to node ssh for all users (-s)? (y/N): ') cmdset.s = input().strip().lower().startswith('y') - sys.stdout.write('Update global known hosts on this server to trust local CA certificates (-k)? (y/n): ') + sys.stdout.write('Update global known hosts on this server to trust local CA certificates (-k)? (y/N): ') cmdset.k = input().strip().lower().startswith('y') - sys.stdout.write('Allow managed nodes to ssh to this management node without a password (-l)? (y/n): ') + sys.stdout.write('Allow managed nodes to ssh to this management node without a password (-l)? (y/N): ') cmdset.l = input().strip().lower().startswith('y') - sys.stdout.write('Update tftp directory with binaries to support PXE (-p) (y/n): ') + sys.stdout.write('Update tftp directory with binaries to support PXE (-p) (y/N): ') cmdset.p = input().strip().lower().startswith('y') - sys.stdout.write('Initialize confluent ssh user key so confluent can execute remote automation (e.g. Ansible plays) (-a) (y/n): ') + sys.stdout.write('Initialize confluent ssh user key so confluent can execute remote automation (e.g. Ansible plays) (-a) (y/N): ') cmdset.a = input().strip().lower().startswith('y') - sys.stdout.write('Generate new TLS certificates for HTTP, replacing any existing certificate (-t)? (y/n): ') + sys.stdout.write('Generate new TLS certificates for HTTP, replacing any existing certificate (-t)? (y/N): ') cmdset.t = input().strip().lower().startswith('y') if not cmdset.t: print(