aboutsummaryrefslogtreecommitdiffstats
path: root/containers/vagrant/provisioners/shell/centos.sh
blob: 744da4bfd4a13eaf43ec74637c9dd9e50ea6959a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

sudo yum install -y git wget
sudo yum update -y

wget --continue https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.8.1.linux-amd64.tar.gz

GETH_PATH="~vagrant/go/src/github.com/ethereum/go-ethereum/build/bin/"

echo "export PATH=$PATH:/usr/local/go/bin:$GETH_PATH" >> ~vagrant/.bashrc