summaryrefslogtreecommitdiffstats
path: root/boot/oof_install.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-08-01 14:13:02 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-08-02 14:03:06 +0000
commit2c2914ae3fe4e82209ae9a46f68a15c4ad1ede1e (patch)
treeeb5d6037ff7a1f8d828d09df99dd3fb2d431bf49 /boot/oof_install.sh
parentf291a98589c0d75365c5298c1268ab462bc8c4d8 (diff)
Remove unnecessary install of JDK
JDK should not be necessary in HEAT VMs since everything should be run in docker containers. Change-Id: Ibf5038490595bdf3a02699eeb824eb4b4e569bb1 Issue-ID: INT-605 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'boot/oof_install.sh')
-rw-r--r--boot/oof_install.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/boot/oof_install.sh b/boot/oof_install.sh
index 645b29c1..338677f2 100644
--- a/boot/oof_install.sh
+++ b/boot/oof_install.sh
@@ -55,10 +55,8 @@ then
fi
# Download dependencies
-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 --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install -y apt-transport-https ca-certificates wget git ntp ntpdate make
# Download scripts from Nexus
unzip -p -j /opt/boot-$ARTIFACTS_VERSION.zip oof_vm_init.sh > /opt/oof_vm_init.sh