mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 6221: we put a > as a prompt in interactive setup scripts
status 6221: resolved fixed
This commit is contained in:
parent
207cee40a7
commit
521fcff899
@ -892,6 +892,7 @@ def prompt_for_hostpods(zonespods):
|
|||||||
for n,(z,p) in enumerate(zonespods):
|
for n,(z,p) in enumerate(zonespods):
|
||||||
print "%3d) %s, %s"%(n,z,p)
|
print "%3d) %s, %s"%(n,z,p)
|
||||||
print "================"
|
print "================"
|
||||||
|
print "> ",
|
||||||
zoneandpod = raw_input().strip()
|
zoneandpod = raw_input().strip()
|
||||||
|
|
||||||
if not zoneandpod:
|
if not zoneandpod:
|
||||||
@ -930,6 +931,7 @@ def setup_agent_config(configfile, host, zone, pod, cluster, guid):
|
|||||||
try: host = confopts["host"]
|
try: host = confopts["host"]
|
||||||
except KeyError: host = "localhost"
|
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)
|
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()
|
newhost = raw_input().strip()
|
||||||
if newhost: host = newhost
|
if newhost: host = newhost
|
||||||
|
|
||||||
@ -977,6 +979,7 @@ def setup_consoleproxy_config(configfile, host, zone, pod):
|
|||||||
try: host = confopts["host"]
|
try: host = confopts["host"]
|
||||||
except KeyError: host = "localhost"
|
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)
|
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()
|
newhost = raw_input().strip()
|
||||||
if newhost: host = newhost
|
if newhost: host = newhost
|
||||||
confopts["host"] = host
|
confopts["host"] = host
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user