cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [36/50] [abbrv] git commit: updated refs/heads/ui-mixed-zone-management to 7efbcfa
Date Wed, 10 Apr 2013 17:46:16 GMT
CLOUDSTACK-1867: Install vmwaretools while buildling systemvms

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


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

Branch: refs/heads/ui-mixed-zone-management
Commit: 26d772f74054962cf847336d0680eff946647ef9
Parents: 9eaef0e
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Apr 10 16:06:06 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Wed Apr 10 16:06:54 2013 +0530

----------------------------------------------------------------------
 .../definitions/systemvmtemplate/postinstall.sh    |   17 +++++++++++++-
 .../definitions/systemvmtemplate64/postinstall.sh  |   17 +++++++++++++-
 2 files changed, 30 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/26d772f7/tools/appliance/definitions/systemvmtemplate/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh
index 5d529de..bf593b6 100644
--- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh
+++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh
@@ -50,8 +50,6 @@ install_packages() {
   echo "openswan openswan/install_x509_certificate seen true" | debconf-set-selections
   apt-get --no-install-recommends -q -y --force-yes install openswan
 
-  # vmware tools
-  apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
   # xenstore utils
   apt-get --no-install-recommends -q -y --force-yes install xenstore-utils libxenstore3.0
   # keepalived and conntrackd for redundant router
@@ -64,6 +62,21 @@ install_packages() {
   echo "iptables-persistent iptables-persistent/autosave_v4 boolean true" | debconf-set-selections
   echo "iptables-persistent iptables-persistent/autosave_v6 boolean true" | debconf-set-selections
   apt-get --no-install-recommends -q -y --force-yes install iptables-persistent
+
+  # vmware tools
+  # uncomment for opensource vmware tool:
+  #   apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
+  apt-get --no-install-recommends -q -y --force-yes install build-essential gcc linux-headers-`uname
-r`
+  PREVDIR=$PWD
+  cd /opt
+  wget http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
+  tar xzf VMwareTools-9.2.1-818201.tar.gz
+  rm VMwareTools-*.tar.gz
+  cd vmware-tools-distrib
+  ./vmware-install.pl -d
+  cd $PREV
+  rm -fr /opt/vmware-tools-distrib
+  apt-get -q -y --force-yes purge build-essential gcc
 }
 
 setup_accounts() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/26d772f7/tools/appliance/definitions/systemvmtemplate64/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate64/postinstall.sh b/tools/appliance/definitions/systemvmtemplate64/postinstall.sh
index 5d529de..bf593b6 100644
--- a/tools/appliance/definitions/systemvmtemplate64/postinstall.sh
+++ b/tools/appliance/definitions/systemvmtemplate64/postinstall.sh
@@ -50,8 +50,6 @@ install_packages() {
   echo "openswan openswan/install_x509_certificate seen true" | debconf-set-selections
   apt-get --no-install-recommends -q -y --force-yes install openswan
 
-  # vmware tools
-  apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
   # xenstore utils
   apt-get --no-install-recommends -q -y --force-yes install xenstore-utils libxenstore3.0
   # keepalived and conntrackd for redundant router
@@ -64,6 +62,21 @@ install_packages() {
   echo "iptables-persistent iptables-persistent/autosave_v4 boolean true" | debconf-set-selections
   echo "iptables-persistent iptables-persistent/autosave_v6 boolean true" | debconf-set-selections
   apt-get --no-install-recommends -q -y --force-yes install iptables-persistent
+
+  # vmware tools
+  # uncomment for opensource vmware tool:
+  #   apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
+  apt-get --no-install-recommends -q -y --force-yes install build-essential gcc linux-headers-`uname
-r`
+  PREVDIR=$PWD
+  cd /opt
+  wget http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
+  tar xzf VMwareTools-9.2.1-818201.tar.gz
+  rm VMwareTools-*.tar.gz
+  cd vmware-tools-distrib
+  ./vmware-install.pl -d
+  cd $PREV
+  rm -fr /opt/vmware-tools-distrib
+  apt-get -q -y --force-yes purge build-essential gcc
 }
 
 setup_accounts() {


Mime
View raw message