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/aaf_install.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/aaf_install.sh')
-rw-r--r-- | boot/aaf_install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/aaf_install.sh b/boot/aaf_install.sh index ab7bcf78..882c3ee4 100644 --- a/boot/aaf_install.sh +++ b/boot/aaf_install.sh @@ -10,7 +10,7 @@ CODE_REPO=$(cat /opt/config/remote_repo.txt) 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 |