You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ja...@apache.org on 2014/09/30 14:05:15 UTC

git commit: updated refs/heads/4.3 to be37378

Repository: cloudstack
Updated Branches:
  refs/heads/4.3 08cb7ef7f -> be3737824


CLOUDSTACK-7658: Upgrading debian packages as part of system vm template build

Signed-off-by: Jayapal <ja...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/be373782
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/be373782
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/be373782

Branch: refs/heads/4.3
Commit: be3737824248932a2df9604c03a6b34118da33b5
Parents: 08cb7ef
Author: Harikrishna Patnala <ha...@citrix.com>
Authored: Tue Sep 30 17:03:22 2014 +0530
Committer: Jayapal <ja...@apache.org>
Committed: Tue Sep 30 17:34:30 2014 +0530

----------------------------------------------------------------------
 tools/appliance/definitions/systemvm64template/postinstall.sh | 2 ++
 tools/appliance/definitions/systemvmtemplate/postinstall.sh   | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/be373782/tools/appliance/definitions/systemvm64template/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh
index 80cedc0..2ba4f36 100644
--- a/tools/appliance/definitions/systemvm64template/postinstall.sh
+++ b/tools/appliance/definitions/systemvm64template/postinstall.sh
@@ -33,6 +33,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 -qq -y --force-yes install openssh-server openssl e2fsprogs dhcp3-client tcpdump socat wget

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/be373782/tools/appliance/definitions/systemvmtemplate/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh
index 81d4f86..96059fd 100644
--- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh
+++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh
@@ -32,6 +32,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