Skip to content

Commit 0749013

Browse files
committed
CLOUDSTACK-2324 Since wheezy (temporarily) does not have haproxy, install from squeeze. We cannot install from sid since that version depends on libc6(>=2.15) while wheezy has libc6 at 2.13-38
1 parent 7ca4883 commit 0749013

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

tools/appliance/definitions/systemvmtemplate/postinstall.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ install_packages() {
3737
apt-get --no-install-recommends -q -y --force-yes install sysstat
3838
# apache
3939
apt-get --no-install-recommends -q -y --force-yes install apache2 ssl-cert
40-
# haproxy
41-
apt-get --no-install-recommends -q -y --force-yes install haproxy
40+
4241
# dnsmasq
4342
apt-get --no-install-recommends -q -y --force-yes install dnsmasq dnsmasq-utils
4443
# nfs client
@@ -78,6 +77,11 @@ install_packages() {
7877
# cd $PREV
7978
# rm -fr /opt/vmware-tools-distrib
8079
# apt-get -q -y --force-yes purge build-essential
80+
81+
# haproxy. Wheezy doesn't have haproxy, install from backports
82+
#apt-get --no-install-recommends -q -y --force-yes install haproxy
83+
wget http://ftp.us.debian.org/debian/pool/main/h/haproxy/haproxy_1.4.8-1_i386.deb
84+
dpkg -i haproxy_1.4.8-1_i386.deb
8185
}
8286

8387
setup_accounts() {

tools/appliance/definitions/systemvmtemplate64/postinstall.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ install_packages() {
3737
apt-get --no-install-recommends -q -y --force-yes install sysstat
3838
# apache
3939
apt-get --no-install-recommends -q -y --force-yes install apache2 ssl-cert
40-
# haproxy
41-
apt-get --no-install-recommends -q -y --force-yes install haproxy
40+
4241
# dnsmasq
4342
apt-get --no-install-recommends -q -y --force-yes install dnsmasq dnsmasq-utils
4443
# nfs client
@@ -78,6 +77,11 @@ install_packages() {
7877
# cd $PREV
7978
# rm -fr /opt/vmware-tools-distrib
8079
# apt-get -q -y --force-yes purge build-essential
80+
81+
# haproxy. Wheezy doesn't have haproxy temporarily, install from backports
82+
#apt-get --no-install-recommends -q -y --force-yes install haproxy
83+
wget http://ftp.us.debian.org/debian/pool/main/h/haproxy/haproxy_1.4.8-1_amd64.deb
84+
dpkg -i haproxy_1.4.8-1_amd64.deb
8185
}
8286

8387
setup_accounts() {

0 commit comments

Comments
 (0)