You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/04/10 12:14:52 UTC

[2/3] git commit: updated refs/heads/4.5 to bf3a0d6

systemvmtemplate: fix guest driver/tool installation

- VMWare tools not needed since we're install open-vm-tools also recommended by VMWare:
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2073803

- Installing XStools 6.5

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


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

Branch: refs/heads/4.5
Commit: 5d458e8fb752bcdb783d9407bdf79e5eb6d3064f
Parents: be26b91
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Fri Apr 10 15:31:27 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Fri Apr 10 15:34:57 2015 +0530

----------------------------------------------------------------------
 .../systemvm64template/postinstall.sh           | 27 ++++++++------------
 1 file changed, 10 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d458e8f/tools/appliance/definitions/systemvm64template/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh
index 8cffdaa..b4b7f7b 100644
--- a/tools/appliance/definitions/systemvm64template/postinstall.sh
+++ b/tools/appliance/definitions/systemvm64template/postinstall.sh
@@ -75,30 +75,23 @@ 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
-  
+
   # Hyperv  kvp daemon - 64bit only
-  # Download the hv kvp daemon 
+  # Download the hv kvp daemon
   wget http://people.apache.org/~rajeshbattala/hv-kvp-daemon_3.1_amd64.deb
   dpkg -i hv-kvp-daemon_3.1_amd64.deb
+  rm -f hv-kvp-daemon_3.1_amd64.deb
 
-  #libraries required for rdp client (Hyper-V) 
+  # Libraries required for rdp client (Hyper-V)
   apt-get --no-install-recommends -q -y --force-yes install libtcnative-1 libssl-dev libapr1-dev
 
   # vmware tools
-  apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
-  # commented installaion of vmware-tools  as we are using the opensource open-vm-tools:
-  # apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
-  # df -h
-  # 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
+  apt-get --no-install-recommends -q -y --force-yes -t wheezy-backports install open-vm-tools
+
+  # xs tools
+  wget https://raw.githubusercontent.com/bhaisaab/cloudstack-nonoss/master/xe-guest-utilities_6.5.0_amd64.deb
+  dpkg -i xe-guest-utilities_6.5.0_amd64.deb
+  rm -f xe-guest-utilities_6.5.0_amd64.deb
 
   apt-get --no-install-recommends -q -y --force-yes install haproxy