summaryrefslogtreecommitdiffstats
path: root/boot/policy_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/policy_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/policy_install.sh')
-rw-r--r--boot/policy_install.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/boot/policy_install.sh b/boot/policy_install.sh
index 0ba20829..cd50487e 100644
--- a/boot/policy_install.sh
+++ b/boot/policy_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 policy_vm_init.sh > /opt/policy_vm_init.sh