diff options
author | Koustubh Sinkar <ksinkar@users.noreply.github.com> | 2017-05-13 07:59:03 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-05-13 07:59:03 +0800 |
commit | df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6 (patch) | |
tree | 116365d35e6e2574ba5b8b922b7c2d13ab04e187 /containers/vagrant/provisioners/shell/centos.sh | |
parent | 7c707d14d16220d9b73af3a4dcd437afb5a10673 (diff) | |
download | go-tangerine-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar go-tangerine-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar.gz go-tangerine-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar.bz2 go-tangerine-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar.lz go-tangerine-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar.xz go-tangerine-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar.zst go-tangerine-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.zip |
containers/vagrant: add support for CentOS (#14380)
CentOS has been added as a multi-machine option to the Vagrant script.
Ubuntu is still the default option. For starting the CentOS machine, use:
vagrant up centos
Diffstat (limited to 'containers/vagrant/provisioners/shell/centos.sh')
-rwxr-xr-x | containers/vagrant/provisioners/shell/centos.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/containers/vagrant/provisioners/shell/centos.sh b/containers/vagrant/provisioners/shell/centos.sh new file mode 100755 index 000000000..744da4bfd --- /dev/null +++ b/containers/vagrant/provisioners/shell/centos.sh @@ -0,0 +1,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 |