From 9198859dcf37044ba88e5c78fed05259fb0e0925 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Fri, 6 Feb 2015 16:59:44 +0530 Subject: [PATCH] appliance: before apt-get upgrade, do a clean to free-up space Signed-off-by: Rohit Yadav --- 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 a90b06c2e2c..fc6a3dc2429 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -110,6 +110,7 @@ install_packages() { apt-get --no-install-recommends -q -y --force-yes install radvd # do a final update and upgrade + apt-get clean apt-get update apt-get -y --force-yes upgrade } diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index 927bbeacc14..91ec107eb16 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -100,6 +100,7 @@ install_packages() { apt-get --no-install-recommends -q -y --force-yes install radvd # do a final update and upgrade + apt-get clean apt-get update apt-get -y --force-yes upgrade }