summaryrefslogtreecommitdiffstats
path: root/ccsdk-app-os/docker-dashboard-installation.sh
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-02-18 17:41:14 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-18 17:41:14 +0000
commit363e03d53bf39f7da2608998a82f194abe7bb3dc (patch)
tree22d207cb6d88ccb7290dd2d99a91d8762a56a09f /ccsdk-app-os/docker-dashboard-installation.sh
parent7700459509e78a85115e20f459dcc803f00a788a (diff)
parent7019f6d9af89b6fadc72d3d9f1f303b5278e7555 (diff)
Merge "DCAE dashboard updates ver 1.3.0"
Diffstat (limited to 'ccsdk-app-os/docker-dashboard-installation.sh')
-rw-r--r--ccsdk-app-os/docker-dashboard-installation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccsdk-app-os/docker-dashboard-installation.sh b/ccsdk-app-os/docker-dashboard-installation.sh
index 030e75a..f5ef4f8 100644
--- a/ccsdk-app-os/docker-dashboard-installation.sh
+++ b/ccsdk-app-os/docker-dashboard-installation.sh
@@ -3,8 +3,8 @@
# run import for ca certs
if [ -e /usr/local/share/ca-certificates/cacert.pem ]
then
- mv /usr/local/share/ca-certificates/cacert.pem /usr/local/share/ca-certificates/cacert.crt
- update-ca-certificates
+ sudo mv /usr/local/share/ca-certificates/cacert.pem /usr/local/share/ca-certificates/cacert.crt
+ sudo -- bash -c 'export JAVA_HOME=/usr/local/openjdk-8; /usr/sbin/update-ca-certificates'
fi
# Unzip the dashboard war file