From 0685371179a22035351be1fa6151a39f16865ae6 Mon Sep 17 00:00:00 2001 From: Abhinandan Prateek Date: Fri, 17 Jan 2014 16:11:28 +0530 Subject: [PATCH] updating the jre to version 7 on system vms (cherry picked from commit fc2e7ec70a1cc48a10a168ec3df607b49a7bcdf6) Signed-off-by: Hugo Trippaers --- tools/appliance/definitions/systemvm64template/postinstall.sh | 2 +- tools/appliance/definitions/systemvmtemplate/postinstall.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index a9a057d4e55..144187d18e7 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -69,7 +69,7 @@ install_packages() { # ipcalc apt-get --no-install-recommends -q -y --force-yes install ipcalc # java - apt-get --no-install-recommends -q -y --force-yes install default-jre-headless + apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless echo "iptables-persistent iptables-persistent/autosave_v4 boolean true" | debconf-set-selections echo "iptables-persistent iptables-persistent/autosave_v6 boolean true" | debconf-set-selections diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index 48ba04b5280..a4ff11f2fbc 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -65,7 +65,7 @@ install_packages() { # ipcalc apt-get --no-install-recommends -q -y --force-yes install ipcalc # java - apt-get --no-install-recommends -q -y --force-yes install default-jre-headless + apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless echo "iptables-persistent iptables-persistent/autosave_v4 boolean true" | debconf-set-selections echo "iptables-persistent iptables-persistent/autosave_v6 boolean true" | debconf-set-selections