From: Marco Platania Date: Mon, 13 Aug 2018 19:42:38 +0000 (-0400) Subject: Update proxy section in setting.xml X-Git-Tag: 1.3.0~72 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F60389%2F1;p=demo.git Update proxy section in setting.xml - Add ... only if https proxy is specified - Tested successfully in windriver (SB07) - Solves part of the AAF installation issues Change-Id: I9f6dd8a7a9173b541b9872293d0c6ad705506dc3 Issue-ID: AAF-420 Signed-off-by: Marco Platania --- diff --git a/heat/ONAP/cloud-config/aaf_install.sh b/heat/ONAP/cloud-config/aaf_install.sh index 2d6657ec..61f23daa 100644 --- a/heat/ONAP/cloud-config/aaf_install.sh +++ b/heat/ONAP/cloud-config/aaf_install.sh @@ -115,6 +115,13 @@ under the License. --> +EOF + +if [[ $(cat /opt/config/https_proxy.txt) != "no_proxy" ]]; then + HTTPS_PROXY_HOST=$(cat /opt/config/https_proxy.txt | cut -d ':' -f1) + HTTPS_PROXY_PORT=$(cat /opt/config/https_proxy.txt | cut -d ':' -f2) + + cat >> settings.xml << EOF