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_dns_install.sh | |
parent | 765e6da946abfa392e0806c4c4d6368289f9bd26 (diff) | |
parent | 75c6b2d06da261a294c6d59e287e7b62634f30dc (diff) |
Merge "Add the Java repository to vCPE VMs"
Diffstat (limited to 'vnfs/vCPE/scripts/v_dns_install.sh')
-rw-r--r-- | vnfs/vCPE/scripts/v_dns_install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vnfs/vCPE/scripts/v_dns_install.sh b/vnfs/vCPE/scripts/v_dns_install.sh index 426af3b5..0b0e727b 100644 --- a/vnfs/vCPE/scripts/v_dns_install.sh +++ b/vnfs/vCPE/scripts/v_dns_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 bind9 bind9utils bind9-doc 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 bind9 bind9utils bind9-doc apt-transport-https ca-certificates kea-dhcp4-server g++ libcurl4-gnutls-dev libboost-dev kea-dev sleep 1 # Download DNS and DHCP config files |