Skip to content

Commit 521fcff

Browse files
author
Manuel Amador (Rudd-O)
committed
bug 6221: we put a > as a prompt in interactive setup scripts
status 6221: resolved fixed
1 parent 207cee4 commit 521fcff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/lib/cloud_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,7 @@ def prompt_for_hostpods(zonespods):
892892
for n,(z,p) in enumerate(zonespods):
893893
print "%3d) %s, %s"%(n,z,p)
894894
print "================"
895+
print "> ",
895896
zoneandpod = raw_input().strip()
896897

897898
if not zoneandpod:
@@ -930,6 +931,7 @@ def setup_agent_config(configfile, host, zone, pod, cluster, guid):
930931
try: host = confopts["host"]
931932
except KeyError: host = "localhost"
932933
stderr("Please enter the host name of the management server that this agent will connect to: (just hit ENTER to go with %s)",host)
934+
print "> ",
933935
newhost = raw_input().strip()
934936
if newhost: host = newhost
935937

@@ -977,6 +979,7 @@ def setup_consoleproxy_config(configfile, host, zone, pod):
977979
try: host = confopts["host"]
978980
except KeyError: host = "localhost"
979981
stderr("Please enter the host name of the management server that this console-proxy will connect to: (just hit ENTER to go with %s)",host)
982+
print "> ",
980983
newhost = raw_input().strip()
981984
if newhost: host = newhost
982985
confopts["host"] = host

0 commit comments

Comments
 (0)