From 63f51bda940da6fa9eb092ed17d0dc6c765bb05c Mon Sep 17 00:00:00 2001 From: James Phillips Date: Mon, 23 Nov 2015 10:46:14 -0800 Subject: [PATCH] Switches to curl with certificate checking. --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 91e5760bd..481dd4a82 100755 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,11 +14,11 @@ ARCH=`uname -m | sed 's|i686|386|' | sed 's|x86_64|amd64|'` # Install Go 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 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 sudo mv go $SRCROOT sudo chmod 775 $SRCROOT