diff options
author | gwu <gary.i.wu@huawei.com> | 2018-07-17 22:36:47 -0700 |
---|---|---|
committer | gwu <gary.i.wu@huawei.com> | 2018-07-17 22:50:41 -0700 |
commit | 1f5ef678b4298fdef56e168dd802627a80f6f441 (patch) | |
tree | 76cf713ad1b53438055ae83eee1219e5195bcda1 /boot/clamp_serv.sh | |
parent | 534ba4b901b31b987b0c92e1d012758eadd1a954 (diff) |
Bug fix on HEAT template HTTP_PROXY
Various boot scripts should have been checking for "no_proxy"
but were checking for " " instead. This fixes the issue.
Also add default values for HTTP_PROXY variables.
Change-Id: I5245018a7bb9c33b84ac3096d8a9c0986b2e976c
Issue-ID: OOM-1275
Signed-off-by: gwu <gary.i.wu@huawei.com>
Diffstat (limited to 'boot/clamp_serv.sh')
-rw-r--r-- | boot/clamp_serv.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/clamp_serv.sh b/boot/clamp_serv.sh index edda3939..2c3a898a 100644 --- a/boot/clamp_serv.sh +++ b/boot/clamp_serv.sh @@ -11,7 +11,7 @@ HTTP_PROXY=$(cat /opt/config/http_proxy.txt) HTTPS_PROXY=$(cat /opt/config/https_proxy.txt) -if [ $HTTP_PROXY != " " ] +if [ $HTTP_PROXY != "no_proxy" ] then export http_proxy=$HTTP_PROXY export https_proxy=$HTTPS_PROXY |