aboutsummaryrefslogtreecommitdiffstats
path: root/containers/vagrant/provisioners/shell/debian.sh
diff options
context:
space:
mode:
authorKoustubh Sinkar <ksinkar@users.noreply.github.com>2017-05-13 07:59:03 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-05-13 07:59:03 +0800
commitdf4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6 (patch)
tree116365d35e6e2574ba5b8b922b7c2d13ab04e187 /containers/vagrant/provisioners/shell/debian.sh
parent7c707d14d16220d9b73af3a4dcd437afb5a10673 (diff)
downloaddexon-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar.gz
dexon-df4e7eccf5b6d59573ba1ebde5ef04b2ef68cef6.tar.zst
dexon-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/debian.sh')
-rwxr-xr-xcontainers/vagrant/provisioners/shell/debian.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/containers/vagrant/provisioners/shell/debian.sh b/containers/vagrant/provisioners/shell/debian.sh
new file mode 100755
index 000000000..1c1793336
--- /dev/null
+++ b/containers/vagrant/provisioners/shell/debian.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+sudo apt-get install -y build-essential git-all wget
+sudo apt-get update
+
+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