From b6a7f95c4f582c82dc2abf9a90c17e4e098f8bbd Mon Sep 17 00:00:00 2001 From: Samuel Munilla Date: Wed, 27 Apr 2016 09:50:15 -0400 Subject: a-o-i-: Allow empty proxy --- utils/src/ooinstall/cli_installer.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py index 71bdbd5a1..0163f6d82 100644 --- a/utils/src/ooinstall/cli_installer.py +++ b/utils/src/ooinstall/cli_installer.py @@ -533,10 +533,14 @@ https://docs.openshift.com/enterprise/latest/install_config/http_proxies.html click.echo(message) message = "Specify the hostname for your proxy? (ENTER for none)" - proxy_hostname = click.prompt(message) + proxy_hostname = click.prompt(message, default='') + + if proxy_hostname: + message = "List any hosts that should be excluded from your proxy. (ENTER for none)" + proxy_excludes = click.prompt(message, default='') + else: + proxy_excludes = '' - message = "List any hosts that should be excluded from your proxy. (ENTER for none)" - proxy_excludes = click.prompt(message) return proxy_hostname, proxy_excludes def get_missing_info_from_user(oo_cfg): -- cgit v1.2.3