Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add security group to vFW, vLB
[demo.git]
/
boot
/
cli_install.sh
diff --git
a/boot/cli_install.sh
b/boot/cli_install.sh
index
c5ec421
..
4593c68
100644
(file)
--- a/
boot/cli_install.sh
+++ b/
boot/cli_install.sh
@@
-16,10
+16,19
@@
# limitations under the License.
#*******************************************************************************
# 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
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
export ONAP_CLI_HOME=$CLI_INSTALL_DIR
export CLI_PRODUCT_VERSION=onap-1.1