X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=boot%2Fcli_install.sh;h=4593c686a77529f07fe984321ba0419186800a87;hb=16f7357930c846a1163fc124bd82267be914512f;hp=c5ec42169e455606e76f22ad108bec8e88dd57b3;hpb=005b9f8c91c3e2f2a01b2d605a325968e42d5205;p=demo.git diff --git a/boot/cli_install.sh b/boot/cli_install.sh index c5ec4216..4593c686 100644 --- a/boot/cli_install.sh +++ b/boot/cli_install.sh @@ -16,10 +16,19 @@ # limitations under the License. #******************************************************************************* -CLI_LATEST_BINARY="https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.cli&a=cli-zip&e=zip&v=LATEST" +CLI_LATEST_BINARY="https://nexus.onap.org/content/repositories/releases/org/onap/cli/cli-zip/1.1.0/cli-zip-1.1.0.zip" CLI_INSTALL_DIR=/opt/onap/cli CLI_ZIP=cli.zip CLI_BIN=/usr/bin/onap +HTTP_PROXY=$(cat /opt/config/http_proxy.txt) +HTTPS_PROXY=$(cat /opt/config/https_proxy.txt) + +if [ $HTTP_PROXY != "no_proxy" ] +then + export http_proxy=$HTTP_PROXY + export https_proxy=$HTTPS_PROXY +fi + export ONAP_CLI_HOME=$CLI_INSTALL_DIR export CLI_PRODUCT_VERSION=onap-1.1