summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-04-27 09:50:15 -0400
committerSamuel Munilla <smunilla@redhat.com>2016-04-27 15:21:15 -0400
commitb6a7f95c4f582c82dc2abf9a90c17e4e098f8bbd (patch)
tree01f04c369f813f12f1382d21267b7512e9a5e27f /utils
parent207b5aea8d619acb9622a351f54301c24598b08d (diff)
downloadopenshift-b6a7f95c4f582c82dc2abf9a90c17e4e098f8bbd.tar.gz
openshift-b6a7f95c4f582c82dc2abf9a90c17e4e098f8bbd.tar.bz2
openshift-b6a7f95c4f582c82dc2abf9a90c17e4e098f8bbd.tar.xz
openshift-b6a7f95c4f582c82dc2abf9a90c17e4e098f8bbd.zip
a-o-i-: Allow empty proxy
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):