Skip to content

Commit d8eb2e5

Browse files
committed
systemvmtemplate: install open-vm-tools from wheezy-backports, install XStools
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 770297e commit d8eb2e5

1 file changed

Lines changed: 7 additions & 17 deletions

File tree

tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,38 +70,28 @@ function install_packages() {
7070
openjdk-7-jre-headless \
7171
iptables-persistent \
7272
libtcnative-1 libssl-dev libapr1-dev \
73-
open-vm-tools \
7473
python-flask \
7574
haproxy \
7675
radvd \
7776
sharutils
7877

79-
${apt_get} -t wheezy-backports install irqbalance
78+
${apt_get} -t wheezy-backports install irqbalance open-vm-tools
8079

8180
# hold on installed openswan version, upgrade rest of the packages (if any)
8281
apt-mark hold openswan
8382
apt-get update
8483
apt-get -y --force-yes upgrade
8584

86-
# commented out installation of vmware-tools as we are using the open source open-vm-tools:
87-
# ${apt_get} install build-essential linux-headers-`uname -r`
88-
# df -h
89-
# PREVDIR=$PWD
90-
# cd /opt
91-
# wget http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
92-
# tar xzf VMwareTools-9.2.1-818201.tar.gz
93-
# rm VMwareTools-*.tar.gz
94-
# cd vmware-tools-distrib
95-
# ./vmware-install.pl -d
96-
# cd $PREV
97-
# rm -fr /opt/vmware-tools-distrib
98-
# apt-get -q -y --force-yes purge build-essential
99-
100-
# Hyperv kvp daemon - 64bit only
10185
if [ "${arch}" == "amd64" ]; then
86+
# Hyperv kvp daemon - 64bit only
10287
# Download the hv kvp daemon
10388
wget http://people.apache.org/~rajeshbattala/hv-kvp-daemon_3.1_amd64.deb
10489
dpkg -i hv-kvp-daemon_3.1_amd64.deb
90+
rm -f hv-kvp-daemon_3.1_amd64.deb
91+
# XS tools
92+
wget https://raw.githubusercontent.com/bhaisaab/cloudstack-nonoss/master/xe-guest-utilities_6.5.0_amd64.deb
93+
dpkg -i xe-guest-utilities_6.5.0_amd64.deb
94+
rm -f xe-guest-utilities_6.5.0_amd64.deb
10595
fi
10696
}
10797

0 commit comments

Comments
 (0)