From 521fcff8997f1be46444acea1d8d9845031df0db Mon Sep 17 00:00:00 2001 From: "Manuel Amador (Rudd-O)" Date: Mon, 20 Sep 2010 13:28:01 -0700 Subject: [PATCH] bug 6221: we put a > as a prompt in interactive setup scripts status 6221: resolved fixed --- python/lib/cloud_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/lib/cloud_utils.py b/python/lib/cloud_utils.py index 86d2471b336..27fed1f86c6 100644 --- a/python/lib/cloud_utils.py +++ b/python/lib/cloud_utils.py @@ -892,6 +892,7 @@ def prompt_for_hostpods(zonespods): for n,(z,p) in enumerate(zonespods): print "%3d) %s, %s"%(n,z,p) print "================" + print "> ", zoneandpod = raw_input().strip() if not zoneandpod: @@ -930,6 +931,7 @@ def setup_agent_config(configfile, host, zone, pod, cluster, guid): try: host = confopts["host"] except KeyError: host = "localhost" stderr("Please enter the host name of the management server that this agent will connect to: (just hit ENTER to go with %s)",host) + print "> ", newhost = raw_input().strip() if newhost: host = newhost @@ -977,6 +979,7 @@ def setup_consoleproxy_config(configfile, host, zone, pod): try: host = confopts["host"] except KeyError: host = "localhost" 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) + print "> ", newhost = raw_input().strip() if newhost: host = newhost confopts["host"] = host