From 5121f8cd4e4adcdf23b6ec25cb1c28bec8f417a7 Mon Sep 17 00:00:00 2001 From: Abhinandan Prateek Date: Fri, 17 Jan 2014 21:15:51 +0530 Subject: [PATCH] update packages list before getting jre 7 --- tools/appliance/definitions/systemvm64template/postinstall.sh | 1 + tools/appliance/definitions/systemvmtemplate/postinstall.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index 648e93480a4..e523e25c3b1 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -69,6 +69,7 @@ install_packages() { apt-get --no-install-recommends -q -y --force-yes install keepalived conntrackd ipvsadm libnetfilter-conntrack3 libnl1 # ipcalc apt-get --no-install-recommends -q -y --force-yes install ipcalc + apt-get update # java apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index 0828dbff0b5..910dc015b75 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -65,6 +65,7 @@ install_packages() { apt-get --no-install-recommends -q -y --force-yes install keepalived conntrackd ipvsadm libnetfilter-conntrack3 libnl1 # ipcalc apt-get --no-install-recommends -q -y --force-yes install ipcalc + apt-get update # java apt-get --no-install-recommends -q -y --force-yes install openjdk-7-jre-headless