X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=boot%2Fvid_install.sh;h=118995c464cf00c9af9bac421501c971c93f0e35;hb=82c066900616808b14489d57d2b2edcf2f0e9e82;hp=1ec8ae6266f971b5f01a79c14dd76584ceee5509;hpb=df0c0cf6c8eb6bc6d3e4df5c5e3275dc425f4f6f;p=demo.git diff --git a/boot/vid_install.sh b/boot/vid_install.sh index 1ec8ae62..118995c4 100644 --- a/boot/vid_install.sh +++ b/boot/vid_install.sh @@ -48,9 +48,10 @@ then fi # Download dependencies -add-apt-repository -y ppa:openjdk-r/ppa +echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list +echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list apt-get update -apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make +apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make # Download scripts from Nexus curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/vid_vm_init.sh -o /opt/vid_vm_init.sh