aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/v_web_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-09-01 16:34:58 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-01 16:34:58 +0000
commit009c0af9c3b0089646267c404eb3e94ae94b0f10 (patch)
tree0c17247ea133c05f9330a048a334ee2b1b7cdc27 /vnfs/vCPE/scripts/v_web_install.sh
parent765e6da946abfa392e0806c4c4d6368289f9bd26 (diff)
parent75c6b2d06da261a294c6d59e287e7b62634f30dc (diff)
Merge "Add the Java repository to vCPE VMs"
Diffstat (limited to 'vnfs/vCPE/scripts/v_web_install.sh')
-rw-r--r--vnfs/vCPE/scripts/v_web_install.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnfs/vCPE/scripts/v_web_install.sh b/vnfs/vCPE/scripts/v_web_install.sh
index 94d3ebd7..f7cca06b 100644
--- a/vnfs/vCPE/scripts/v_web_install.sh
+++ b/vnfs/vCPE/scripts/v_web_install.sh
@@ -48,9 +48,10 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
sleep 1
# Download DHCP config files