Merge pull request #1445 from hashicorp/f-check-cert

Switches to curl with certificate checking.
This commit is contained in:
James Phillips 2015-11-23 10:50:54 -08:00
commit 12845f0a1e
1 changed files with 2 additions and 2 deletions

4
Vagrantfile vendored
View File

@ -14,11 +14,11 @@ ARCH=`uname -m | sed 's|i686|386|' | sed 's|x86_64|amd64|'`
# Install Go # Install Go
sudo apt-get update sudo apt-get update
sudo apt-get install -y build-essential git-core zip sudo apt-get install -y build-essential git-core zip curl
# Install Go # Install Go
cd /tmp cd /tmp
wget --quiet --no-check-certificate https://storage.googleapis.com/golang/go${GOVERSION}.linux-${ARCH}.tar.gz curl -s -O https://storage.googleapis.com/golang/go${GOVERSION}.linux-${ARCH}.tar.gz
tar -xvf go${GOVERSION}.linux-${ARCH}.tar.gz tar -xvf go${GOVERSION}.linux-${ARCH}.tar.gz
sudo mv go $SRCROOT sudo mv go $SRCROOT
sudo chmod 775 $SRCROOT sudo chmod 775 $SRCROOT