aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-07-23 17:35:24 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-08 11:54:20 +0100
commit3e775cd04b1f5c229c0739c98e4ceda06cb9f06a (patch)
tree74741907a75942a7fcdde3b3684f90d07d67b120
parent98acfe2f55b323e95142825e5276601709514836 (diff)
Use curl instead of wget in Vagrantfile
Use curl instead of wget in Vagrantfile to fetch the install script due to a bug in the default version of wget on Debian Squeeze. Fixes https://github.com/mysociety/alaveteli/issues/1691 > wget debian packages prior to 1.14-1 don't have SNI [1] support so the > webserver don't know which ssl certificate needs to use > > – https://github.com/Hexxeh/rpi-update/issues/65#issuecomment-13332143
-rw-r--r--Vagrantfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Vagrantfile b/Vagrantfile
index d042f107c..96ce23e44 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -101,7 +101,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
# Fetch and run the install script:
- config.vm.provision :shell, :inline => "wget -O install-site.sh https://raw.githubusercontent.com/mysociety/commonlib/master/bin/install-site.sh"
+ config.vm.provision :shell, :inline => "curl -O https://raw.githubusercontent.com/mysociety/commonlib/master/bin/install-site.sh"
config.vm.provision :shell, :inline => "chmod a+rx install-site.sh"
config.vm.provision :shell, :inline => "./install-site.sh " \
"--dev " \