update packages list before getting jre 7 (cherry picked from commit 5121f8cd4e4adcdf23b6ec25cb1c28bec8f417a7) Signed-off-by: Hugo Trippaers <htrippa...@schubergphilis.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d578d7ef Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d578d7ef Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d578d7ef Branch: refs/heads/rbac Commit: d578d7ef85a7304aec18a207a35535f62eed0e0b Parents: 0685371 Author: Abhinandan Prateek <aprat...@apache.org> Authored: Fri Jan 17 21:15:51 2014 +0530 Committer: Hugo Trippaers <htrippa...@schubergphilis.com> Committed: Fri Jan 31 09:42:31 2014 +0100 ---------------------------------------------------------------------- tools/appliance/definitions/systemvm64template/postinstall.sh | 1 + tools/appliance/definitions/systemvmtemplate/postinstall.sh | 1 + 2 files changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d578d7ef/tools/appliance/definitions/systemvm64template/postinstall.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index 144187d..1eddbdb 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -68,6 +68,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 http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d578d7ef/tools/appliance/definitions/systemvmtemplate/postinstall.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index a4ff11f..175fc1f 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -64,6 +64,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