diff options
author | Marco Platania <platania@research.att.com> | 2017-09-01 16:34:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-01 16:34:58 +0000 |
commit | 009c0af9c3b0089646267c404eb3e94ae94b0f10 (patch) | |
tree | 0c17247ea133c05f9330a048a334ee2b1b7cdc27 /vnfs/vCPE/scripts/v_dhcp_install.sh | |
parent | 765e6da946abfa392e0806c4c4d6368289f9bd26 (diff) | |
parent | 75c6b2d06da261a294c6d59e287e7b62634f30dc (diff) |
Merge "Add the Java repository to vCPE VMs"
Diffstat (limited to 'vnfs/vCPE/scripts/v_dhcp_install.sh')
-rw-r--r-- | vnfs/vCPE/scripts/v_dhcp_install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vnfs/vCPE/scripts/v_dhcp_install.sh b/vnfs/vCPE/scripts/v_dhcp_install.sh index c8c567d3..4cf63036 100644 --- a/vnfs/vCPE/scripts/v_dhcp_install.sh +++ b/vnfs/vCPE/scripts/v_dhcp_install.sh @@ -49,9 +49,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 kea-dhcp4-server g++ libcurl4-gnutls-dev libboost-dev kea-dev +apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates kea-dhcp4-server g++ libcurl4-gnutls-dev libboost-dev kea-dev sleep 1 # Download the kea hook |