summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/src/ooinstall/cli_installer.py10
1 files 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):