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

This commit is contained in:
Chiradeep Vittal 2013-05-10 17:11:12 -07:00
parent 7ca488334f
commit 074901365f
2 changed files with 12 additions and 4 deletions

View File

@ -37,8 +37,7 @@ install_packages() {
apt-get --no-install-recommends -q -y --force-yes install sysstat
# apache
apt-get --no-install-recommends -q -y --force-yes install apache2 ssl-cert
# haproxy
apt-get --no-install-recommends -q -y --force-yes install haproxy
# dnsmasq
apt-get --no-install-recommends -q -y --force-yes install dnsmasq dnsmasq-utils
# nfs client
@ -78,6 +77,11 @@ install_packages() {
# cd $PREV
# rm -fr /opt/vmware-tools-distrib
# apt-get -q -y --force-yes purge build-essential
# haproxy. Wheezy doesn't have haproxy, install from backports
#apt-get --no-install-recommends -q -y --force-yes install haproxy
wget http://ftp.us.debian.org/debian/pool/main/h/haproxy/haproxy_1.4.8-1_i386.deb
dpkg -i haproxy_1.4.8-1_i386.deb
}
setup_accounts() {

View File

@ -37,8 +37,7 @@ install_packages() {
apt-get --no-install-recommends -q -y --force-yes install sysstat
# apache
apt-get --no-install-recommends -q -y --force-yes install apache2 ssl-cert
# haproxy
apt-get --no-install-recommends -q -y --force-yes install haproxy
# dnsmasq
apt-get --no-install-recommends -q -y --force-yes install dnsmasq dnsmasq-utils
# nfs client
@ -78,6 +77,11 @@ install_packages() {
# cd $PREV
# rm -fr /opt/vmware-tools-distrib
# apt-get -q -y --force-yes purge build-essential
# haproxy. Wheezy doesn't have haproxy temporarily, install from backports
#apt-get --no-install-recommends -q -y --force-yes install haproxy
wget http://ftp.us.debian.org/debian/pool/main/h/haproxy/haproxy_1.4.8-1_amd64.deb
dpkg -i haproxy_1.4.8-1_amd64.deb
}
setup_accounts() {