From ccc8c338960378fae5ff105e6e8a0b173dd9af07 Mon Sep 17 00:00:00 2001 From: Harikrishna Patnala Date: Tue, 30 Sep 2014 17:03:22 +0530 Subject: [PATCH] CLOUDSTACK-7658: Upgrading debian packages as part of system vm template build Signed-off-by: Jayapal --- tools/appliance/definitions/systemvm64template/postinstall.sh | 2 ++ tools/appliance/definitions/systemvmtemplate/postinstall.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index a4d3cbeccb4..064a2226d06 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -31,6 +31,8 @@ install_packages() { DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical + DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -qq -y --force-yes upgrade + # Basic packages apt-get --no-install-recommends -q -y --force-yes install rsyslog logrotate cron chkconfig insserv net-tools ifupdown vim-tiny netbase iptables apt-get --no-install-recommends -q -y --force-yes install openssh-server openssl e2fsprogs dhcp3-client tcpdump socat wget diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index b59d3aaf731..5370849a6d9 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -31,6 +31,8 @@ install_packages() { DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical + DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -qq -y --force-yes upgrade + # Basic packages apt-get --no-install-recommends -q -y --force-yes install rsyslog logrotate cron chkconfig insserv net-tools ifupdown vim-tiny netbase iptables apt-get --no-install-recommends -q -y --force-yes install openssh-server openssl e2fsprogs dhcp3-client tcpdump socat wget