appliance: before apt-get upgrade, do a clean to free-up space

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2015-02-06 16:59:44 +05:30
parent 78bfaa79cf
commit 9198859dcf
2 changed files with 2 additions and 0 deletions

View File

@ -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
}

View File

@ -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
}